• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps [Lib] RippleDecoratorView - Configurable Ripple and Highlight effect backwards compatible with up to

RippleDecoratorView is a widget library with a view used to wrap any of your layouts. It allows you, for any touch, to add animations effects such as: ripple stroke, ripple fill, highlight, and zoom. These animations come with a configurable fade-in, fade-out timeline.

It does not capture touches, so you can pepper it safely though your XML layout files.

It comes with an example project and is already available at Maven Central.

PtHceGT.gif


Github Repository: https://github.com/thomsonreuters/RippleDecoratorView

And if you want a q&d introduction, just add to your dependencies

Code:
compile 'com.thomsonreuters:rippledecoratorview:+'

and wrap any of your views with

Code:
<com.thomsonreuters.rippledecoratorview.RippleDecoratorView
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

</com.thomsonreuters.rippledecoratorview.RippleDecoratorView>
 
Last edited:
Back
Top Bottom