I am trying to understand how to implement the \"Ripple Effect - Touch Feedback\" for buttons and other views. I looked at the questions related to Ripple touch effect on SO
UPDATE Material Components:
With the Material Components Library it is very easy to apply a ripple. Just use the MaterialButton and the app:rippleColor attribute:
app:rippleColor
With a selector like this:
Old answer You can do something like this:
Where the ripple.xml is: