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" />