A circular seek bar for Android
Java
Latest commit 0a5c000 Nov 27, 2014 @RaghavSood Added license
Permalink
Failed to load latest commit information.
res Added initial code Jan 25, 2013
.gitignore Added initial code Jan 25, 2013
CircularSeekBar.java SetProgess(..) FIXED Feb 10, 2014
LICENSE.md Added license Nov 27, 2014
README.md Update README.md Feb 10, 2014
USAGE.md Correct tiny spelling mistake in USAGE.md Feb 15, 2013

README.md

CircularSeekBar

A circular seek bar for Android.

Modification

1. Modified setProgress(int progress) method.

2. Added hideSeekBar() To hide seekbar.

3. Added ShowSeekBar() To show seekbar; Bydefault its visible.


Screenshot:

Imgur

Sample usage:

public class Welcome extends Activity {
    CircularSeekBar circularSeekbar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        circularSeekbar = new CircularSeekBar(this);
        circularSeekbar.setMaxProgress(100);
        circularSeekbar.setProgress(100);
        setContentView(circularSeekbar);
        circularSeekbar.invalidate();

        circularSeekbar.setSeekBarChangeListener(new OnSeekChangeListener() {

            @Override
            public void onProgressChange(CircularSeekBar view, int newProgress) {
                Log.d("Welcome", "Progress:" + view.getProgress() + "/" + view.getMaxProgress());
            }
        });

    }
}

Advanced Usage

Advanced Usage Documentation