收藏一个 漂亮的 Android加载中动画AVLoadingIndicatorView



一   添加App build.gradle.

dependencies {
    compile 'com.wang.avi:library:1.0.0'
    compile 'com.nineoldandroids:library:2.4.0'
}

二   布局


     android:layout_width= "wrap_content"
     android:layout_height= "wrap_content"
     app:indicator= "BallPulse"
     app:indicator_color= "your color"
     />

简单两步 让加载中动画变得漂亮 


  • BallPulse
  • BallGridPulse
  • BallClipRotate
  • BallClipRotatePulse
  • SquareSpin
  • BallClipRotateMultiple
  • BallPulseRise
  • BallRotate
  • CubeTransition
  • BallZigZag
  • BallZigZagDeflect
  • BallTrianglePath
  • BallScale
  • LineScale
  • LineScaleParty
  • BallScaleMultiple
  • BallPulseSync
  • BallBeat
  • LineScalePulseOut
  • LineScalePulseOutRapid
  • BallScaleRipple
  • BallScaleRippleMultiple
  • BallSpinFadeLoader
  • LineSpinFadeLoader
  • TriangleSkewSpin
  • Pacman
  • BallGridBeat
  • ----------------------------------------------------------------------------------------------------
  • GitHub地址
  • https://github.com/81813780/AVLoadingIndicatorView

你可能感兴趣的:(Android)