漂亮的Android加載中動畫:AVLoadingIndicatorView

AVLoadingIndicatorView 包含一組漂亮的Android加載中動畫。

IOS版本:here.

示例

Download Apk

用法

步驟1

Add dependencies in build.gradle.

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

步驟2

Add the AVLoadingIndicatorView to your layout:

    <com.wang.avi.AVLoadingIndicatorView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:indicator="BallPulse"
        app:indicator_color="your color"
        />

Indicators

Here they are

  • 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
  • SemiCircleSpin

項目主頁:http://www.baiduhome.net/lib/view/home/1445846143992

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!