StartPointSeekBar is a custom view for the Android platform that makes it possible to have a SeekBar to have custom start point.

Min SDK   8
Latest Commit   2015-10-12 06:04:12
License   unknown

Github   https://github.com/vashisthg/StartPointSeekBar

         

使用APP客户端扫描二维码运行Demo


...

vashisthg
None
Delhi, India

http://www.twitter.com/vashisthg

         

类似的还有....
android-phased-seek-bar android phased seek bar allow create a seek bar with predefined states.
PreviewSeekBar A SeekBar suited for showing a preview of something. As seen in Google Play Movies.
discreteSeekBar DiscreteSeekbar is my poor attempt to develop an android implementation of the Discrete Slider component from the Google Material Design Guidelines.
README

README.md

Forked/Inspired from https://code.google.com/p/range-seek-bar/ by tittel@kom.e-technik.tu-darmstadt.de

This solves the problem as described in http://stackoverflow.com/questions/17415096/seekbar-for-two-values-50-0-50

ScreenShot

So you can set the start position of the seekbar anywhere.

Example code:

    <com.vashisthg.startpointseekbar.StartPointSeekBar
        android:id="@+id/seek_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        custom:minValue="-40.0"
        custom:maxValue="+40.0"
        custom:defaultBackgroundColor="@color/default_background_color"
        custom:defaultBackgroundRangeColor="@color/default_background_range_color"
        />
        StartPointSeekBar seekBar = (StartPointSeekBar) findViewById(R.id.seek_bar);
        seekBar.setOnSeekBarChangeListener(new StartPointSeekBar.OnSeekBarChangeListener() {
            @Override
            public void onOnSeekBarValueChange(StartPointSeekBar bar, double value) {
                Log.d(LOGTAG, "seekbar value:" + value);
            }
        });