Android艺术之旅

非常帅气的进度条Loading

2016-12-01  本文已影响6人  就这样e

警言:慎终如始!

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"

/>

三.效果图

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

猜你喜欢

热点阅读