{"id":13396310,"url":"https://github.com/jpardogo/GoogleProgressBar","last_synced_at":"2025-03-13T22:32:05.235Z","repository":{"id":15421949,"uuid":"18154271","full_name":"jpardogo/GoogleProgressBar","owner":"jpardogo","description":"Android library to display progress like google does in some of his services.","archived":false,"fork":false,"pushed_at":"2019-10-16T11:30:19.000Z","size":1312,"stargazers_count":1298,"open_issues_count":6,"forks_count":271,"subscribers_count":61,"default_branch":"master","last_synced_at":"2024-10-29T17:49:13.819Z","etag":null,"topics":["android-library","animation","animations","dice","googleprogressbar","nexus-cross","progressbar"],"latest_commit_sha":null,"homepage":null,"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/jpardogo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-26T21:19:29.000Z","updated_at":"2024-08-16T01:27:48.000Z","dependencies_parsed_at":"2022-09-16T01:24:24.379Z","dependency_job_id":null,"html_url":"https://github.com/jpardogo/GoogleProgressBar","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpardogo%2FGoogleProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpardogo%2FGoogleProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpardogo%2FGoogleProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpardogo%2FGoogleProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpardogo","download_url":"https://codeload.github.com/jpardogo/GoogleProgressBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243494254,"owners_count":20299788,"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-library","animation","animations","dice","googleprogressbar","nexus-cross","progressbar"],"created_at":"2024-07-30T18:00:44.476Z","updated_at":"2025-03-13T22:32:04.929Z","avatar_url":"https://github.com/jpardogo.png","language":"Java","readme":"GoogleProgressBar \n=================\n\n**This library is not maintained anymore and there will be no further releases**\n\nAndroid library to display different kind of google related animations for the progressBar.\n\nThese animations have been finished so far:\n  \n![FoldingCirclesProgressBar][3] ![GoogleMusicDicesDrawable][4] ![NexusRotationCross.gif][5] ![NexusRotationCross.gif][11]\n\nTODO\n----\n\n * Different colors for the already existing `GoogleMusicDicesDrawable'. Either the whole dice or his faces.\n\nI also would love to receive your pull requests to create any of the following animations or others that you think fit on this library:\n\n * [NEXUS_CIRCLES](http://ikslawok.free.fr/my_nexus_fr/nexus_5/bootanimation_nexus_5.gif):\n\n    Nexus 5 circles boot progress animation (Just the circles bouncing)\n\n * [NEXUS_CROSS](http://devfest.gdgthess.org/wp-content/uploads/2013/11/nexus-4-boot-animation.gif):\n\n    Galaxy nexus shinny cross boot animation\n \n \n\nUsage\n-----\n\n######Dynamically\nAdd a ProgressBar to the xml layout:\n\n```xml\n     \u003cProgressBar\n            android:id=\"@+id/google_progress\"\n            android:layout_width=\"50dp\"\n            android:layout_height=\"50dp\"\n            android:layout_gravity=\"center\"/\u003e\n```\n\nChoose from the list of `Drawable`s the one you want to use and place it in your code:\n\n```java\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_main);\n        ButterKnife.inject(this);\n        mProgressBar.setIndeterminateDrawable(new your_list_option.Builder(this)\n                    .build());\n        //...\n    }\n```\n\n`your_list_option` can be replace for:\n\n* FoldingCirclesDrawable\n* GoogleMusicDicesDrawable\n* NexusRotationCrossDrawable\n* ChromeFloatingCircles\n\nThe more custom `Drawable`s finished, the more options in this list.\n\n**Attributes depending on the drawable:**\n\n######Color\n```java\n    mProgressBar.setIndeterminateDrawable(new you_list_option.Builder(this)\n                                                             .colors(getResources().getIntArray(R.array.colors) //Array of 4 colors\n                                                             .build());\n```\n\n* FoldingCirclesDrawable\n* NexusRotationCrossDrawable\n* ChromeFloatingCirclesDrawable\n\nSo far `GoogleMusicDicesDrawable` doesn't have color options.\nThe animation speed can be modified easily with `android:indeterminateDuration` in the xml.\n\nIf not colors are define the 4 default google colors (red,blue, yellow and green) will be used.\n\n######From XML\n\nWhen you want to use the `GoogleProgresBar` from XML you need to add the following view to your layout:\n\n```java\n    \u003ccom.jpardogo.android.googleprogressbar.library.GoogleProgressBar\n            android:id=\"@+id/google_progress\"\n            android:layout_width=\"50dp\"\n            android:layout_height=\"50dp\"\n            android:layout_gravity=\"center\"\n            gpb:type=\"your_list_option\"/\u003e\n```\nThe require attribute `gpb:type` will specify the type of `ProgressBar` to display\n\n`your_list_option` can be replace for:\n\n* folding_circles\n* nexus_rotation_cross\n* google_music_dices\n* chrome_floating_circles\n\nThe more custom `Drawable`s finished, the more options in this list.\n\nEach type of `GoogleProgressBar` have different attributes:\n\n**Attributes depending on type:**\n######Color\n* folding_circles\n* nexus_rotation_cross\n    * `gpb:colors=\"@array/colors\"`\n        * Optional, If not colors are define the 4 default google colors (red,blue, yellow and green) will be used.\n        * It needs to be an array of 4 colors\n\nSo far `google_music_dices` doesn't have color options.\nThe animation speed can be modified easily with `android:indeterminateDuration` in the xml.\n\nIncluding in your project\n-------------------------\n\nYou can either add the library to your application as a library project or add the following dependency to your build.gradle:\n\n![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jpardogo.googleprogressbar/library/badge.svg)\n\n```groovy\ndependencies {\n    compile 'com.jpardogo.googleprogressbar:library:(latest version)'\n}\n```\n\nProguard\n--------\nIn order to use this library with proguard you need to add this line to your `proguard.cfg`:\n\n```grovy\n-keep class com.jpardogo.android.googleprogressbar.** { *; }\n````\n\nHow to contribute?\n------------------\n- Pull request to dev branch NO master.\n\nAcknowledgements\n----------------\n* Thanks to [RomainPiel][8],[Melnykov Oleksandr][9], [Evelio Tarazona Cáceres][10] and [MewX][12] for his collaboration.\n* Thanks to [Gabriele Mariotti][6] for his [colorpickercollection repo][7] that help me to create the example app.\n\nDeveloped By\n------------\n\nJavier Pardo de Santayana Gómez - \u003cjpardogo@gmail.com\u003e\n\n\u003ca href=\"https://twitter.com/jpardogo\"\u003e\n  \u003cimg alt=\"Follow me on Twitter\"\n       src=\"https://raw.github.com/jpardogo/ListBuddies/master/art/ic_twitter.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://plus.google.com/u/0/+JavierPardo/posts\"\u003e\n  \u003cimg alt=\"Follow me on Google+\"\n       src=\"https://raw.github.com/jpardogo/ListBuddies/master/art/ic_google+.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"http://www.linkedin.com/profile/view?id=155395637\"\u003e\n  \u003cimg alt=\"Follow me on LinkedIn\"\n       src=\"https://raw.github.com/jpardogo/ListBuddies/master/art/ic_linkedin.png\" /\u003e\n\nLicense\n-----------\n\n    Copyright 2013 Javier Pardo de Santayana Gómez\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n[1]: https://play.google.com/store/apps/details?id=com.jpardogo.android.googleprogressbar\n[2]: https://raw.github.com/jpardogo/ListBuddies/master/art/google_play%20badge.png\n[3]: https://raw.githubusercontent.com/jpardogo/GoogleProgressBar/master/art/GoogleProgressBar.gif\n[4]: https://raw.githubusercontent.com/jpardogo/GoogleProgressBar/dev/art/GoogleDices.gif\n[5]: https://raw.githubusercontent.com/jpardogo/GoogleProgressBar/master/art/NexusRotationCross.gif\n[6]: https://github.com/gabrielemariotti\n[7]: https://github.com/gabrielemariotti/colorpickercollection\n[8]: https://github.com/RomainPiel\n[9]: https://github.com/makovkastar\n[10]: https://github.com/eveliotc\n[11]: https://raw.githubusercontent.com/MewX/google-progress-bar/gpb-chrome/art/ChromeFloatingCircles.gif\n[12]: https://github.com/MewX\n","funding_links":[],"categories":["Index `(light-weight pages)`","Index","Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpardogo%2FGoogleProgressBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpardogo%2FGoogleProgressBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpardogo%2FGoogleProgressBar/lists"}