Android SeekBar thumb gets clipped/cut off

前端 未结 5 2021
深忆病人
深忆病人 2020-12-08 04:07

When using a custom thumb drawable with a SeekBar view, the thumb drawable is clipped at the left and right edges of the view.

How can I fix this behavi

5条回答
  •  伪装坚强ぢ
    2020-12-08 04:57

    I ran into this issue myself, and I believe the "correct" decision would be to modify android:thumbOffset as the default style for a SeekBar sets it to 8px.

提交回复
热议问题