I have a ripple working with a custom color. However, the color is never fully opaque. According to the answers from What should be the color of the Ripple, colorPrimary or colo
You can simply put alpha value for bounded ripple.
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:attr/colorAccent">
<item android:id="@android:id/mask">
<color android:color="#42ffffff" />
</item>
</ripple>
for unbounded ripple You can set opacity from color if you know your accent color
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/accent_26" />
colors.xml
<resources>
...
<color name="accent">#ff33b5e5</color>
<color name="accent_alpha26">#4233b5e5</color>
</resources>