美文网首页Android艺术之旅
非常帅气的进度条Loading

非常帅气的进度条Loading

作者: 就这样e | 来源:发表于2016-12-01 21:18 被阅读6次

    警言:慎终如始!

    GitHub地址:https://github.com/jiangqqlmj/FastDev4Android

    相关博客:http://blog.csdn.net/developer_jiangqq/article/details/49612399

    一.使用方式:

    1.AndroidStudio框架引入配置:build.grade配置

    dependencies {

    compile'com.wang.avi:library:1.0.0'

    compile'com.nineoldandroids:library:2.4.0'

    }

    二.当作普通控件使用(显示和隐藏)

    xmlns:androidLinearLayoutxmlns:android="http://schemas.android.com/apk/res/android

    xmlns:app="http://schemas.android.com/apk/res-auto"

    android:orientation="vertical"

    android:layout_width="match_parent"

    android:layout_height="match_parent">

    android:id="@+id/avloadingIndicatorView_BallClipRotatePulse"

    android:layout_width="wrap_content"

    android:layout_height="wrap_content"

    android:visibility="visible"

    app:indicator="BallClipRotatePulse"

    app:indicator_color="@color/red"

    />

    三.效果图

    希望小伙伴们多多支持(如有错误,希望指出)

    相关文章

      网友评论

        本文标题:非常帅气的进度条Loading

        本文链接:https://www.haomeiwen.com/subject/ayhfmttx.html