Android SeekBar thumb gets clipped/cut off

前端 未结 5 2049
深忆病人
深忆病人 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:59

    For default SeekBar I used these settings and it works fine:

    android:paddingLeft="6dp"
    android:paddingRight="6dp"
    
    android:thumbOffset="8dp"
    

提交回复
热议问题