GeezerVison is showing github.com — GitHub - wuyr/RippleAnimation: 仿酷安客户端的主题切换动画效果
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
implementation 'com.wuyr:rippleanimation:1.0.0'
| Method |
Description |
| create(View onClickView) |
创建动画对象(静态方法) |
| setDuration(long duration) |
设置动画时长 |
| setOnAnimationEndListener(Listener listener) |
动画播放完毕监听器 |
| start() |
开始播放动画 |
public void onClick(View view) {
RippleAnimation.create(view).setDuration(duration).start();
//在这里切换你的主题
}
效果图: (左边:酷安, 右边:RippleAnimation)
注意: RippleAnimation本身不提供主题切换, 只负责动画.


About
仿酷安客户端的主题切换动画效果
Resources
Stars
385 stars
Watchers
6 watching
Forks