{"id":3495,"url":"https://github.com/emre1512/CircleProgressBar","last_synced_at":"2025-07-31T13:30:27.965Z","repository":{"id":215156453,"uuid":"98934738","full_name":"emre1512/CircleProgressBar","owner":"emre1512","description":"A simple library for creating circular progressbars for Android","archived":false,"fork":false,"pushed_at":"2019-10-05T20:16:17.000Z","size":174,"stargazers_count":113,"open_issues_count":5,"forks_count":33,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-15T00:20:03.550Z","etag":null,"topics":["android","android-ui","circle","circular-progress","circular-progress-bar","progressbar"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emre1512.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":"2017-07-31T22:18:27.000Z","updated_at":"2024-05-22T07:20:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2fc5ad3-cafe-4012-9799-41cf32a1403a","html_url":"https://github.com/emre1512/CircleProgressBar","commit_stats":null,"previous_names":["emre1512/circleprogressbar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emre1512%2FCircleProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emre1512%2FCircleProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emre1512%2FCircleProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emre1512%2FCircleProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emre1512","download_url":"https://codeload.github.com/emre1512/CircleProgressBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228248515,"owners_count":17891447,"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-ui","circle","circular-progress","circular-progress-bar","progressbar"],"created_at":"2024-01-05T20:16:43.130Z","updated_at":"2024-12-05T06:31:33.113Z","avatar_url":"https://github.com/emre1512.png","language":"Java","readme":"# CircleProgressBar\n\n![https://github.com/emre1512/CircleProgressBar](https://img.shields.io/badge/platform-Android-green.svg?style=flat-square)\n![https://github.com/emre1512/CircleProgressBar](https://img.shields.io/badge/API-16+-orange.svg?style=flat-square)\n![https://www.apache.org/licenses/LICENSE-2.0](https://img.shields.io/badge/licence-Apache%20v2.0-blue.svg?style=flat-square)\n![https://github.com/emre1512/CircleProgressBar](https://img.shields.io/badge/version-v1.0.8-ff69b4.svg?style=flat-square)\n\nA simple library for creating circular progressbars for Android.\n\n## Examples\n\n![](https://media.giphy.com/media/l0EoBe4BwiR8MIKXu/giphy.gif)\n\n## Installation\n\n- Get it via gradle: ``` implementation 'com.emredavarci:CircleProgressBar:1.0.8' ```\n## Usage\n\n1) Add CircleProgressBar to your layout\n\n```xml\n    \u003ccom.emredavarci.circleprogressbar.CircleProgressBar\n    \txmlns:cpb=\"http://schemas.android.com/apk/res-auto\"\n        android:id=\"@+id/progressBar\"\n        android:layout_width=\"150dp\"\n        android:layout_height=\"150dp\"\n        cpb:progressColor=\"#e76130\"\n        cpb:backgroundColor=\"#e7b330\"\n        cpb:dimension=\"14\"\n        cpb:backgroundWidth=\"8\"\n        cpb:textSize=\"18sp\"\n        cpb:roundedCorners=\"true\"\n        cpb:suffix=\"%\"\n        cpb:prefix=\"\"\n        cpb:progressText=\"Loading...\"\n        cpb:maxValue=\"100\"\n        cpb:progressTextColor=\"#f9916b\"/\u003e\n```\n\n2) Get it from your activity/fragment etc.\n\n```java\n\tCircleProgressBar progressBar = (CircleProgressBar) findViewById(R.id.progressBar);\n\tprogressBar.setProgress(progress1);\n```\n\nYou can modify it programmatically if you want\n\n\u003cb\u003eSetters\u003c/b\u003e\n\n```java\n\tprogressBar.setProgress(progress); \t\t// set progress value\n\tprogressBar.setMaxValue(100); \t\t\t// set progress max value\n\tprogressBar.setStrokeWidthDimension(10); \t\t// set stroke width\n\tprogressBar.setBackgroundWidth(10); \t\t// set progress background width\n\tprogressBar.setProgressColor(\"#FF6FD99D\"); \t// set progress color\n\tprogressBar.setBackgroundColor(\"#FFF9916B\"); \t// set progress backgorund color\n\tprogressBar.setText(String.valueOf(progress)); \t// set progress text\n\tprogressBar.setTextColor(\"#FF6FD99D\"); \t\t// set text color\n\tprogressBar.setSuffix(\"%\"); \t\t\t// set suffix\n\tprogressBar.setPrefix(\"\"); \t\t\t// set prefix\n```\n\n\u003cb\u003eGetters\u003c/b\u003e\n\n```java\n\tprogressBar.getProgress();\t\t\t// get progress value\n\tprogressBar.getProgressPercentage();\t\t// get progress percentage\n\tprogressBar.getMaxValue();\t\t\t// get progress max value\n\tprogressBar.getStrokeWidthDimension();\t\t\t// get stroke width\n\tprogressBar.getBackgroundWidth();\t\t// get progress background width\n\tprogressBar.getProgressColor();\t\t\t// get progress color\n\tprogressBar.getBackgroundColor();\t\t// get progress backgorund color\n\tprogressBar.getText();  \t\t\t// get progress text\n\tprogressBar.getTextColor();\t\t\t// get text color\n\tprogressBar.getSuffix();\t\t\t// get suffix\n\tprogressBar.getPrefix();\t\t\t// get prefix\n```\n\n## LICENSE\n\nCopyright 2017 M. Emre Davarci\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\n\n\n\n\n","funding_links":[],"categories":["Libraries"],"sub_categories":["GUI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femre1512%2FCircleProgressBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femre1512%2FCircleProgressBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femre1512%2FCircleProgressBar/lists"}