漂亮的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.open-open.com/lib/view/home/1445846143992


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM