<ProgressBar                    android:id="@+id/progress_down_bar"                    style="?android:attr/progressBarStyleHorizontal"                    android:layout_width="fill_parent"                    android:layout_height="5dip"                    android:max="100"                    android:maxHeight="5dip"                    android:progressDrawable="@drawable/seekbar_define_style" android:layout_gravity="bottom"                    android:layout_marginTop="6dip" android:progress="50"                    android:indeterminateOnly="false"                    />


seekbar_define_style

<?xml version="1.0" encoding="UTF-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android" >    <item android:id="@android:id/background" android:drawable="@drawable/download_process_gray">    </item>        <item android:id="@android:id/secondaryProgress">        <clip android:drawable="@drawable/download_process_white"/>    </item>        <item android:id="@android:id/progress" >        <clip android:drawable="@drawable/download_process_red"/>    </item></layer-list>


所有的图片都是9.png

更多相关文章

  1. android显示gif图片
  2. android 拖拽图片&拖动浮动按钮到处跑
  3. Android实现图片缩放示例
  4. android 获取网络上服务器图片
  5. Android图片裁剪Demo
  6. android URL获取图片显示到ImageView 控件上
  7. Android中GridView来显示图片
  8. Android手机拍照和手机相册选取图片的工具类ImageUtils

随机推荐

  1. Plugin-X Integration Guide for Android
  2. Google Android尝鲜 - 计算器小程序
  3. View高度动画
  4. android:如何开启webview的LBS功能
  5. android OpenGL es lession6
  6. Android模拟器获取IP的方法
  7. android graphic(13)—surface flinger中
  8. android APK包 反编译
  9. Activity的“伪对话框”
  10. Android(安卓)解决 bitmap size exceed v