/MillSpinners

The set of useful and beautiful spinners.

Primary LanguageJavaApache License 2.0Apache-2.0

Mill Spinners

The set of useful and beautiful spinners.

enter image description here

Currently the library contains following spinners:

Wait for new.

U can check the sample app here.

Download

You can download a .jar from GitHub's releases page.

Or use Gradle jCenter:

dependencies {
    repositories {
        mavenCentral()
        maven {
            url  'http://dl.bintray.com/gigamole/maven/'
        }
    }
    compile 'com.github.gigamole.millspinners:library:+'
}

Or Gradle Maven Central:

compile 'com.github.gigamole.millspinners:library:1.0.1'

Or Maven:

<dependency>
    <groupId>com.github.gigamole.millspinners</groupId>
    <artifactId>library</artifactId>
    <version>1.0.1</version>
    <type>aar</type>
</dependency>

Android SDK Version

Mill Spinners requires a minimum sdk version of 10.

MultiArcSpinner

enter image description here

You can set such parameters as:

  • speed
  • colors
  • reversibility
  • color
  • autostart
  • roundness
  • slowdown

Also given the opportunity to start and finish the animation by hand. These settings can be made as programmatically and through XML. It includes a set of three color schemes by default.

Check out an code example:

<com.gigamole.millspinners.lib.MultiArcSpinner
    android:id="@+id/multiArcSpinner"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#ff242624"
    arc_spinner:rounded="true"
    arc_spinner:autostart="false"
    arc_spinner:speed="5000"
    arc_spinner:slowdown="false"/>

CirclesWaveSpinner

enter image description here

You can set such parameters as:

  • speed
  • colors

CubeSpinner

enter image description here

You can set such parameters as:

  • speed
  • colors

DyingLightSpinner

enter image description here

You can set such parameters as:

  • speed
  • color
  • type (CHAIN | BRACKET)

FigureSpinner

enter image description here

You can set such parameters as:

  • speed
  • colors
  • sides
  • roundness
  • rotating

Getting Help

To report a specific problem or feature request, open a new issue on Github.

License

Apache 2.0. See LICENSE file for details.

Author

Basil Miller - @gigamole