The ripple animation is shown when user presses clickable views.
You can use the same ripple color used by your app assigning the ?android:colorControlHighlight
in your views. You can customize this color by changing the android:colorControlHighlight
attribute in your theme:
This effect color can be changed:
<style name="AppTheme" parent="Theme.AppCompat">
<item name="android:colorControlHighlight">@color/my_color</item>
</style>
Or, if you are using a Material Theme:
<style name="AppTheme" parent="android:Theme.Material.Light">
<item name="android:colorControlHighlight">@color/your_custom_color</item>
</style>