circular-seek-bar

Simple custom Android View providing a Circular spin to SeekBars

License

License

GroupId

GroupId

com.akaita.android
ArtifactId

ArtifactId

circular-seek-bar
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

aar
Description

Description

circular-seek-bar
Simple custom Android View providing a Circular spin to SeekBars
Project URL

Project URL

https://github.com/akaita/CircularSeekBar
Source Code Management

Source Code Management

http://github.com/akaita/CircularSeekBar/tree/master

Download circular-seek-bar

How to add to project

<!-- https://jarcasting.com/artifacts/com.akaita.android/circular-seek-bar/ -->
<dependency>
    <groupId>com.akaita.android</groupId>
    <artifactId>circular-seek-bar</artifactId>
    <version>1.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.akaita.android/circular-seek-bar/
implementation 'com.akaita.android:circular-seek-bar:1.0'
// https://jarcasting.com/artifacts/com.akaita.android/circular-seek-bar/
implementation ("com.akaita.android:circular-seek-bar:1.0")
'com.akaita.android:circular-seek-bar:aar:1.0'
<dependency org="com.akaita.android" name="circular-seek-bar" rev="1.0">
  <artifact name="circular-seek-bar" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.akaita.android', module='circular-seek-bar', version='1.0')
)
libraryDependencies += "com.akaita.android" % "circular-seek-bar" % "1.0"
[com.akaita.android/circular-seek-bar "1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.android.support » support-annotations jar 25.3.1

Project Modules

There are no modules declared in this project.

CircularSeekBar Download

This is a simple Seek Bar, in the shape of a circle, responsive to the speed of the spin: the faster you spin the control, the faster the progress increases.

Very much in the style of old iPods, this is a very intuitive control when a value from a variable range has to be chosen, and for wearable apps. It has been used in a production app for a while now, so it is well proven.

Screenshots

In a mobile device In a wearable device
mobile wearable

Usage

repositories {
    mavenCentral()
}
dependencies {
    compile 'com.akaita.android:circular-seek-bar:1.0'
}

Configuration

xml && programmatic

min="0"    //Minimum progree value
max="50"       //Maximum progress value
progress="15" //Current progress value
progressTextColor="@android:color/black"    //Color for the text in the center
progressTextSize="26"    //Size for the text in the center
showProgressText="true"    //Show/hide the text in the center
progressText="Custom text"    //Show custom text in the center
ringColor="@color/colorAccent"    //Color for the outer ring
ringWidth="0.5"    //Width of the outer ring, relative to the width of the whole view
showIndicator="true"    //Show/hide the arc drawn when the user touches the ring
showInnerCircle="true"    //Show/hide the circle in the center
speedMultiplier="2"    //Make the progress increase/decrease faster/slower

only programmatic

OnCircularSeekBarChangeListener    //Listener for events changing the progress
OnCenterClickedListener    //Listener for single tap events on the inner circle
RingPaint    //Paint used to draw the outer ring
InnerCirclePaint    //Paint used to draw the inner circle
ProgressTextPaint    //Paint used to draw the text in the center
ProgressTextFormat    //Format of the text in the center

Apps using CircularSeekBar

  • F-gas: a simple tool to help you comply with the new EU Regulation 517/2014 on fluorinated gases with just one hand!

Versions

Version
1.0