I am using Floating Action Button and I want to change the background color.
Here is my code
Please update your android support and android material design libraries in build.gradle.
(Add please your build.gradle file above)
According to these sites:
and Android Developers reference you should use only:
android:backgroundTint="@color/white"
As I remember, this shadow is well-know problem for Floating action buttons, so please take a look at these additional libraries:
http://android-arsenal.com/tag/173
which may help you to replace this broken element.
Check also:
Hope it help.