android 水平进度条 背景设置问题
来源:互联网 发布:妇科炎症发病率数据图 编辑:程序博客网 时间:2024/05/17 01:27
<ProgressBar android:id="@+id/storage_progress" style="@android:style/Widget.ProgressBar.Horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:max="100" android:progress="20" android:progressDrawable="@drawable/storage_bar" /> //storage_bar.xml<pre name="code" class="html"><?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> <solid android:color="#ff70bdea"/> <corners android:radius="0dip"/> </shape> </item> <item android:id="@android:id/progress"> <clip> <shape> <corners android:radius="0dip"/> <solid android:color="#ffc5ced5"/> </shape> </clip> </item></layer-list>
主要是</clip>条目必须包含,网上好多直接用crash,记录下
0 0
- android 水平进度条 背景设置问题
- android ProgressBar水平进度条的颜色设置
- android水平进度条布局
- android 自定义水平进度条
- Android--水平进度条对话框
- Android自定义水平进度条
- Android学习札记7:ProgressBar水平进度条的颜色设置
- Android自定义水平进度条控件
- Android 螺旋水平进度条 progressbar
- Android自定义水平渐变进度条
- ProgressBar水平进度条的颜色设置
- ProgressBar水平进度条的颜色设置
- Android listView 背景设置.9的问题
- Android设置背景透明的一些问题
- Android popupWindow设置背景透明度无效问题
- android学习笔记26:水平进度条
- android 水平和转圈的进度条
- Android ProgressBar高级自定义水平/圆形进度条
- Zookeeper集群配置部署
- Can’t find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad
- ppt修改母版格式
- xStream完美转换XML、JSON
- jetty命令行方式启动jetty-runner.jar 容器
- android 水平进度条 背景设置问题
- 房价会打架撒黄金的撒谎的撒
- 类的声明及定义
- Hadoop拷贝文件到hdfs时出错:could only be replicated to 0 nodes, instead of 1
- mysql查询同一个字段的三个count值
- C语言内存管理-字符数组与字符指针
- Springmvc请求接收参数的几种方法
- C# windows 服务
- rsync异常