Here we are going to see how to make a button transparent in Android…
1 | <Button android:background= "@android:color/transparent" |
2 | android:text= "@+id/Button01" |
3 | android:id= "@+id/Button01" |
4 | android:layout_width= "wrap_content" |
5 | android:layout_height= "wrap_content" |
6 | android:textColor= "#ffffff" /> |
By using android:background=”@android:color/transparent” the button background will become transparent