{"id":21130105,"url":"https://github.com/lsjwzh/MaterialLoadingProgressBar","last_synced_at":"2025-07-09T01:32:18.745Z","repository":{"id":26936300,"uuid":"30398782","full_name":"lsjwzh/MaterialLoadingProgressBar","owner":"lsjwzh","description":"MaterialLoadingProgressBar   provide a styled ProgressBar which looks  like SwipeRefreshLayout's loading indicator(support-v4  v21+)","archived":false,"fork":false,"pushed_at":"2020-10-02T06:40:32.000Z","size":563,"stargazers_count":1090,"open_issues_count":7,"forks_count":216,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-05-23T01:06:58.686Z","etag":null,"topics":[],"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/lsjwzh.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}},"created_at":"2015-02-06T06:32:17.000Z","updated_at":"2025-05-03T13:00:45.000Z","dependencies_parsed_at":"2022-08-31T14:00:22.069Z","dependency_job_id":null,"html_url":"https://github.com/lsjwzh/MaterialLoadingProgressBar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lsjwzh/MaterialLoadingProgressBar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsjwzh%2FMaterialLoadingProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsjwzh%2FMaterialLoadingProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsjwzh%2FMaterialLoadingProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsjwzh%2FMaterialLoadingProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsjwzh","download_url":"https://codeload.github.com/lsjwzh/MaterialLoadingProgressBar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsjwzh%2FMaterialLoadingProgressBar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264375374,"owners_count":23598365,"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":[],"created_at":"2024-11-20T05:32:17.227Z","updated_at":"2025-07-09T01:32:18.384Z","avatar_url":"https://github.com/lsjwzh.png","language":"Java","readme":"[![Android Weekly](https://img.shields.io/badge/android--weekly-143-blue.svg)](http://androidweekly.net/issues/issue-143)  [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-%20MaterialLoadingProgressBar-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1525)\n# MaterialLoadingProgressBar\nMaterialLoadingProgressBar   provide a styled ProgressBar which looks  like SwipeRefreshLayout's loading indicator(support-v4  v21+)\n\n![ProgressBar](https://github.com/lsjwzh/MaterialLoadingProgressBar/blob/master/screen.gif)\n## Usage\n\n### how to import?    \nadd this into gradle\n\n    compile('com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE')\n\n\n### xml:    \n\n```\n\u003ccom.lsjwzh.widget.materialloadingprogressbar.CircleProgressBar\n        android:id=\"@+id/progressBar\"\n        android:layout_width=\"60dp\"\n        android:layout_height=\"60dp\"/\u003e\n```\n### options:\n\n```\n\u003ccom.lsjwzh.widget.materialloadingprogressbar.CircleProgressBar\n        android:id=\"@+id/progressBar\"\n\n        app:mlpb_show_arrow=\"true\"\n        app:mlpb_arrow_height=\"5dp\"\n        app:mlpb_arrow_width=\"10dp\"\n        app:mlpb_enable_circle_background=\"true\"\n\n        app:mlpb_progress_stoke_width=\"5dp\"\n        app:mlpb_progress_text_visibility=\"visible\"\n        android:layout_width=\"60dp\"\n        android:layout_height=\"60dp\"/\u003e\n```\n\n### java api:\n#### show arrow\n'CircleProgressBar' will not show arrow by default.\nYou can enable arrow drawing like this:\n```\n    circleProgressBar.setShowArrow(true);\n```\n\n#### Disable circle background\nThere is a white circle background on drawing 'CircleProgressBar' by default.\nIf you need hide the circle background,you can add a xml item\n\n```\n    app:mlpb_enable_circle_background=\"false\"\n```\n\nor set it by java code\n```\n   circleProgressBar.setCircleBackgroundEnabled(false);\n```\n\n### release notes:\n    0.5.7:  fix bugs\n    0.5.6:  fix bugs\n    0.5.5:  fix bug: android:visibility XML attribute does not work #6\n\n    0.5.4:  fix bug: attr progress_color invalid;Restarting Progress bar does not animate #5\n\n    0.5.3: \tadd default ring color;fix bug:NPE happens when ring color has never been setted.\n\n    0.5.2: \tsupport setColorSchemeColors.\n\n\t0.5.1:  fix bug: arrow be putting into incorrect position.    \n\n\t0.5.0: \tsupport enable/disable circle back ground.    \n\n\t0.4.0:  fix bug:#1 :progressbar can not hide.    \n        \tfix bug:#2 :progressbar show full ring when running  too long.\n        \t\n\t0.3.0:  add showArrow option.\n\n\n\nLicense\n-------\n\n    Copyright 2014 lsjwzh\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","funding_links":[],"categories":["Libs","\u003ca name=\"Widget\"\u003eWidget\u003c/a\u003e"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget","Personal Blog"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsjwzh%2FMaterialLoadingProgressBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsjwzh%2FMaterialLoadingProgressBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsjwzh%2FMaterialLoadingProgressBar/lists"}