android image button

You just use an ImageButton and make the background whatever you want and set the icon as the src.

<ImageButton
    android:id="@+id/ImageButton01"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:src="https://stackoverflow.com/questions/2283444/@drawable/album_icon"
    android:background="@drawable/round_button" />

enter image description here

Leave a Comment