Square button with an image on top.
// CardView is required.
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.oakraw:hs-button:0.1.1'
<com.oakraw.HSButton
android:id="@+id/button"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:src="@mipmap/ic_launcher"
android:text="Button"
android:textColor="@color/colorAccent"
android:radius="12dp"/>