How to remove FloatingActionButton's surrounding shadow?
Override the default elevation of the FAB by adding:
android:elevation="0dp"
Or in code call View.setElevation(float)
Add this
android:elevation="0dp"
app:elevation="0dp"
It's will be like :
<android.support.design.widget.FloatingActionButton
android:id="@+id/floatingActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_add"
android:elevation="0dp"
app:elevation="0dp"
app:fabSize="normal"
android:scaleType="fitCenter"/>
Override the default elevation of the FAB by adding the following:
app:elevation="0dp"