caipivara
7/16/2016 - 2:36 PM

How to fix weird FAB bottom margins for all android versions.

How to fix weird FAB bottom margins for all android versions.

<android.support.design.widget.FloatingActionButton
     android:id="@+id/fab"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:layout_gravity="bottom|right"
     app:fabSize="normal"
     app:layout_anchor="@+id/recyclerView"
     app:layout_anchorGravity="bottom|end"
     app:srcCompat="@drawable/ic_add_white_18dp"
     app:useCompatPadding="true"                /// <------------------------------ This one here :)
     /\>