https://github.com/junixapp/ripplelayout
A simple ripple effect!
https://github.com/junixapp/ripplelayout
Last synced: 12 months ago
JSON representation
A simple ripple effect!
- Host: GitHub
- URL: https://github.com/junixapp/ripplelayout
- Owner: junixapp
- Created: 2016-10-06T08:59:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-13T06:09:01.000Z (over 9 years ago)
- Last Synced: 2025-06-22T05:06:35.124Z (12 months ago)
- Language: Java
- Size: 88.9 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RippleLayout
A simple wave ripple effect!
# Screenshot

# Depedency [](https://jitpack.io/#li-xiaojun/RippleLayout)
1. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
2. Add the dependency:
dependencies {
compile 'com.github.li-xiaojun:RippleLayout:1.0.1'
}
# Usage
- 主要方法:
rippleLayout.setRippleColor(Color.RED);
rippleLayout.setRippleInternal(5000);
rippleLayout.setRippleCenter(100,200);
rippleLayout.setEndRadius(300);
rippleLayout.startRipple();