George Yang George Yang - 8 days ago 8
Android Question

Is there a way to set the ripple color for a Floating Action Button through XML Attributes?

I see that there is a setRippleColor method but I was wondering if I could avoid changing the color of the Floating Action Button programatically. Thanks for any help!

Answer

You are looking for app:rippleColor.