Android SeekBar can't be full width even set padding 0 in AppCompat 23.1.0

前端 未结 5 983
天涯浪人
天涯浪人 2020-12-29 20:24

when I update android support lib from 23.0.1 to 23.1.0, I find the SeekBar is not full width any more.

this is the test XML file:



        
5条回答
  •  悲哀的现实
    2020-12-29 21:09

    Try adding the parameters paddingStart and paddingEnd to 0dp in the xml file. If your app is compatible with Rtl you will need to add those in order to visualize the seekBar with no padding otherwise it will show with padding even if using it in a Ltr language.

提交回复
热议问题