Android双向seekbar

效果


使用方法

<span style="font-size: 24px;"> </span><span style="font-size:14px;">private void init() {

        sb_user = (SeekBarPressure) findViewById(R.id.sb_user);
        sb_user.setProgressLowInt(2);
        sb_user.setProgressHighInt(4);
        sb_user.setOnSeekBarChangeListener(new SeekBarPressure.OnSeekBarChangeListener() {
            @Override
            public void onProgressChanged(SeekBarPressure seekBar, double progressLow, double progressHigh, int mprogressLow, int mprogressHigh, double max, double min) {
                myprogressLow = String.valueOf((int) progressLow);
                myprogressHigh = String.valueOf((int) progressHigh);
                LogUtils.d("mark===progressLow=" + progressLow);
                LogUtils.d("mark===progressHigh=" + progressHigh);
            }
        });</span>

下载地址

http://download.csdn.net/detail/u010785585/9026579

posted @ 2017-08-03 17:20  yxysuanfa  阅读(356)  评论(0编辑  收藏  举报