软件介绍
CircleProgressBar继承ProgressBar, 是包含实心和线条两种风格的圆环进度条. 此外, 进度值可以随意定制.
如果你对酷炫的进度条比较感兴趣, 或许你更喜欢 LoadingDrawable.
用法
Gradledependencies {
compile 'com.dinuscxj:circleprogressbar:1.0.0'
}
用在xml中:
android:id="@+id/line_progress"
android:layout_marginTop="@dimen/default_margin"
android:layout_width="50dp"
android:layout_height="50dp" />
属性
有下面这些属性你可以设置:
The style:solid
line
The progress text:text color
text size
visibility
format
The progress circle:width
color
background color
The line style:width
count
<