Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhangyuChen1991/OverWatchLoading
守望先锋的加载动画
https://github.com/zhangyuChen1991/OverWatchLoading
Last synced: 3 months ago
JSON representation
守望先锋的加载动画
- Host: GitHub
- URL: https://github.com/zhangyuChen1991/OverWatchLoading
- Owner: zhangyuChen1991
- License: apache-2.0
- Created: 2016-11-28T01:28:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-22T09:26:12.000Z (almost 7 years ago)
- Last Synced: 2024-06-16T01:33:06.224Z (5 months ago)
- Language: Java
- Homepage:
- Size: 109 KB
- Stars: 321
- Watchers: 10
- Forks: 54
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-android-ui - OverWatchLoading - 守望先锋的加载动画效果 (进度条)
- awesome-overwatch - OverWatchLoading - Overwatch Loading Animation. (Community / Github)
README
###OWLoading
---
>**OverWatchLoading,模仿守望先锋的加载动画效果****效果**
守望先锋效果:
![image](https://github.com/zhangyuChen1991/some_sources/blob/master/ow_show_1.gif)
demo效果:
![image](https://github.com/zhangyuChen1991/some_sources/blob/master/ow_loading_show_img1.gif)
**使用**
>这个小项目已经将loading浓缩成一个自定义view:OWLoadingView,只需要在需要的布局中正常引用指定宽高即可。
你可以下载这个项目,将该自定义view直接拷贝到你的项目中使用。**API**
>* startAnim() 开始动画;
>* stopAnim() 中止动画;
>* setColor(int color) 设置填充的颜色;
>* setAutoStartAnim(boolean autoStartAnim) 设置是否自动开启动画;**相关原理解析**
>效果实现的流程及原理分析请参考[这里](http://blog.csdn.net/chen_zhang_yu/article/details/53396801)