{"id":3472,"url":"https://github.com/michelelacorte/ElasticProgressBar","last_synced_at":"2025-08-03T20:32:24.340Z","repository":{"id":201342252,"uuid":"45143201","full_name":"michelelacorte/ElasticProgressBar","owner":"michelelacorte","description":"Elastic Progress Bar Renew!","archived":false,"fork":false,"pushed_at":"2017-02-26T11:20:11.000Z","size":133,"stargazers_count":315,"open_issues_count":3,"forks_count":37,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-16T14:34:32.329Z","etag":null,"topics":["android","android-library","android-ui","java","progress-bar","ui"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michelelacorte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-10-28T21:34:25.000Z","updated_at":"2024-03-26T11:12:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"1283616b-5e26-46eb-a633-ca391844d3bb","html_url":"https://github.com/michelelacorte/ElasticProgressBar","commit_stats":null,"previous_names":["michelelacorte/elasticprogressbar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelelacorte%2FElasticProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelelacorte%2FElasticProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelelacorte%2FElasticProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelelacorte%2FElasticProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michelelacorte","download_url":"https://codeload.github.com/michelelacorte/ElasticProgressBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228567009,"owners_count":17937983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","android-ui","java","progress-bar","ui"],"created_at":"2024-01-05T20:16:42.460Z","updated_at":"2024-12-07T05:30:29.225Z","avatar_url":"https://github.com/michelelacorte.png","language":"Java","funding_links":["https://www.paypal.me/MicheleLacorte)!!","https://www.paypal.me/MicheleLacorte/5","https://www.paypal.me/MicheleLacorte/10","https://www.paypal.me/MicheleLacorte/15","https://www.paypal.me/MicheleLacorte/25","https://www.paypal.me/MicheleLacorte/50","https://www.paypal.me/MicheleLacorte/100","https://www.paypal.me/MicheleLacorte/2799"],"categories":["ALL","Libraries"],"sub_categories":["GUI"],"readme":"# ElasticProgressBar\n\n[![Twitter](https://img.shields.io/badge/Twitter-@LacorteMichele-blue.svg?style=flat)](https://twitter.com/LacorteMichele)\n\n[![API](https://img.shields.io/badge/API-11%2B-orange.svg?style=flat)](https://android-arsenal.com/api?level=11)\n\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ElasticProgressBar-green.svg?style=true)](https://android-arsenal.com/details/1/2826)\n[![alt tag](http://www.android-gems.com/badge/michelelacorte/ElasticProgressBar.svg)](http://www.android-gems.com/lib/michelelacorte/ElasticProgressBar?lib_id=697)\n\n[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\n![alt tag](https://raw.githubusercontent.com/Tibolte/ElasticDownload/master/success.gif)\n\n![alt tag](https://raw.githubusercontent.com/Tibolte/ElasticDownload/master/fail.gif)\n\nElastic 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!\n\n![alt tag](http://i.giphy.com/3o85xBKcPnsY2xAuZi.gif)\n\n##DONATIONS\n\nThis 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!\n\n**PayPal**\n\n* **[Donate $5]**: Thank's for creating this project, here's a coffee (or some beer) for you!\n\n* **[Donate $10]**: Wow, I am stunned. Let me take you to the movies!ù\n\n* **[Donate $15]**: I really appreciate your work, let's grab some lunch!\n\n* **[Donate $25]**: That's some awesome stuff you did right there, dinner is on me!\n\n* **[Donate $50]**: I really really want to support this project, great job!\n\n* **[Donate $100]**: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!\n\n* **[Donate $2799]**: Go buddy, buy Macbook Pro for yourself!\n\nOf course, you can also choose what you want to donate, all donations are awesome!! Follow this link [Donate](https://www.paypal.me/MicheleLacorte)!!\n\nIf you want to contribute you may download [Donation App](https://play.google.com/store/apps/details?id=it.michelelacorte.githubdonation) from Google Play\n\n\n##USAGE\n\nElastic Progress Bar is pushed to JCenter, so you just need to add the following dependency to your `build.gradle`.\n```\ncompile  'it.michelelacorte.elasticprogressbar:library:1.0.5'\n```\n\nIn alternative you can use AAR repository with:\n\n```\nallprojects {\n    repositories {\n        maven { url \"https://dl.bintray.com/michelelacorte/maven/\" }\n        jcenter()\n        mavenCentral()\n\n    }\n}\n```\n\nAnd add this dependecies\n\n```\ncompile  'it.michelelacorte.elasticprogressbar:library:1.0.5@aar'\n```\n\nIn you `layout.xml`\n\n```\n    \u003cit.michelelacorte.elasticprogressbar.ElasticDownloadView\n        android:id=\"@+id/elastic_download_view\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentBottom=\"true\"\n        android:layout_centerInParent=\"true\"/\u003e\n```\n\nThen in your `MainActivity.java`\n\n```\nElasticDownloadView mElasticDownloadView;\nmElasticDownloadView = (ElasticDownloadView)findViewById(R.id.elastic_download_view);\n\n//Call startIntro() to start animation\nmElasticDownloadView.startIntro();\n\n//You can set progress\nmElasticDownloadView.setProgress(10);\n\n//If is finish animation\n mElasticDownloadView.success();\n \n//Or fail\n//mElasticDownloadView.fail();\n```\n\nYou can set color background with (default is `colorPrimary`), make sure to call this before `setContentView(..)` of your activity:\n\n```\nOptionView.setBackgroundColorSquare(int color)\n```\n\nFor set `noBackground` do this (without `setBackgroundColorSquare`, remember `setBackgroundColorSquare` is priority than `noBackground`\n\n```\nOptionView.noBackground = true;\n```\n\n![alt tag](http://s27.postimg.org/t7xk0iqz7/Screenshot_2015_11_02_15_21_25.png)\n\n![alt tag](http://s1.postimg.org/g5wq1wwn3/Screenshot_2015_11_02_15_21_32.png)\n\n##GENERAL ISSUE\n - Refer to issue [#3](https://github.com/michelelacorte/ElasticProgressBar/issues/3)\n \nTo solve `Error in parsing \"g/\"` you have to add on `defaultConfig` tag in `build.gradle` this line:\n\n    generatedDensities = []\n    \n####Download Example App on Google Play!\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=it.michelelacorte.exampleprogressbar\"\u003e\n\u003cimg alt=\"Get it on Google Play\" src=\"https://s32.postimg.org/50h5qj4lx/google_play_badge.png\" /\u003e\n\u003c/a\u003e\n\n\n####If you want to help me please download Donation App!!\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=it.michelelacorte.githubdonation\"\u003e\n\u003cimg alt=\"Get it on Google Play\" src=\"https://s32.postimg.org/50h5qj4lx/google_play_badge.png\" /\u003e\n\u003c/a\u003e\n\n##SYSTEM REQUIREMENT\n\nAndroid API 11+\n\n##CHANGELOG\n\n**v1.0.5**\n- Fixed issue [#2](https://github.com/michelelacorte/ElasticProgressBar/issues/2)\n- Update library and gradle to last version\n\n**v1.0.4**\n- Compatibility with API 11+\n- Added boolean `noIntro` for set-up progress bar with no intro (OptionView class)\n- Added method `getProgress()` called by mElasticDownloadView\n- Add Example App to GitHub repo\n\n**v1.0.2**\n- Minor Bug Fixed\n \n**v1.0.0**\n- Support API 23\n- Added class `OptionView.java` for set-up progress bar with your own options\n- Added method `isAnimationFinished()` called by mElasticDownloadView\n- Removed `@InjectView` annotation for set-up progress bar (from lib com.jakewharton:butterknife)\n\nMethod called by `OptionView`\n\n- Added method `setBackgroundColorSquare(int color)` default is `colorPrimary`\n- Added method `getColorBackgroundSquare()`\n- Added method `setColorCloud(int color)` default is `Color.WHITE`\n- Added method `getColorCloud`\n- Added method `setColorProgressBar(int color)` default is `Color.BLACK`\n- Added method `getColorProgressBar`\n- Added method `setColorProgressBarInProgress(int color)` default is `Color.BLACK`\n- Added method `getColorProgressBarInProgress`\n- Added method `setColorProgressBarText(int color)` default is `Color.BLACK`\n- Added method `getColorProgressBarText`\n- Added method `setColorSuccess(int color)` default is `colorPrimary`\n- Added method `getColorSuccess`\n- Added method `setColorFail(int color)` default is `colorPrimary`\n- Added method `getColorFail`\n- Added boolean `noBackground` default is false\n\n##CREDITS\n\nAuthor: Tibolte https://github.com/Tibolte/ElasticDownload\n\nEdit by: Michele Lacorte (micky1995g@gmail.com)\n\nFollow my [Google+](https://plus.google.com/u/0/collection/McidZB)\n\n##LICENSE\n\nElasticProgressBar new license\n\n```\nCopyright 2015 Michele Lacorte\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\nElasticProgressBar original license\n\n```\nCopyright 2015 Thibault Guégan and Aron Ingi Óskarsson\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n[Donate $5]: \t\thttps://www.paypal.me/MicheleLacorte/5\n[Donate $10]:  \t\thttps://www.paypal.me/MicheleLacorte/10\n[Donate $15]:  \t\thttps://www.paypal.me/MicheleLacorte/15\n[Donate $25]:  \t\thttps://www.paypal.me/MicheleLacorte/25\n[Donate $50]: \t\thttps://www.paypal.me/MicheleLacorte/50\n[Donate $100]: \t\thttps://www.paypal.me/MicheleLacorte/100\n[Donate $2799]: \thttps://www.paypal.me/MicheleLacorte/2799\n\n## Support on Beerpay\nHey dude! Help me out for a couple of :beers:!\n\n[![Beerpay](https://beerpay.io/michelelacorte/ElasticProgressBar/badge.svg?style=beer-square)](https://beerpay.io/michelelacorte/ElasticProgressBar)  [![Beerpay](https://beerpay.io/michelelacorte/ElasticProgressBar/make-wish.svg?style=flat-square)](https://beerpay.io/michelelacorte/ElasticProgressBar?focus=wish)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelelacorte%2FElasticProgressBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichelelacorte%2FElasticProgressBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelelacorte%2FElasticProgressBar/lists"}