Open source android library for different progress bar designs

Overview

MultiProgressBar

A progress bar library for Android that provides customized progress bars.

License      Android Arsenal

Built with ❀︎ by Aseem Khare

image             image             image

image             image             image

image             image             image

                                                                image

πŸ’» Installation

Add this in your app's build.gradle file:

dependencies {
  implementation 'com.aseem.versatileprogressbar:MultiProgressBar:1.1.0'
}

❔ Usage

Basic Usage
Minimum SDk version required:23

Put the following at the bottom of your activity layout xml file. Probably inside a parent Relative Layout tag.

 	<com.aseem.versatileprogressbar.ProgBar
        android:id="@+id/myProgBar"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
	android:elevation="10dp"
        app:barType="@drawable/bouncy_balls"
        app:text="Please wait..."          
        app:textSize="6sp"		   
        app:enlarge="3"			     
        app:androidtextColor="@color/colorPrimary"/> 

Description

Attribute Name Default Value Description
app:barType bouncy_balls Defines the design of progress bar. All the available designs are mentioned below.
app:text Please wait... The text you want to show below the progress bar.
app:textSize 16sp The size of text you want.
app:enlarge 2 This can range from 1 to 10 and enalrges the size of the progress bar.
app:androidtextColor BLACK This is the color of the text.

Progress Bar Designs

        app:barType="@drawable/bouncy_balls"
	app:barType="@drawable/clock"
	app:barType="@drawable/color_capsule"
	app:barType="@drawable/fidget"
	app:barType="@drawable/gear_duo"
	app:barType="@drawable/hour_glass"
	app:barType="@drawable/infinity_bar"
	app:barType="@drawable/jelly_belly"
	app:barType="@drawable/rainbow_ring"
	app:barType="@drawable/triad_ring"

🎨 Customization and Attributes

You can programatically customize the progress bar using the following methods:

Method Name Description Usage
setScaleType() To set the scale type of progress bar. Default is centerInside. myProgBar.setScaleType(ImageView.ScaleType.CENTER_INSIDE);
setProgressVector() To set the design of progress bar. All the available designs are mentioned above. myProgBar.setProgressVector(getDrawable(R.drawable.bouncy_balls));
enlarge() This can range from 1 to 10 and enalrges the size of the progress bar. myProgBar.enlarge(4);
setTextMsg() The text you want to show below the progress bar. myProgBar.setTextMsg("Loading");
setTextColor() This sets the color of the text below the progress bar. myProgBar.setTextColor(getColor(R.color.colorPrimary));
setTextSize() This sets the size of the text below the progress bar. myProgBar.setTextSize(24);

πŸ“ƒ License

Copyright 2019 Aseem Khare

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.

If you like the library, please click on the β˜… Star button at the top 😊

Comments
  • Build Error

    Build Error

    0:25: AAPT: error: resource attr/enlarge (aka com.okcl.awareness:attr/enlarge) not found. I guess you missed the tag format for enlarge. Please review it. Thanks for the awesome progressbar

    opened by Pritish9124 4
  • Post library to MavenCentral

    Post library to MavenCentral

    Thanks a lot for this project, but now jcenter() is dying and the latest gradle will stop a build if it still includes it. This library doesn't exist on mavenCentral yet, could you please post it there so I can keep using it?

    Thanks a lot

    opened by Odaym 0
  • attr/enlarge not found

    attr/enlarge not found

    AAPT:(Project path)\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:7778: error: resource attr/enlarge (aka (project location):attr/enlarge) not found. error: failed linking references.

    opened by cnjagik 1
  • Issue in adding ProgBar

    Issue in adding ProgBar

    I am trying to add ProgBar in FrameLayout but it is throwing Inflating Exception.

     Caused by: android.view.InflateException: Binary XML file line #26: Binary XML file line #26: Error inflating class com.aseem.versatileprogressbar.ProgBar
         Caused by: android.view.InflateException: Binary XML file line #26: Error inflating class com.aseem.versatileprogressbar.ProgBar
         Caused by: java.lang.reflect.InvocationTargetException
            at java.lang.reflect.Constructor.newInstance0(Native Method)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
            at android.view.LayoutInflater.createView(LayoutInflater.java:647)
            at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
            at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
            at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
            at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
            at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
    

    I implemented it in the exact same way as mentioned in the documentation but its not working.

    opened by rishabh115 3
  • Animation

    Animation

    Hello I cloned your project and try to use progressbar with animation like you showed in readme file . but in code there is no way or not did any code for animation . can you please help me for this. You uploaded gifs for progress but in my code gifs are not working can you please provide another solutions if possible . thanks.

    opened by tparth20 0
Releases(1.1.1)
Owner
Aseem Khare
Aseem Khare
: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 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
[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
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
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
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

Hitanshu Dhawan 38 Oct 30, 2022
Progress Button is a android library for hanling different types state like active, finished, enabled, disabled and reset with a single line of code.

Progress Button is a android library for hanling different types state like active, finished, enabled, disabled and reset with a single line of code.

Sagar Khurana 38 Nov 15, 2022
Android loading or progress dialog widget library, provide efficient way to implement iOS like loading dialog and progress wheel

ACProgressLite English Version / δΈ­ζ–‡η‰ˆζœ¬ An Android loading widget library. Lite and easy to use, strong customizability. Can be used to implement 'iOS'

Cloudist Technology Co., Ltd. 234 Nov 24, 2022
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
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

Manuel Peinado Gallego 655 Nov 10, 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
A customizable indeterminate progress bar

DilatingDotsProgressBar Installation compile 'com.github.justzak:dilatingdotsprogressbar:1.0.1' Usage <com.zl.reik.dilatingdotsprogressbar.DilatingDo

Zachary Reik 628 Sep 24, 2022
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:

Ed Khalturin 79 Nov 22, 2022
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

emad 74 Aug 26, 2022
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

Kaishu Sahu 69 Jul 25, 2022
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

ldoublem 629 Nov 14, 2022
An instagram-like segmented progress bar

An instagram-like segmented progress bar

Tiago Ornelas 286 Jan 6, 2023
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

Konstantinos Lountzis 19 Dec 30, 2022