Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ybq/android-spinkit

Android loading animations
https://github.com/ybq/android-spinkit

android-loading animation loading loading-view progress-bar spinkit spinner

Last synced: 26 days ago
JSON representation

Android loading animations

Awesome Lists containing this project

README

        

# Android-SpinKit
>Android loading animations(I wrote a android edition according [SpinKit](https://tobiasahlin.com/spinkit))

[Demo Apk](https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/spinkit.apk)

## Preview

## Gradle Dependency

``` gradle
dependencies {
implementation 'com.github.ybq:Android-SpinKit:1.4.0'
}
```

## Usage
- Xml

```xml

```

- ProgressBar

```java
ProgressBar progressBar = (ProgressBar)findViewById(R.id.progress);
Sprite doubleBounce = new DoubleBounce();
progressBar.setIndeterminateDrawable(doubleBounce);
```

## Style
>
```xml
@style/SpinKitView
@style/SpinKitView.Circle
@style/SpinKitView.Large
@style/SpinKitView.Small
@style/SpinKitView.Small.DoubleBounce
```

Style | Preview
------------ | -------------
RotatingPlane | RotatingPlane
DoubleBounce | DoubleBounce
Wave | Wave
WanderingCubes | WanderingCubes
Pulse | Pulse
ChasingDots | ChasingDots
ThreeBounce | ThreeBounce
Circle | Circle
CubeGrid | CubeGrid
FadingCircle | FadingCircle
FoldingCube | FoldingCube
RotatingCircle | RotatingCircle

## Acknowledgements
- [SpinKit](https://github.com/tobiasahlin/SpinKit).