RippleEffect icon indicating copy to clipboard operation
RippleEffect copied to clipboard

Implementation of Ripple effect from Material Design for Android API 9+

Results 54 RippleEffect issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/17552960/176094850-a21f8b5c-d31b-4340-a35a-a86b86ed6378.png) https://user-images.githubusercontent.com/17552960/176094775-0d0348c7-ffc9-4087-9171-a984626ab49b.mp4 ![image](https://user-images.githubusercontent.com/17552960/176094890-6637b652-2e9e-47d2-9f5f-4aa7ae3a84fe.png)

It's not working on apps having API level 30 or above

As "compile" is going to be deprecated end-2018, this PR replaces with "implementation" that is the new usage.

----setRippleColor & getRippleColor The param rippleColor has different meaning.

how instead of a rectangle to set another area of the circle type

这样的场景, 有时比较卡, 波纹动画时间就变得很长,这样导致点击进入另外一个activity,再返回原界面,还会继续上次的动画

java.lang.IllegalStateException: Underflow in restore - more restores than saves at android.graphics.Canvas.native_restore(Native Method) at android.graphics.Canvas.restore(Canvas.java:540) at com.andexert.library.RippleView.draw(RippleView.java:166) ``` ```

I've added a ripple effect to a view. a new activity will be started onClick. But when I come back to the previous activity(previous view) the ripple effect will finish...

Just upgraded to 28 and am now seeing this issue, it seems like the library controls both ripples

机型:小米4c 系统版本 7.0 java.lang.IllegalStateException: Underflow in restore - more restores than saves at android.graphics.Canvas.native_restore(Native Method) at android.graphics.Canvas.restore(Canvas.java:522) at com.andexert.library.RippleView.draw(RippleView.java:166) at android.view.View.updateDisplayListIfDirty(View.java:16078) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3750) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3730) at android.view.View.updateDisplayListIfDirty(View.java:16041) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3750) at...