Popularity
2.7
Stable
Activity
0.0
Stable
132
6
33

Programming language: Java
Tags: SeekBar Widget    

StartPointSeekBar alternatives and similar packages

Based on the "SeekBar Widget" category

Do you think we are missing an alternative of StartPointSeekBar or a related project?

Add another 'SeekBar Widget' Package

README

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);
            }
        });