George Yang George Yang - 1 year ago 90
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download