How to make double seekbar in android?

后端 未结 5 1323
旧巷少年郎
旧巷少年郎 2021-02-07 17:55

I am building an android application where the user select the a maximum value by seekbar.

I need another button on the same seekbar so that user can select maximum and

5条回答
  •  梦如初夏
    2021-02-07 18:09

    From Here

            
    
    
            
    
    
    rangebar.setOnRangeBarChangeListener(new RangeBar.OnRangeBarChangeListener() {
            @Override
            public void onRangeChangeListener(RangeBar rangeBar, int leftPinIndex,
                    int rightPinIndex,
                    String leftPinValue, String rightPinValue) {
            }
        });
    

提交回复
热议问题