AVLoadingIndicatorView is a collection of nice loading animations for Android.
You can also find IOS version of this here.
Add dependencies in build.gradle.
dependencies {
compile 'com.wang.avi:library:1.0.0'
compile 'com.nineoldandroids:library:2.4.0'
}
Add the AVLoadingIndicatorView to your layout:
<com.wang.avi.AVLoadingIndicatorView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:indicator="BallPulse"
app:indicator_color="your color"
/>
Here they are
BallPulse
BallGridPulse
BallClipRotate
BallClipRotatePulse
SquareSpin
BallClipRotateMultiple
BallPulseRise
BallRotate
CubeTransition
BallZigZag
BallZigZagDeflect
BallTrianglePath
BallScale
LineScale
LineScaleParty
BallScaleMultiple
BallPulseSync
BallBeat
LineScalePulseOut
LineScalePulseOutRapid
BallScaleRipple
BallScaleRippleMultiple
BallSpinFadeLoader
LineSpinFadeLoader
TriangleSkewSpin
Pacman
BallGridBeat
SemiCircleSpin
##Contact me
if you have a better idea or way on this project, please let me know, thanks:)
Copyright 2015 jack wang
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.