Seek Bar thumb not transparent in Android 5.0 API 21 Lollipop

后端 未结 2 1687
無奈伤痛
無奈伤痛 2020-12-23 13:36

API Level < 21

Thumb is transparent, as expected.

\"Screenshot

相关标签:
2条回答
  • 2020-12-23 13:57
    <SeekBar
        ....
        android:splitTrack="false" 
    />
    
    0 讨论(0)
  • 2020-12-23 14:00

    For all API levels,

    <Seekbar
        .....
        android:background="@null"
        android:splitTrack="false"
        ....
     />
    

    will work. It worked for me.

    0 讨论(0)
提交回复
热议问题