非常漂亮的进度指示器AVLoadingIndicatorView
来源:互联网 发布:git 下常用linux命令 编辑:程序博客网 时间:2024/05/08 13:10
AVLoadingIndicatorView
Introduction
AVLoadingIndicatorView is a collection of nice loading animations for Android.
You can also find iOS version of this here.
Demo
Download Apk
Usage
Step 1
Add dependencies in build.gradle.
dependencies { compile 'com.wang.avi:library:1.0.5' compile 'com.nineoldandroids:library:2.4.0' }
Step 2
Add the AVLoadingIndicatorView to your layout:
<com.wang.avi.AVLoadingIndicatorView android:id="@+id/avloadingIndicatorView" android:layout_width="wrap_content" //or your custom size android:layout_height="wrap_content" //or your custom size android:visibility="visible" //visible or gone app:indicator="BallPulse" app:indicator_color="your color" />
Step 3
It's very simple use just like Progressbar.
void startAnim(){ findViewById(R.id.avloadingIndicatorView).setVisibility(View.VISIBLE); } void stopAnim(){ findViewById(R.id.avloadingIndicatorView).setVisibility(View.GONE); }
If you want use this with Dialog , Here are mine com.wang.avi.sample.MainActivity.
Indicators
As seen above in the Demo, the indicators are as follows:
Row 1
BallPulse
BallGridPulse
BallClipRotate
BallClipRotatePulse
Row 2
SquareSpin
BallClipRotateMultiple
BallPulseRise
BallRotate
Row 3
CubeTransition
BallZigZag
BallZigZagDeflect
BallTrianglePath
Row 4
BallScale
LineScale
LineScaleParty
BallScaleMultiple
Row 5
BallPulseSync
BallBeat
LineScalePulseOut
LineScalePulseOutRapid
Row 6
BallScaleRipple
BallScaleRippleMultiple
BallSpinFadeLoader
LineSpinFadeLoader
Row 7
TriangleSkewSpin
Pacman
BallGridBeat
SemiCircleSpin
项目地址:https://github.com/81813780/AVLoadingIndicatorView
0 0
- 非常漂亮的进度指示器AVLoadingIndicatorView
- 【FastDev4Android框架开发】非常漂亮的进度指示器AVLoadingIndicatorView的使用讲解(十八)
- 漂亮的Android加载中动画:AVLoadingIndicatorView
- AVLoadingIndicatorView整合了一些漂亮的 Android 动画加载效果
- 收藏一个 漂亮的 Android加载中动画AVLoadingIndicatorView
- 进度指示器
- Swing 中进度指示器的使用(一)
- Swing 中进度指示器的使用(二)
- Swing 中进度指示器的使用(三)
- LoadingProgressBar(类似SwipeRefreshLayout的加载进度指示器)
- 非常非常漂亮的几个站点首页
- 非常漂亮的FireFox桌面
- Highcharts:非常漂亮的图表
- 非常漂亮的静态页面
- 非常漂亮的粒子形状
- AVLoadingIndicatorView
- 标题栏进度指示器
- Android标题栏进度指示器
- POJ1745
- Jira用户权限设置
- cocos2d-x 3.x学习之ScaleAction
- 【GDPMS】项目管理实战公益培训第十二期
- poi解析Excel文件版本问题
- 非常漂亮的进度指示器AVLoadingIndicatorView
- ubuntu常用命令汇总
- To disable this warning, use -D_SCL_SECURE_NO_WARNINGS
- Android+PHP简单实现
- ARM处理器三级流水线与PC,LR的关系
- datagrid 当前页面统计合计等在Footer页脚。
- Android 开发之 动画Animation学习
- Android 快速开发框架 集成框架
- DDD原著 -- 第二章 语言的交流和使用