-2

I want to use Ripple effect to my app, but i read a review which is only applicable for 5.0 and above. Then how to use ripple library to below 5.0?

Floern
  • 33,559
  • 24
  • 104
  • 119
kabil dev
  • 33
  • 9
  • use Material design library .. – Abhinav singh Nov 16 '15 at 06:05
  • @Destro ripple effect is not available in design library. Try this https://github.com/traex/RippleEffect. kabil dev Please try and search in Google first. – Emil Nov 16 '15 at 06:06
  • Recently i download "Library for Developers" app from google play. They used those effects on below lollipop versions. I need to know how they done. I'm new for this concept. So please post your answer's... – kabil dev Nov 16 '15 at 06:06
  • @Boss i have downloaded that Ripple Effect file. But i don't know how to import this library to my eclipse and use to my app. Please post brief answer... – kabil dev Nov 16 '15 at 06:09
  • You should look deeper in the code. You will understand. Basically `CustomView` is used for that. – activesince93 Nov 16 '15 at 06:09

1 Answers1

0

Easiest way is to use ripple libraries. For example this one. Just copy its dependency to build.gradle of project and then wrap your view that needs ripple effect by this code in xml:

Read its readme file to undrstand better