For Lollipop, ripple color can simply be modified using colorControlHighlight
. But for pre-Lollipop (< API21), how can I change the color of pressed state achieved by setting the background to ?attr/selectableItemBackground
You can simply use this:
<item name="colorControlHighlight">@color/yourColor</item>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With