android 圆形进度条(旋转的等待动画)
2017-01-23 10:39
295 查看
<?xml version="1.0" encoding="utf-8"?> <rotate xmlns:android="http://schemas.android.com/apk/res/android" android:fromDegrees="0" android:pivotX="50%" android:pivotY="50%" android:toDegrees="360"> <shape android:innerRadiusRatio="3" android:shape="ring" android:thicknessRatio="8" android:useLevel="false"> <gradient android:centerColor="@color/color_orange" android:centerY="0.5" android:endColor="@color/white" android:useLevel="false"/> </shape> </rotate>
<ProgressBarandroid:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_centerInParent="true"style="?android:attr/progressBarStyleSmall"android:indeterminateDrawable="@drawable/progress_small"/>设置成progressBarStyleSmall后,图标变小。 设置成progressBarStyleLarge后,图标变大
相关文章推荐
- android 圆形进度条(旋转的等待动画)
- Android 加载数据等待时 小人奔跑进度动画
- Android开发自定义控件实现一个圆形进度条【带数值和动画】
- Android实现圆形图形不断旋转的动画
- Android自定义圆形按钮点击进度动画
- android带动画的圆形进度条 各种差值器的含义
- android等待旋转圆圈动画
- Android 帧动画 圆形进度条
- Android自定义圆形渐变进度条(续)--加动画
- android带动画的圆形进度条
- Android动画之仿美团加载数据等待时,小人奔跑进度动画对话框(附顺丰快递员奔跑效果)
- Android动画之仿美团加载数据等待时,小人奔跑进度动画对话框(附顺丰快递员奔跑效果)
- Android 自定义View -- 圆形进度条,文字旋转
- Android动画篇(一):圆形进度条CircleProgressBar
- android 360度图片翻转、旋转动画等待框
- Android 自定义圆形旋转进度条,仿微博头像加载效果
- Android进阶UI之加载数据等待时,小人奔跑进度动画对话框
- Android动画之仿美团加载数据等待时,小人奔跑进度动画对话框(附顺丰快递员奔跑效果)
- Android动画之仿美团加载数据等待时,小人奔跑进度动画对话框(附顺丰快递员奔跑效果)
- ANDROID实现圆形图形不断旋转的动画