Skip to content

mattsmithies/AndroidCircularSeekBar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircularSeekBar

A circular seek bar for Android.

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

About

A circular seek bar for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published