<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,然后忘了怎么去掉这个小圆球了,想了半天才记起来 我第一次写博客,开心,所以就从最最简单的开始!
seekbar去掉thumb(小圆球)
最新推荐文章于 2024-05-28 17:45:47 发布