balysv / material-ripple

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

Fixed default values and alpha builder #54

Closed IvBaranov closed 7 years ago

IvBaranov commented 8 years ago

Fixed setting default values when initializing RippleLayout without specifying alpha value. It was rounded to zero by casting to int. Fixed setting alpha value as float. It was multiplied by 255 accidentally.

balysv commented 7 years ago

Thanks for you help!