- Forum posts: 3
Jun 26, 2015, 6:04:48 PM via Website
Jun 26, 2015 6:04:48 PM via Website
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.
Github Repository: github.com/thomsonreuters/RippleDecoratorView
And if you want a q&d introduction, just add to your dependencies
compile 'com.thomsonreuters:rippledecoratorview:+'
and wrap any of your views with
<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>
If you feel the library can be extended or you find any bugs, do not hesitate to fill in a request or branch and PR your changes.