android 圆弧刻度进度条
16lz
2021-01-24
ArcProgressBar
项目地址: youmu178/ArcProgressBar 简介:圆弧刻度进度条圆弧刻度进度条
DEMO
<com.youzh.ArcProgressBar android:id="@+id/arcProgressBar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true"/>
Attributes
name | format | description |
---|---|---|
arcDistance | integer | 圆弧两边的距离 |
arcBgColor | color | 圆弧颜色 |
dottedDefaultColor | color | 虚线默认颜色 |
dottedRunColor | color | 虚线变动颜色 |
dottedLineCount | integer | 线条数 |
dottedLineWidth | integer | 线条宽度 |
dottedLineHeight | integer | 线条高度 |
lineDistance | integer | 圆弧跟虚线之间的距离 |
progressMax | integer | 进度条最大值 |
progressTextSize | integer | 进度文字大小 |
progressDesc | string | 进度描述 |
arcText | string | 底部默认文字 |
更多相关文章
- Android那些事儿之自定义进度条
- Android(安卓)使用Shape绘制图形
- Android之view虚线
- Android实训案例(八)——单机五子棋游戏,自定义棋盘,线条,棋子,游戏逻
- Android使用xml自定义图片实例详解
- 【android】用drawable xml绘制虚线分割线
- Android绘图之SweepGradient(10)
- android虚线
- 关于ShapeDrawable应用的一些介绍(下)