android 自定义progressbar进度条颜色
16lz
2021-12-04
android:progressDrawable="@drawable/progressbar_background"
progressbar_background.xml
<?xml version="1.0" encoding="utf-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@android:id/background"> <shape> <corners android:radius="5dp" /> <solid android:color="@color/divider_line_f5" /> shape> item> <item android:id="@android:id/progress"> <clip> <shape> <corners android:radius="5dp" /> <solid android:color="@color/main_color" /> shape> clip> item>layer-list>
更多相关文章
- android给View设置边框 填充颜色 弧度
- android之shape使用
- android 图片背景使用这种方式很爽
- android SpannableString使用详解
- Android颜色值XML文件
- android 颜色选择器
- Android如何使用XML创建一个环形渐变颜色图片
- android自定义样式
- Android(Java):按钮复选框点中效果