How to set seekbar min and max value

前端 未结 14 898
栀梦
栀梦 2020-11-28 09:17

I have a seekbar and trying to set the value from 60 to 180 for one and 40 to 190 for the second one in step of 1.

sb1 = (SeekBar) findViewById(R.id.progress         


        
14条回答
  •  无人及你
    2020-11-28 09:59

    Set seekbar max and min value

    seekbar have method that setmax(int position) and setProgress(int position)
    

    thanks

提交回复
热议问题