http://my.oschina.net/amigos/blog/60181
案例使用的图片如下:
1.在res/drawable目录下新增一个xml风格文件,seekbar_define_style.xml
01 |
<? xml version = "1.0" encoding = "utf-8" ?> |
02 |
< layer-list |
03 |
xmlns:android = "http://schemas.android.com/apk/res/android" > |
04 |
<!-- |
05 |
< item |
06 |
android:id = "@android:id/background" |
07 |
android:drawable = "@drawable/hou" /> |
08 |
<!-- |
09 |
< item |
10 |
android:id = "@android:id/progress" |
11 |
android:drawable = "@drawable/qian"
|