1

Is there a way to achieve ripple effect in android button in pre Lollipop devices without using 3rd party libraries?

I also need to customize the button color and ripple color. So is this possible through Google support library?

Please note that I don't want to use 3rd party libraries in https://github.com or other similar sites. I just need to know whether this is possible through default android support libraries. Thanks.

thilina Kj
  • 1,300
  • 13
  • 25

1 Answers1

1

You CANNOT achieve ripple effect to versions prior to 21.However you can refer to other libraries to achieve your requirements.Here are some implementations: https://github.com/siriscac/RippleView https://github.com/ozodrukh/RippleDrawable

Akshay
  • 1,161
  • 1
  • 12
  • 33