Android loading animations

Overview

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" />         
  • 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 RotatingPlane
DoubleBounce DoubleBounce
Wave Wave
WanderingCubes WanderingCubes
Pulse Pulse
ChasingDots ChasingDots
ThreeBounce ThreeBounce
Circle Circle
CubeGrid CubeGrid
FadingCircle FadingCircle
FoldingCube FoldingCube
RotatingCircle RotatingCircle

Acknowledgements

Comments
  • Set Color Does Not Work On These Drawables

    Set Color Does Not Work On These Drawables

    Set color via XML "app:SpinKit_Color="@color/colorAccent"" does not work on the following drawables:

    • RotatingPlane
    • Pulse
    • RotatingCircle

    For the above drawables, color defaults to white and setting color does not work.

    Set color via XML works for the following drawables:

    • DoubleBounce
    • Wave
    • WanderingCubes
    • ChasingDots
    • ThreeBounce
    • Circle
    • CubeGrid
    • FadingCircle
    • FoldingCube

    References Issue #24

    opened by searchy2 4
  • Dependency implementation error!

    Dependency implementation error!

    When inserting in gradle dependencies it shows the following error..! image

    Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

    opened by geeky-auro 3
  • Build failed: More than one file was found with OS independent path 'lib/armeabi-v7a/libvpnprocessing.so'

    Build failed: More than one file was found with OS independent path 'lib/armeabi-v7a/libvpnprocessing.so'

    Crashing while building with the following error message: "More than one file was found with OS independent path 'lib/armeabi-v7a/libvpnprocessing.so'"

    Compile SDK Version: API 27 - Andoid Oreo 8.1 Gradle version: 4.10.1 Android Plugin Version: 3.3.0 Android Studio 3.3

    Thank you

    opened by karmazinkd 2
  • How to place a spinkit inside a button?

    How to place a spinkit inside a button?

    The README's Preview section display a Button with a waved SpinKit within.

    1. How can do that?
    2. How can i put the SpinKit animation on the right band of the button?
    opened by jairocgr 2
  • Release 1.0.3 setColor does not work

    Release 1.0.3 setColor does not work

    Please release new build to include commit https://github.com/ybq/Android-SpinKit/commit/1af45a276da0c058cafb2333287c81241ca58a83

    Regards, Pedro Cardoso

    opened by smeegoan 2
  • Failed to resolve: com.github.ybq:Android-SpinKit:1.1.0

    Failed to resolve: com.github.ybq:Android-SpinKit:1.1.0

    build.gradle : allprojects { repositories { mavenLocal() google() jcenter() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } maven { url "https://jitpack.io" }

    }
    

    }

    I tried everything and same issues but I had to open the issue.

    opened by cagataykapuagasi 1
  • Trouble Styling a Progress Dialog

    Trouble Styling a Progress Dialog

    I am using the wave for my progress dialog but having trouble changing the color of it. I'm pretty sure this is just a personal shortcoming but I was hoping I could get some help! Thank you

    opened by ghost 1
  • Allow contributors

    Allow contributors

    Hey @ybq ,

    I have some minor bug fixes and I would like to contribute to this repository. Please add me as a contributor so I can commit the code.

    P.S: Thanks for this awesome repository.

    opened by nikacotAndroid 1
  • Could not get resource

    Could not get resource

    'Could not get resource 'https://repo.maven.apache.org/maven2/com/github/ybq/Android-SpinKit/1.1.0/Android-SpinKit-1.1.0.pom'

    使用Gradle引用库的时候 maven 调不通

    opened by chenxi1991 0
  • After Effect Wave Wrap is not working after exporting using BodyMovin plug-in

    After Effect Wave Wrap is not working after exporting using BodyMovin plug-in

    opened by kris2ffer22 0
  • The wave animation being too fast on certain device

    The wave animation being too fast on certain device

    When I run my app with the Wave loading animation on my mom's phone (running Android 8.1), the animation works perfectly. But when I run it on my phone (Android 5.1), the animation is faster, which kind of irritates me.

    opened by QuanMCPC 1
  • 出现个了个新问题

    出现个了个新问题

    Process: com.vmc.guangqi, PID: 26114 java.lang.StackOverflowError: stack size 8192KB at com.github.ybq.android.spinkit.sprite.Sprite.setScale(Sprite.java:117) at com.github.ybq.android.spinkit.sprite.Sprite$10.setValue(Sprite.java:434) at com.github.ybq.android.spinkit.sprite.Sprite$10.setValue(Sprite.java:431) at com.github.ybq.android.spinkit.animation.FloatProperty.set(FloatProperty.java:43) at com.github.ybq.android.spinkit.animation.FloatProperty.set(FloatProperty.java:29) at android.animation.PropertyValuesHolder$FloatPropertyValuesHolder.setAnimatedValue(PropertyValuesHolder.java:1383) at android.animation.ObjectAnimator.animateValue(ObjectAnimator.java:990) at android.animation.ValueAnimator.animateBasedOnTime(ValueAnimator.java:1349) at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1481) at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146) at android.animation.AnimationHandler.access$100(AnimationHandler.java:37) at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1029) at android.view.Choreographer.doCallbacks(Choreographer.java:854) at android.view.Choreographer.doFrame(Choreographer.java:785) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1016) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:224) at android.app.ActivityThread.main(ActivityThread.java:7562) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

    opened by sunshinecf 0
Owner
ybq
..........................
ybq
Loading layout is a container view that manages easy switching between loading, completed and other states of your screen with a single line.

Loading layout is a container view that manages easy switching between loading, completed and other states of your screen with a single line.

ValarTech 16 Jul 5, 2022
Android loading animations

Android-SpinKit Android loading animations(I wrote a android edition according SpinKit) Demo Apk Preview Gradle Dependency dependencies { implement

ybq 8.4k Jan 5, 2023
Android loading view

Loading Loading is a poject with kinds of Android loading view. Yan can see the wiki for more detail. RotateLoading BookLoading NewtonCradleLoading Us

null 1.2k Jan 1, 2023
An Android library providing to realize wave loading effect.

WaveLoadingView WaveLoadingView - An Android library that provides a realistic wave-loading effect. Sample Usage For a working implementation of this

Tang 1.7k Jan 2, 2023
ColoringLoading 4.7 0.0 Java This project provide Coloring Loading View for Android. And this project is not using the image file!

ColoringLoading ![Release](https://img.shields.io/github/release/recruit-lifestyle/ColoringLoading.svg?label=maven version) This project provide Color

Recruit Lifestyle Co. Ltd. 379 Jul 25, 2022
:seedling: A custom loading view for android, just like alipay.

#SmileyLoadingView A custom loading view, just like alipay. Usage Edit your layout XML: <cn.refactor.smileyloadingview.lib.SmileyLoadingView

null 411 Apr 24, 2022
KdLoadingView - A Custom Loading View for Android

KdLoadingView This is a circular loading view for android. Motivation In default progress view, its hard to change drawable, color and animation. So t

Saurabh kumar 1 Oct 26, 2022
An animated circle loading view

Animated Circle Loading View A determiante/indetermiante loading view animation. Based on android-watch-loading-animation by Nils Banner. How it looks

José Luis Martín 1.2k Dec 7, 2022
Customizable bouncing dots for smooth loading effect. Mostly used in chat bubbles to indicate the other person is typing.

LoadingDots for Android Customizable bouncing dots view for smooth loading effect. Mostly used in chat bubbles to indicate the other person is typing.

Eyal Biran 162 Dec 2, 2022
A wave-like loading drawable

#WaveLoading This library provides a wave loading animation as a Drawable. How to use Add dependency: compile 'com.race604.waveloading:library:1.1.1'

吴晶 1.4k Dec 5, 2022
A loading animation based on Floating Action Button

FAB-Loading A loading animation based on Floating Action Button. Usage Include the LoadingView widget in your view: <io.saeid.fabloading.LoadingView

Saeed Masoumi 689 Oct 14, 2022
Some loading GIF .

Android GifLoadingView This project idea is from Link . Thanks for the idea. I like all the animation in that webpage , but it's so hard to develop al

Roger 1.3k Dec 12, 2022
MaterialLoadingProgressBar provide a styled ProgressBar which looks like SwipeRefreshLayout's loading indicator(support-v4 v21+)

MaterialLoadingProgressBar MaterialLoadingProgressBar provide a styled ProgressBar which looks like SwipeRefreshLayout's loading indicator(support-v4

lsjwzh 1.1k Nov 19, 2022
A highly configurable library to do loading progress with animated balls

Loading Balls A highly configurable library to do loading progress with animated balls for Android How to use Custom attributes lib:path="triangle" Th

Adrián Lomas 930 Dec 7, 2022
Cool bezier loading view

What's BezierLoadingView ? A cool loading view with Bezier and a smooth circular motion, Demo Features Bezier Circular motion ##Attributes name format

巴掌 828 Oct 10, 2022
PowerSpinner - 🌀 A lightweight dropdown popup spinner, fully customizable with an arrow and animations for Android.

PowerSpinner - ?? A lightweight dropdown popup spinner, fully customizable with an arrow and animations for Android.

Jaewoong Eum 881 Dec 30, 2022
[Android] Round Corner Progress Bar Library for Android

RoundCornerProgressBar Round corner is cool. Let's make your progress bar to round corner Colorful progress bar with round corner on progress which yo

Akexorcist 2.3k Dec 31, 2022
[Android] Round Corner Progress Bar Library for Android

RoundCornerProgressBar Round corner is cool. Let's make your progress bar to round corner Colorful progress bar with round corner on progress which yo

Akexorcist 2.3k Jan 7, 2023
Now deprecated. A small Android library allowing you to have a smooth and customizable horizontal indeterminate ProgressBar

Description Small library allowing you to make a smooth indeterminate progress bar. You can either user your progress bars and set this drawable or us

Antoine Merle 4.4k Dec 30, 2022