{"id":17045953,"url":"https://github.com/hotbitmapgg/ringprogressbar","last_synced_at":"2025-05-16T01:05:48.408Z","repository":{"id":143052477,"uuid":"63243845","full_name":"HotBitmapGG/RingProgressBar","owner":"HotBitmapGG","description":"A material design circle the progress bar.","archived":false,"fork":false,"pushed_at":"2017-11-27T00:57:20.000Z","size":1572,"stargazers_count":780,"open_issues_count":7,"forks_count":147,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-05-16T01:05:42.732Z","etag":null,"topics":["material","progressbar","view"],"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/HotBitmapGG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-07-13T12:25:19.000Z","updated_at":"2025-03-30T11:52:21.000Z","dependencies_parsed_at":"2024-01-14T11:16:19.362Z","dependency_job_id":null,"html_url":"https://github.com/HotBitmapGG/RingProgressBar","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HotBitmapGG%2FRingProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HotBitmapGG%2FRingProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HotBitmapGG%2FRingProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HotBitmapGG%2FRingProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HotBitmapGG","download_url":"https://codeload.github.com/HotBitmapGG/RingProgressBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"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":["material","progressbar","view"],"created_at":"2024-10-14T09:43:01.819Z","updated_at":"2025-05-16T01:05:43.399Z","avatar_url":"https://github.com/HotBitmapGG.png","language":"Java","readme":"# RingProgressBar\n\n\n[![](https://jitpack.io/v/HotBitmapGG/RingProgressBar.svg)](https://jitpack.io/#HotBitmapGG/RingProgressBar) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-RingProgressBar-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/4326) [![Wercker](https://img.shields.io/wercker/ci/wercker/docs.svg?maxAge=2592000?style=plastic)]() [![Hex.pm](https://img.shields.io/hexpm/l/plug.svg?maxAge=2592000?style=plastic)]()\n\nA material design circle the progress bar,You can download it in image loading and file upload when used.\n\n\n## Screenshots\n\n\u003ca href=\"art/03.gif\"\u003e\u003cimg src=\"art/03.gif\" width=\"40%\"/\u003e\u003c/a\u003e\n\n\u003ca href=\"art/01.jpg\"\u003e\u003cimg src=\"art/01.jpg\" width=\"40%\"/\u003e\u003c/a\u003e \u003ca href=\"art/02.jpg\"\u003e\u003cimg src=\"art/02.jpg\" width=\"40%\"/\u003e\u003c/a\u003e\n\n## Import\n\n```java\n\n Step 1. Add the JitPack repository to your build file\n Add it in your root build.gradle at the end of repositories:\n\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url \"https://jitpack.io\" }\n\t\t}\n\t}\n\n\n\nStep 2. Add the dependency\n\n\tdependencies {\n\t        compile 'com.github.HotBitmapGG:RingProgressBar:V1.2.3'\n\t}\n\n```\n\n## Maven\n\n```java\nStep 1.\n\n\u003crepositories\u003e\n\t\t\u003crepository\u003e\n\t\t    \u003cid\u003ejitpack.io\u003c/id\u003e\n\t\t    \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\t\t\u003c/repository\u003e\n\t\u003c/repositories\u003e\n\n\n\n\nStep 2. Add the dependency\n\n\t\u003cdependency\u003e\n\t    \u003cgroupId\u003ecom.github.HotBitmapGG\u003c/groupId\u003e\n\t    \u003cartifactId\u003eRingProgressBar\u003c/artifactId\u003e\n\t    \u003cversion\u003eV1.2.2\u003c/version\u003e\n\t\u003c/dependency\u003e\n\n```\n\n\n## Directions\n\n* custom properties\n\nname | format | instructions\n-----|------|----\nringColor    | color    | Color ring\nringProgressColor   | color     | Progress of color\nringWidth    | dimension    | Ring width of progress\ntextColor   | color   | Text color\ntextSize    | dimension    | Text size\nmax    | integer    | Max progress\ntextIsShow    | boolean    | Is display text\nstyle    | STROKE\u0026 FILL   | Circle progress style\n\n\n## Usage\n\n* 1.In the XML\n\n```java\n\n    \u003cio.netopen.hotbitmapgg.library.view.RingProgressBar\n        android:id=\"@+id/progress_bar_1\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_centerInParent=\"true\"\n        android:layout_alignParentTop=\"true\"\n        app:max=\"100\"\n        android:layout_marginTop=\"100dp\"\n        app:ringColor=\"@color/colorPrimary\"\n        app:ringProgressColor=\"@color/colorPrimaryDark\"\n        app:ringWidth=\"3dp\"\n        app:style=\"FILL\"\n        app:textColor=\"@color/colorPrimary\"\n        app:textIsShow=\"true\"\n        app:textSize=\"16sp\" /\u003e\n\n\n\n    \u003cio.netopen.hotbitmapgg.library.view.RingProgressBar\n        android:id=\"@+id/progress_bar_2\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_centerInParent=\"true\"\n        android:layout_alignParentBottom=\"true\"\n        android:layout_marginBottom=\"100dp\"\n        app:max=\"100\"\n        app:ringColor=\"@android:color/darker_gray\"\n        app:ringProgressColor=\"@color/colorPrimary\"\n        app:ringWidth=\"3dp\"\n        app:style=\"STROKE\"\n        app:textColor=\"@color/colorPrimary\"\n        app:textIsShow=\"true\"\n        app:textSize=\"16sp\" /\u003e\n\n```\n\n* 2.In the code\n\n```java\n\n  mRingProgressBar = (RingProgressBar) findViewById(R.id.progress_bar);\n\n  // Set the progress bar's progress\n  mRingProgressBar.setProgress(progress);\n  mRingProgressBar.setOnProgressListener(new RingProgressBar.OnProgressListener()\n  {\n\n    @Override\n     public void progressToComplete()\n     {\n         // Progress reaches the maximum callback default Max value is 100\n         Toast.makeText(MainActivity.this, \"complete\", Toast.LENGTH_SHORT).show();\n     }\n  });\n\n```\n\n\n## About me\n\n[![Wercker](https://img.shields.io/badge/weibo-HotBitmapGG-blue.svg)](http://weibo.com/3223089177/profile?topnav=1\u0026wvr=6\u0026is_all=1)\n\nAn android developer in Wuhan.\n\nIf you want to make friends with me, You can focus on my weibo.\n\n\n## License\n\n Copyright 2017 HotBitmapGG\n\n 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\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n 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.\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotbitmapgg%2Fringprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhotbitmapgg%2Fringprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotbitmapgg%2Fringprogressbar/lists"}