A customizable indeterminate progress bar

Overview

DilatingDotsProgressBar Android Arsenal

Installation

compile 'com.github.justzak:dilatingdotsprogressbar:1.0.1'

Usage

<com.zl.reik.dilatingdotsprogressbar.DilatingDotsProgressBar
	android:id="@+id/progress"
	android:layout_width="wrap_content"
	android:layout_height="wrap_content"
	android:radius="5dp"
	android:color="#8C2323"
	app:dd_numDots="3"
	app:dd_scaleMultiplier="1.5"
	app:dd_animationDuration="500"
	app:dd_horizontalSpacing="4dp"
	/>
mDilatingDotsProgressBar = (DilatingDotsProgressBar) findViewById(R.id.progress);

// show progress bar and start animating
mDilatingDotsProgressBar.showNow();

// stop animation and hide
mDilatingDotsProgressBar.hideNow();

Field Customization

name format description
android:radius dimension set the radius of each dot
android:color int set the color of each dot
dd_numDots integer set number of dots
dd_scaleMultiplier float set the maximum size the dot will expand to. (scaleMultiplier x radius)
dd_animationDuration int set the length of a single dot's full animation (in milliseconds)
dd_horizontalSpacing dimension set the number of dp between each dot

Credit

Thanks to Alessandro Crugnola for his contributions.

License

The MIT License (MIT)

Copyright (c) 2016 Zachary Reik

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You might also like...
Android - An action bar item which acts both as a refresh button and as a progress indicator
Android - An action bar item which acts both as a refresh button and as a progress indicator

RefreshActionItem An action bar item that implements this common pattern: Initially it shows a refresh button. If the button is clicked, a background

Open source android library for different progress bar designs
Open source android library for different progress bar designs

MultiProgressBar A progress bar library for Android that provides customized progress bars. Built with ❀︎ by Aseem Khare πŸ’» Installation Add this in y

Arc pointer - simple customized progress bar in the form of an arch
Arc pointer - simple customized progress bar in the form of an arch

ArcPointer Simple customized progress bar in the form of an arch Demo Quick start Step 1 Gradle: compile 'io.github.dvegasa:arcpointer:1.0.2' Maven:

MusicBar 2.1 0.0 Java view visualize progress bar for sound file like sound cloud
MusicBar 2.1 0.0 Java view visualize progress bar for sound file like sound cloud

MusicBar Setup dependencies { implementation 'com.oze.music:MusicBar:1.0.5' } Usage Function Description setAnimationChangeListener(OnMusicBarAn

Progress Bar in the shape of regular polygon.
Progress Bar in the shape of regular polygon.

N-SidedProgressBar Progress Bar in the shape of regular polygon. Download The library is available on jcenter. Just add the dependency to your build.g

a circle progress bar with effect
a circle progress bar with effect

RingProgress a circle progress bar with effect #Preview ##Usage xml com.ldoublem.ringPregressLibrary.RingProgress android:id="@+id/ring_prog

An android library to easily add circular progress bar into your Jetpack Compose apps.
An android library to easily add circular progress bar into your Jetpack Compose apps.

CircularProgressBar for Jetpack Compose An android library to easily add circular progress bar into your Jetpack Compose apps. Have a Look Usage Circu

An instagram-like segmented progress bar
An instagram-like segmented progress bar

An instagram-like segmented progress bar

A feature rich staged progress bar with modifiable steps in between its stages.
A feature rich staged progress bar with modifiable steps in between its stages.

StageStepBar A staged progressbar that you can use if you want finer control of the steps in between its stages. You can customize: Number of steps be

Comments
  • Removed unnecessary manifest attributes

    Removed unnecessary manifest attributes

    The manifest merger fails when your app sets these attributes because they conflict with the ones in this library. They are not needed for a library, so removing them is fine. Let the app define the final values.

    opened by Sloy 0
  • Manifest merger failed

    Manifest merger failed

    Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:65:9-36 is also present at [com.github.justzak:dilatingdotsprogressbar:1.0.1] AndroidManifest.xml:12:9-35 value=(true). Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:59:5-299:19 to override.

    opened by mianaliasjad 0
  • Proguard

    Proguard

    Hello, it is working on a signed minifyEnabled true apk, however the dots are not dilating.

    I tried : -keep class com.github.justzak.dilatingdotsprogressbar.**{ *; } in proguardrules

    opened by roudikk 3
  • Possible Memory Leak

    Possible Memory Leak

    Hi ,

    I was using DilatingDotsProgressBar in my project with leakcanary library included. The leak canary showed me a possible leak in my project. Not sure but something to do with DilatingDotsProgressBar. Take a look at the Screenshot - device-2016-02-12-122650

    opened by Krishan14sharma 7
Owner
Zachary Reik
Zachary Reik
IOSProgressBar is a progress-bar lib for android. And the progress-bar looks like iOS system style

IOSProgressBar is a progress-bar lib for android. And the progress-bar looks like iOS system style

heyangyang 6 Aug 25, 2022
A progress wheel for android, intended for use instead of the standard progress bar.

Deprecation warning This project is no-longer maintained, and has not been maintained for a few years now. If you're looking for an alternative librar

Todd Davies 2.7k Dec 29, 2022
:barber: [Android Library] Stacked dual progress indicator progress-bar

StackedHorizontalProgressBar Specs Featured in Show some ❀️ Android library with ability to show two progress indicators in one horizontal progress ba

Nishant Srivastava 98 Nov 11, 2022
A customizable, animated progress bar that features rounded corners. This Android library is designed to look great and be simple to use πŸŽ‰

RoundedProgressBar Easy, Beautiful, Customizeable The RoundedProgressBar library gives you a wide range of customizable options for making progress ba

null 541 Jan 1, 2023
Beautiful progress bar with segments. Highly customizable. Fully written with Jetpack Compose

?? SegmentedProgressBar ?? Beautiful progress bar split into several segments. Highly customizable. Fully written with Jetpack Compose. Why this libra

Stephen Vinouze 90 Dec 15, 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
This is beautiful color arc progress bar.

ColorArcProgressBar δΈ­ζ–‡η‰ˆ This is a customizable circular progressbar.It can achieve the effect of the QQ health's arc progress with XML. What's more, w

PASSION 928 Dec 6, 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
A wave view of android,can be used as progress bar.

WaveView ![Gitter](https://badges.gitter.im/Join Chat.svg) A wave view of android,can be used as progress bar. Screenshot APK demo.apk What can be use

Kai Wang 1.3k Dec 28, 2022
DownloadProgressBar is an android library that delivers awesome custom progress bar. You can manipulate it's state in every way.

Download Progress Bar Android progress bar with cool animation, inspired by : https://dribbble.com/shots/2012292-Download-Animation ###Attributes Attr

Mariusz Brona 978 Nov 10, 2022