I have a floating action button anchored to the bottom right of a coordinator layout. It is 16dp from the margins of the view (the margins are included by default and specif
I had the same issue for two ExtendedFloatingActionButton which were in a horizontal LinearLayout, so the two buttons could go next to one another. The grey shadow only appeared on the bottom two corners on the floating buttons but I had a bottom margin set on the linear layout so wasn't sure why there was clipping.
I realised even though I had added android:clipChildren="false"
to the LinearLayout my code was wrapped in a ConstraintLayout which meant the buttons were still be cut off.
To solve this issue just add android:clipChildren="false"
to the parent, which in my case was the ConstraintLayout.
Example of my code: