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
You can add clickable as true and background or foreround as ?attr/selectableItemBackground attributes to the view:
clickable
true
background
foreround
?attr/selectableItemBackground
If in case your view already has a background filled with something, you could fill your foreground with selectableItemBackground
foreground
selectableItemBackground