zoukankan      html  css  js  c++  java
  • 漂亮的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

  • 相关阅读:
    毕业设计
    毕业设计
    毕业设计
    毕业设计
    layui table
    毕业设计
    Echart图标统计
    Pxe自动化安装
    Linux运维常用脚本整理
    Zabbix 一键部署
  • 原文地址:https://www.cnblogs.com/Free-Thinker/p/6375153.html
Copyright © 2011-2022 走看看