Android SeekBar thumb gets clipped/cut off
You should be able to fix this by setting paddingLeft
and paddingRight
on your SeekBar
to half the thumb width (remember to use density-independent units). You can also control the space allowed at the edges for a seek bar's thumb by calling setThumbOffset
.
For default SeekBar I used these settings and it works fine:
android:paddingLeft="6dp"
android:paddingRight="6dp"
android:thumbOffset="8dp"
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.