seekbar去掉thumb(小圆球)

来源:互联网 发布:linux dd命令拷贝分区 编辑:程序博客网 时间:2024/03/29 03:50
<SeekBar    android:id="@+id/seekbar_voice"    android:progressDrawable="@drawable/progress_horizontal"    android:thumb="@drawable/progress_thumb"    android:progress="20"    android:minHeight="6dp"    android:maxHeight="6dp"    android:layout_gravity="center_vertical"    android:layout_weight="1"    android:layout_width="wrap_content"    android:layout_height="wrap_content"/>把这一句
android:thumb="@drawable/progress_thumb"
改成
android:thumb="@null"就没有了,我在做播放器的时候模仿主流视频播放器调节声音或者亮度的seekbar,然后忘了怎么去掉这个小圆球了,想了半天才记起来我第一次写博客,开心,所以就从最最简单的开始!