how to limit seekbar

前端 未结 6 604
别那么骄傲
别那么骄傲 2020-12-29 02:10

I\'d like to set max and minimum limits of SeekBar to 50 and 20 respectively.

SeekBar has a direct option top provide max value, but how to set its

6条回答
  •  灰色年华
    2020-12-29 02:50

    I have answered this question here : How to set seekbar min and max value.

    With simple math you can set the min value, the max value and even the step of your seekbar.

    Hope this helps !

提交回复
热议问题