balysv / material-ripple

Android L Ripple effect wrapper for Views
Apache License 2.0
2.36k stars 479 forks source link

Is it possible to generate ripple effect on circular button ? #46

Open jagatappv opened 9 years ago

jagatappv commented 9 years ago

Hey I am using this library, Its a working fine and easy to integrate for users.

I want to perform this effect on circular button. Right now the effect is in square box, How can i do that in circular manner?

Here i am giving the link that i want, http://trickyandroid.com/simple-ripple-reveal-elevation-tutorial/

Can we give that effect on pre lollipop devices?

If you have solution then please post it.

Thanks

opiumfive commented 7 years ago

MaterialRippleLayout.on(v) .rippleColor(App.RIPPLE_COLOR) .rippleAlpha(0.5f) .rippleHover(true) .rippleOverlay(true) .rippleRoundedCorners(25) .create();