I am using Floating Action Button and I want to change the background color.
Here is my code
You can remove problematic shadow by adding this attributes to your FloatingActionButton
:
app:borderWidth="0dp"
app:elevation="6dp"
There is no background color for FloatingActionButton
. You change this component color by:
app:backgroundTint="@color/YOURCOLOR"
Remember to have in your parent layout following line:
xmlns:app="http://schemas.android.com/apk/res-auto"