【开源】FireZenk-s-ProgressBar
FireZenk-s-ProgressBar
- https://github.com/FireZenk/FireZenk-s-ProgressBar
介绍:
高度自定义的ProgressBar。运行效果:
![]()
使用说明:
将FZProgressBar添加进layout
|
1
2
3
4
|
<com.firezenk.progressbar.FZProgressBar android:id="@+id/myProgressBar" android:layout_width="fill_parent" android:layout_height="1dp" /> |
import
|
1
2
|
import com.firezenk.progressbar.FZProgressBar;import com.firezenk.progressbar.FZProgressBar.Mode; |
Retrieve获得FZProgressBar对象
|
1
|
FZProgressBar mBar = (FZProgressBar) findViewById(R.id.myProgressBar); |
设置FZProgressBar
|
1
2
|
mBar.animation_config(int delay, int spacing);mBar.bar_config(int height, int width, int radius, int background_color, int[] progress_colors); |
开始或者停止动画
|
1
2
|
mBar.animation_start(Mode mode);mBar.animation_stop(); |
相关代码
-
MaterialLoadingProgressBar
-
CircleProgress
-
ZProgressHUD
-
CircularBarPager
-
CircularProgressView
http://www.jcodecraeer.com/a/opensource/2015/0122/2345.html
posted on 2015-04-13 09:31 wasdchenhao 阅读(87) 评论(0) 收藏 举报

浙公网安备 33010602011771号