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"
/>As seen above in the Demo, the indicators are as follows:
Row 1
BallPulseBallGridPulseBallClipRotateBallClipRotatePulse
Row 2
SquareSpinBallClipRotateMultipleBallPulseRiseBallRotate
Row 3
CubeTransitionBallZigZagBallZigZagDeflectBallTrianglePath
Row 4
BallScaleLineScaleLineScalePartyBallScaleMultiple
Row 5
BallPulseSyncBallBeatLineScalePulseOutLineScalePulseOutRapid
Row 6
BallScaleRippleBallScaleRippleMultipleBallSpinFadeLoaderLineSpinFadeLoader
Row 7
TriangleSkewSpinPacmanBallGridBeatSemiCircleSpin
##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.
