RippleLayout(github地址)
A simple wave ripple effect!
Screenshot
Depedency ![](https://i-blog.csdnimg.cn/blog_migrate/69ff3dfc0e91186ab70c3c7f71b38350.png)
Add it in your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url "https://jitpack.io" } } }
Add the dependency:
dependencies { compile 'com.github.li-xiaojun:RippleLayout:1.0.0' }
Usage
主要方法:
rippleLayout.setRippleColor(Color.RED); rippleLayout.setRippleInternal(5000); rippleLayout.setRippleCenter(100,200); rippleLayout.setEndRadius(300); rippleLayout.startRipple();