Make A Button's Background Transparent
I am very new to Android Studio and creating apps in general. I have created an Image Button and uploaded an Image, problem is that I want to make the background of the Button tran
Solution 1:
Just put this property inside ImageButton
tag:
android:background="@android:color/transparent"
----------OR--------------
You can also user vector image for this:
Solution 2:
Try This
<ImageButton
android:layout_width="wrap_content"
android:background="@android:color/transparent"
android:src="@drawable/image"
android:layout_height="wrap_content" />
Post a Comment for "Make A Button's Background Transparent"