I have implemented a ripple effect in android. Using the following code:-
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="#ff00ff00">
<item android:drawable="@android:color/black" />
</ripple>
And set it to the background of a textview
android:background="@drawable/ripple_over_drawable"
But the problem is that the ripple animation is very fast. I want to slow it down.
Use below code for ripple effect;
ripple_over_drawable.xml