android 自定义progressbar进度条颜色
16lz
2021-01-23
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 颜色对应值
- android 使用异步加载图片
- android给View设置边框 填充颜色 弧度
- android 图片背景使用这种方式很爽
- android背景自动伸缩
- android获得圆角图片
- Android在Button按钮上同时显示文字和图片
- android ViewFlipper实现图片轮播
- android 颜色选择器