Elastic Progress Bar Renew!

Overview

ElasticProgressBar

Twitter

API

License

Android Arsenal alt tag

Awesome

alt tag

alt tag

Elastic Progress Bar , is a loading bar made ​​for Android , the initial design is https://github.com/Tibolte/ElasticDownload , I applied some changes to make it accessible to everyone!

alt tag

##DONATIONS

This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated (and I love food, coffee and beer). Thank you!

PayPal

  • Donate $5: Thank's for creating this project, here's a coffee (or some beer) for you!

  • Donate $10: Wow, I am stunned. Let me take you to the movies!ù

  • Donate $15: I really appreciate your work, let's grab some lunch!

  • Donate $25: That's some awesome stuff you did right there, dinner is on me!

  • Donate $50: I really really want to support this project, great job!

  • Donate $100: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!

  • Donate $2799: Go buddy, buy Macbook Pro for yourself!

Of course, you can also choose what you want to donate, all donations are awesome!! Follow this link Donate!!

If you want to contribute you may download Donation App from Google Play

##USAGE

Elastic Progress Bar is pushed to JCenter, so you just need to add the following dependency to your build.gradle.

compile  'it.michelelacorte.elasticprogressbar:library:1.0.5'

In alternative you can use AAR repository with:

allprojects {
    repositories {
        maven { url "https://dl.bintray.com/michelelacorte/maven/" }
        jcenter()
        mavenCentral()

    }
}

And add this dependecies

compile  'it.michelelacorte.elasticprogressbar:library:1.0.5@aar'

In you layout.xml

    <it.michelelacorte.elasticprogressbar.ElasticDownloadView
        android:id="@+id/elastic_download_view"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerInParent="true"/>

Then in your MainActivity.java

ElasticDownloadView mElasticDownloadView;
mElasticDownloadView = (ElasticDownloadView)findViewById(R.id.elastic_download_view);

//Call startIntro() to start animation
mElasticDownloadView.startIntro();

//You can set progress
mElasticDownloadView.setProgress(10);

//If is finish animation
 mElasticDownloadView.success();
 
//Or fail
//mElasticDownloadView.fail();

You can set color background with (default is colorPrimary), make sure to call this before setContentView(..) of your activity:

OptionView.setBackgroundColorSquare(int color)

For set noBackground do this (without setBackgroundColorSquare, remember setBackgroundColorSquare is priority than noBackground

OptionView.noBackground = true;

alt tag

alt tag

##GENERAL ISSUE

  • Refer to issue #3

To solve Error in parsing "g/" you have to add on defaultConfig tag in build.gradle this line:

generatedDensities = []

####Download Example App on Google Play!

Get it on Google Play

####If you want to help me please download Donation App!!

Get it on Google Play

##SYSTEM REQUIREMENT

Android API 11+

##CHANGELOG

v1.0.5

  • Fixed issue #2
  • Update library and gradle to last version

v1.0.4

  • Compatibility with API 11+
  • Added boolean noIntro for set-up progress bar with no intro (OptionView class)
  • Added method getProgress() called by mElasticDownloadView
  • Add Example App to GitHub repo

v1.0.2

  • Minor Bug Fixed

v1.0.0

  • Support API 23
  • Added class OptionView.java for set-up progress bar with your own options
  • Added method isAnimationFinished() called by mElasticDownloadView
  • Removed @InjectView annotation for set-up progress bar (from lib com.jakewharton:butterknife)

Method called by OptionView

  • Added method setBackgroundColorSquare(int color) default is colorPrimary
  • Added method getColorBackgroundSquare()
  • Added method setColorCloud(int color) default is Color.WHITE
  • Added method getColorCloud
  • Added method setColorProgressBar(int color) default is Color.BLACK
  • Added method getColorProgressBar
  • Added method setColorProgressBarInProgress(int color) default is Color.BLACK
  • Added method getColorProgressBarInProgress
  • Added method setColorProgressBarText(int color) default is Color.BLACK
  • Added method getColorProgressBarText
  • Added method setColorSuccess(int color) default is colorPrimary
  • Added method getColorSuccess
  • Added method setColorFail(int color) default is colorPrimary
  • Added method getColorFail
  • Added boolean noBackground default is false

##CREDITS

Author: Tibolte https://github.com/Tibolte/ElasticDownload

Edit by: Michele Lacorte ([email protected])

Follow my Google+

##LICENSE

ElasticProgressBar new license

Copyright 2015 Michele Lacorte

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.

ElasticProgressBar original license

Copyright 2015 Thibault Guégan and Aron Ingi Óskarsson

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.

Support on Beerpay

Hey dude! Help me out for a couple of 🍻 !

Beerpay Beerpay

Comments
  • Hi mate! Error in parsing

    Hi mate! Error in parsing "g/"

    After syncing gradle, I get this error: Error:Execution failed for task ':app:mergeDebugResources'.

    J:\Workspace_V3\FlashFire\app\build\intermediates\exploded-aar\it.michelelacorte.elasticprogressbar\library\1.0.5\res\drawable\vd_start.xml: Error: error in parsing "g/"

    I dunno what is it

    opened by iRYO400 10
  • VectorDrawable: parser error

    VectorDrawable: parser error

    When I use a pre-lollipop device application displays the following exception:

    VectorDrawable: parser error org.xmlpull.v1.XmlPullParserException: Binary XML file line #2<menu_vector> tag requires viewportWidth > 0 at it.michelelacorte.elasticprogressbar.VectorCompat.VectorDrawable.updateStateFromTypedArray(VectorDrawable.java:355) ... Caused by: android.view.InflateException: Binary XML file line #8: Error inflating class it.michelelacorte.elasticprogressbar.ElasticDownloadView

    This does not happen when I use the library Guégan Thibault (Tibolte) with exactly the same scenario, however the level of customization that has added you, I think is excellent and really want to use this library in the project I'm currently developing.

    Sorry for my English and thank you very much for your great work.

    opened by Celggar 6
  • At first start

    At first start "noBackground" doesn't work

    At first start "noBackground" doesn't work and uses default colors.(( How I implemented it in onCreate()

    setContentView(R.layout.activity_launcher);
    OptionView.noBackground = true;
    

    thx

    opened by iRYO400 2
  • Big package

    Big package

    I know that it sounds not important but

    compile 'com.example.michele.michelelacorteelasticprogressbar:michelelacorteelasticprogressbar:1.0.2@aar'

    it is not so big?

    opened by danielgomezrico 2
  • Error inflating class

    Error inflating class

    Hi ! I have a problem with the OptionView.setBackgroundColorSquare when I put it before the set ContentView the app crashes by telling me that it cannot inflate your class

    Thanks !

    opened by msaada 3
  • How to event when progressBar is finish success?

    How to event when progressBar is finish success?

    With a progressBar normal i can use:

    setOnDismissListener(new ..)

    but with ElasticProgressBar i can't see that.

    How to do that?

    i tried if( mProgressDialog.isAnimationFinished()) in loop to check but when it run to 27% then event ..

    opened by AndroidLTG 3
Owner
Michele Lacorte
Android developer. Checkout my apps and libraries!
Michele Lacorte
:hourglass_flowing_sand: An android progress view developed after taking inspiration from Uber app.

A simple progress animation developed after taking inspiration from the Uber app. Demo Download Add this to your root build.gradle file allprojects {

Ishan Khanna 286 Dec 23, 2022
A material style progress wheel compatible with 2.3

![](https://img.shields.io/badge/Methods and size-106 | 12 KB-e91e63.svg) Material-ish Progress A material style progress wheel compatible with 2.3 Tr

Nico Hormazábal 2.5k Jan 4, 2023
:hourglass_flowing_sand: An android progress view developed after taking inspiration from Uber app.

A simple progress animation developed after taking inspiration from the Uber app. Demo Download Add this to your root build.gradle file allprojects {

Ishan Khanna 286 Dec 23, 2022
:sparkles: An easy way to implement an elastic touch effect for Android.

ElasticViews ✨ An easy way to implement an elastic touch effect for Android. Including in your project Gradle Add below codes to your root build.gradl

Jaewoong Eum 763 Dec 29, 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
🚀🌆🏙 Display differences or animate progress between 2 images or Composables with overlay and customization options, zoom, pan gestures, and progress to observe properties for animating before-after progress

Compose Before-After Composables to display Images, or Composables as before and after composables to display differences or animate progress between

Smart Tool Factory 56 Dec 22, 2022
[] Action bar implementation which uses the native action bar on Android 4.0+ and a custom implementation on pre-4.0 through a single API and theme.

DEPRECATED ActionBarSherlock is deprecated. No more development will be taking place. For an up-to-date action bar backport use AppCompat. Thanks for

Jake Wharton 7.1k Dec 24, 2022
This directory contains the model files (protos) for the Bar ServiceThis directory contains the model files (protos) for the Bar Service

This directory contains the model files (protos) for the Bar ServiceThis directory contains the model files (protos) for the Bar Service

Logesh Dinakaran 0 Nov 22, 2021
SystemUiController - Android Ui color controller (status bar, navigation bar)

SystemUiController Android system ui color controller (status bar, navigation bar) Download implementation "land.sungbin:systemuicontroller:${version}

Ji Sungbin 8 Dec 3, 2022
Bottom-App-Bar-with-Bottom-Navigation-in-Jetpack-compose-Android - Bottom App Bar with Bottom Navigation in Jetpack compose

Bottom-App-Bar-with-Bottom-Navigation-in-Jetpack-compose-Android This is simple

Shruti Patel 1 Jul 11, 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] 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
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
Material style circular progress bar for Android

Material CircularProgressView Indeterminate Determinate Description This CircularProgressView is a (surprisingly) circular progress bar Android View t

Rahat Ahmed 760 Nov 30, 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