This effect cannot be used below 5.0
Of course, the great god who can change the frame work may be able to
Solution 1:
Create 2 sets, use ripple for v21, and selector for the old version (but the effect cannot be faked)
Solution 2:
Use the open source library of github, pay attention to find more stars, it is best to copy his source code directly, do not import gradle
If you want to make your own, you can read https://blog.csdn.net/singwhatiwanna/article/details/42614953
As for using solution 1 or 2, it depends on the product requirements
Water ripple effect map