# LoadingView
a simple loadingview for openharmony with animation
简单的带有动画效果的加载控件
## ScreenShot
<img src="https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/screen.gif" width="40%"/>
|Id| Picture | Name | Method |
|---|---|---|---|
1|![1](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/1.png) | LVCircularCD | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
2|![2](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/2.png) | LVCircularRing | setViewColor(int color)<br>setBarColor(int color)<br>startAnim(int time)<br>stopAnim()
3|![3](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/3.png) | LVCircular | setViewColor(int color)<br>setRoundColor(int color)<br>startAnim(int time)<br>stopAnim()
4|![4](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/4.png) | LVFinePoiStar | setViewColor(int color)<br>setCircleColor(int color)<br>startAnim(int time)<br>stopAnim()<br>setDrawPath(boolean isDrawPath)
5|![5](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/5.png) | LVCircularSmile | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
6|![6](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/6.png) | LVGears | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
7|![7](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/7.png) | LVGearsTwo | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
8|![8](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/8.png) | LVWifi | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
9|![9](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/9.png) | LVCircularJump | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
10|![10](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/10.png) | LVCircularZoom | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
11|![11](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/11.png) | LVPlayBall | setViewColor(int color)<br>setBallColor(int color)<br>startAnim(int time)<br>stopAnim()
12|![12](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/12.png) | LVNews | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
13|![13](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/13.png) | LVLineWithText | setViewColor(int color)<br>setTextColor(int color)<br>setValue(int value)//0-100
14|![14](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/14.png) | LVEatBeans | setViewColor(int color)<br>setEyeColor(int color)<br>startAnim(int time)<br>stopAnim()
15|![15](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/15.png) | LVChromeLogo | startAnim(int time)<br>stopAnim()
16|![16](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/16.png) | LVRingProgress | setViewColor(int color)<br>setTextColor(int color)<br>setPorBarStartColor(int color)<br>setPorBarEndColor(int color)<br>startAnim(int time)<br>stopAnim()
17|![17](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/17.png) | LVBlock | setViewColor(int color)<br>isShadow(boolean boolean show)<br>setShadowColor(int color)<br>startAnim(int time)<br>stopAnim()
18|![18](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/18.png) | LVFunnyBar | setViewColor(int color)<br>startAnim(int time)<br>stopAnim()
19|![19](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/19.png) | LVGhost | setViewColor(int color)<br>setHandColor(int color)<br>startAnim(int time)<br>stopAnim()
20|![20](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/20.png) | LVBlazeWood | startAnim(int time)<br>stopAnim()
21|![21](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/21.png) | LVBattery | setViewColor(int color)<br>setCellColor(int color)<br>setShowNum(boolean show)<br>setValue(int value)//0-100<br>startAnim(int time)<br>stopAnim()
## 依赖
```
allprojects{
repositories{
mavenCentral()
}
}
implementation 'io.openharmony.tpc.thirdlib:LoadingView:1.0.1'
```
## entry运行要求
通过DevEco studio,并下载SDK
将项目中的build.gradle文件中dependencies→classpath版本改为对应的版本(即你的IDE新建项目中所用的版本)
License
=======
The MIT License (MIT)
Copyright (c) 2016 ldoublem
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.