George Yang George Yang - 10 months ago 69
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 Source

You are looking for app:rippleColor.