A beautiful ripple animation for your app
A beautiful ripple animation for your app
A beautiful ripple animation for your app. You can easily change its color, speed of wave, one ripple or multiple ripples. See demo below.
##Usage
###Step 1
####Install with Gradle
dependencies {
compile 'com.skyfishjy.ripplebackground:library:1.0.1'
}###Step 2 ####RippleBackground
Add RippleBackground to your layout with content you want, like an ImageView. Configure the view customization elements using styleable attributes.
…Start animation:
final RippleBackground rippleBackground=(RippleBackground)findViewById(R.id.content);
ImageView imageView=(ImageView)findViewById(R.id.centerImage);
imageView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
rippleBackground.startRippleAnimation();
}
});Stop animation:
rippleBackground.stopRippleAnimation();##Theming
No open issues yet, or sync has not completed.