A completely customisable and beautiful indeterminate Progress View for Android. With over 30 parameters that can be changed, this loader can be modified to be unique and match your app's theme 🤘
The demo app has an inbuilt control pannel. It lets you edit every parameter of the animation from within the demo. Its much more easier than seeing the change via changin code and running the demo. Try it and you'll find how easy and fast it is to design your own version.
- Add
implementation 'com.surahul:superglowingloader:1.0.0'
to yourdependencies
inbuild.gradle
file of your app module.
For a complete implemantation and various customization, explore the [GlowingLoaderView.java](loader-library/src/main/java/com/glennio/glowingloaderlib/GlowingLoaderView.java) class.
// you can customise the loader useing following setters (Customisation via attributes is a work in progress)
//LineSpec object let you sepecify properties of lines in the animation
//minLength;
//maxLength;
//color;
//startDelay;
//Interpolator interpolator;
void setLineSpecs(LineSpec[] lineSpecs)
void setShowLineGlowShadow(boolean showLineGlowShadow)
void setShowRippleGlowShadow(boolean showRippleGlowShadow)
void setShowParticleGlowShadow(boolean showParticleGlowShadow)
void setGlowShadowDy(float glowShadowDy)
void setGlowShadowDx(float glowShadowDx)
void setGlowShadowSize(float glowShadowSize)
void setGlowShadowSpread(float glowShadowSpread)
void setGlowShadowAlpha(float glowShadowAlpha)
void setDuration(long duration)
void setAspectRatio(float aspectRatio)
void setLineStrokeWidth(float lineStrokeWidth)
void setParticleColors(int[] particleColors)
void setRippleColor(int rippleColor)
void setParticlesAlphaMinMax(float min, float max)
void setParticleSizeMinMax(float min, float max)
void setParticleCountMinMax(int min, int max)
void setRippleAlpha(float rippleAlpha)
void setRippleStrokeMinMax(float min, float max)
void setRippleSizeMinMax(float min, float max)
void setRippleDuration(long rippleDuration)
void setParticleTranslationMinMax(float min, float max)
void setParticleRotationMinMax(float min, float max)
// suports squares,circles and triangles
void setParticleTypes(int[] particleTypes)
If you're using this library in your app and you'd like to list it here,
please let me know via email or pull requests or issues.
Help me make this library better by contributing to the code. Any contributions are welcome!