# LoadingView **Repository Path**: HarmonyOS-tpc/LoadingView ## Basic Information - **Project Name**: LoadingView - **Description**: a simple loadingview for openharmony with animation 简单的带有动画效果的加载控件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 1 - **Created**: 2021-04-01 - **Last Updated**: 2024-11-22 ## Categories & Tags **Categories**: harmonyos-loading **Tags**: None ## README # LoadingView a simple loadingview for openharmony with animation 简单的带有动画效果的加载控件 ## ScreenShot |Id| Picture | Name | Method | |---|---|---|---| 1|![1](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/1.png) | LVCircularCD | setViewColor(int color)
startAnim(int time)
stopAnim() 2|![2](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/2.png) | LVCircularRing | setViewColor(int color)
setBarColor(int color)
startAnim(int time)
stopAnim() 3|![3](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/3.png) | LVCircular | setViewColor(int color)
setRoundColor(int color)
startAnim(int time)
stopAnim() 4|![4](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/4.png) | LVFinePoiStar | setViewColor(int color)
setCircleColor(int color)
startAnim(int time)
stopAnim()
setDrawPath(boolean isDrawPath) 5|![5](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/5.png) | LVCircularSmile | setViewColor(int color)
startAnim(int time)
stopAnim() 6|![6](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/6.png) | LVGears | setViewColor(int color)
startAnim(int time)
stopAnim() 7|![7](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/7.png) | LVGearsTwo | setViewColor(int color)
startAnim(int time)
stopAnim() 8|![8](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/8.png) | LVWifi | setViewColor(int color)
startAnim(int time)
stopAnim() 9|![9](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/9.png) | LVCircularJump | setViewColor(int color)
startAnim(int time)
stopAnim() 10|![10](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/10.png) | LVCircularZoom | setViewColor(int color)
startAnim(int time)
stopAnim() 11|![11](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/11.png) | LVPlayBall | setViewColor(int color)
setBallColor(int color)
startAnim(int time)
stopAnim() 12|![12](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/12.png) | LVNews | setViewColor(int color)
startAnim(int time)
stopAnim() 13|![13](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/13.png) | LVLineWithText | setViewColor(int color)
setTextColor(int color)
setValue(int value)//0-100 14|![14](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/14.png) | LVEatBeans | setViewColor(int color)
setEyeColor(int color)
startAnim(int time)
stopAnim() 15|![15](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/15.png) | LVChromeLogo | startAnim(int time)
stopAnim() 16|![16](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/16.png) | LVRingProgress | setViewColor(int color)
setTextColor(int color)
setPorBarStartColor(int color)
setPorBarEndColor(int color)
startAnim(int time)
stopAnim() 17|![17](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/17.png) | LVBlock | setViewColor(int color)
isShadow(boolean boolean show)
setShadowColor(int color)
startAnim(int time)
stopAnim() 18|![18](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/18.png) | LVFunnyBar | setViewColor(int color)
startAnim(int time)
stopAnim() 19|![19](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/19.png) | LVGhost | setViewColor(int color)
setHandColor(int color)
startAnim(int time)
stopAnim() 20|![20](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/20.png) | LVBlazeWood | startAnim(int time)
stopAnim() 21|![21](https://gitee.com/HarmonyOS-tpc/LoadingView/raw/master/screen/21.png) | LVBattery | setViewColor(int color)
setCellColor(int color)
setShowNum(boolean show)
setValue(int value)//0-100
startAnim(int time)
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.