Floating Action Button (Android)

<com.google.android.material.floatingactionbutton.FloatingActionButton
    android:id="@+id/fab1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="end|bottom"
    android:layout_margin="16dp"
    android:contentDescription="Add"
    android:src="@drawable/ic_add_circle_outline_black_24dp"
    app:backgroundTint="@color/colorPrimary"
    app:fabSize="auto"
    app:maxImageSize="56dp"/>

src: https://stackoverflow.com/questions/27484126/adjust-icon-size-of-floating-action-button-fab

Add a Comment

Your email address will not be published. Required fields are marked *