Answers for "how to set icon to a FAB button in android"

1

button with icon android

<!-- ImageView which will used as a button with OnClickListener -->
    <ImageView
        android:id="@+id/imageView"
        android:layout_width="200dp"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        app:srcCompat="@drawable/homeicon" />
Posted by: Guest on June-25-2021

Code answers related to "how to set icon to a FAB button in android"

Browse Popular Code Answers by Language