# LoadingAnimation **Repository Path**: necojack/LoadingAnimation ## Basic Information - **Project Name**: LoadingAnimation - **Description**: Android loading animations - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-24 - **Last Updated**: 2024-06-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Android-SpinKit > Android 加载动画(参照[SpinKit](https://github.com/tobiasahlin/SpinKit)写了个android版本) ## 效果 ## Gradle 依赖 2. 添加依赖 ``` gradle dependencies { compile 'com.github.ybq:Android-SpinKit:1.2.0' } ``` ## 使用 - Xml ```xml ``` - ProgressBar ```java ProgressBar progressBar = (ProgressBar)findViewById(R.id.progress); DoubleBounce doubleBounce = new DoubleBounce(); progressBar.setIndeterminateDrawable(doubleBounce); ``` ###样式: 样式 | 预览 ------------ | ------------- RotatingPlane | RotatingPlane DoubleBounce | DoubleBounce Wave | Wave WanderingCubes | WanderingCubes Pulse | Pulse ChasingDots | ChasingDots ThreeBounce | ThreeBounce Circle | Circle CubeGrid | CubeGrid FadingCircle | FadingCircle FoldingCube | FoldingCube RotatingCircle | RotatingCircle ##感谢 - [SpinKit](https://github.com/tobiasahlin/SpinKit).