【问题标题】:How to set the starting position of the slider?如何设置滑块的起始位置?
【发布时间】:2017-07-13 11:03:19
【问题描述】:

请告诉我如何设置滑块的起始位置,我找了一个小时也找不到:(

https://github.com/channguyen/range-slider-view

【问题讨论】:

  • 起始位置的意思是,你想从特定点之间开始滑块?

标签: android user-interface slider custom-controls


【解决方案1】:

用这个setInitialIndex(int value)

 rsv_large= (RangeSliderView) findViewById(R.id.rsv_large);
 rsv_large.setInitialIndex(2);

【讨论】:

    猜你喜欢
    • 2013-12-18
    • 2016-06-19
    • 1970-01-01
    • 1970-01-01
    • 2014-07-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多