Github url

Android-SpinKit

by ybq

Android loading animations

7.4K Stars 1.2K Forks Last release: Not found Other 78 Commits 8 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Android-SpinKit

Android loading animations(I wrote a android edition according SpinKit)

Demo Apk

Preview

Gradle Dependency

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

Usage

  • Xml
<com.github.ybq.android.spinkit.spinkitview xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/spin_kit" style="@style/SpinKitView.Large.Circle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" app:spinkit_color="@color/colorAccent"></com.github.ybq.android.spinkit.spinkitview>
  • ProgressBar
ProgressBar progressBar = (ProgressBar)findViewById(R.id.progress); Sprite doubleBounce = new DoubleBounce(); progressBar.setIndeterminateDrawable(doubleBounce);

Style

@style/SpinKitView @style/SpinKitView.Circle @style/SpinKitView.Large @style/SpinKitView.Small @style/SpinKitView.Small.DoubleBounce

Style | Preview ------------ | ------------- RotatingPlane | RotatingPlaneDoubleBounce | DoubleBounceWave | WaveWanderingCubes | WanderingCubesPulse | PulseChasingDots | ChasingDotsThreeBounce | ThreeBounceCircle | CircleCubeGrid | CubeGridFadingCircle | FadingCircleFoldingCube | FoldingCubeRotatingCircle | RotatingCircle

Acknowledgements

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.