{"id":15036983,"url":"https://github.com/lopspower/circularprogressbar","last_synced_at":"2025-10-06T03:53:04.769Z","repository":{"id":2242974,"uuid":"44628138","full_name":"lopspower/CircularProgressBar","owner":"lopspower","description":"Create circular ProgressBar in Android ⭕","archived":false,"fork":false,"pushed_at":"2023-04-17T14:21:49.000Z","size":3373,"stargazers_count":1791,"open_issues_count":26,"forks_count":225,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-10-06T03:43:29.294Z","etag":null,"topics":["android","circularprogressbar"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/lopspower.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"lopspower","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-10-20T18:56:21.000Z","updated_at":"2025-10-05T01:12:51.000Z","dependencies_parsed_at":"2023-07-05T19:49:30.780Z","dependency_job_id":null,"html_url":"https://github.com/lopspower/CircularProgressBar","commit_stats":{"total_commits":89,"total_committers":2,"mean_commits":44.5,"dds":"0.011235955056179803","last_synced_commit":"55f69265adda391178f742ba6a40ecbc4f23a516"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lopspower/CircularProgressBar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopspower%2FCircularProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopspower%2FCircularProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopspower%2FCircularProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopspower%2FCircularProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lopspower","download_url":"https://codeload.github.com/lopspower/CircularProgressBar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopspower%2FCircularProgressBar/sbom","scorecard":{"id":598932,"data":{"date":"2025-08-11","repo":{"name":"github.com/lopspower/CircularProgressBar","commit":"55f69265adda391178f742ba6a40ecbc4f23a516"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}}]},"last_synced_at":"2025-08-20T23:52:09.690Z","repository_id":2242974,"created_at":"2025-08-20T23:52:09.690Z","updated_at":"2025-08-20T23:52:09.690Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278556190,"owners_count":26006081,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","circularprogressbar"],"created_at":"2024-09-24T20:32:56.722Z","updated_at":"2025-10-06T03:53:04.743Z","avatar_url":"https://github.com/lopspower.png","language":"Kotlin","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"/preview/header.png\"\u003e\u003c/p\u003e\n\nCircularProgressBar\n=================\n\n\u003cimg src=\"/preview/preview.gif\" alt=\"sample\" title=\"sample\" width=\"300\" height=\"480\" align=\"right\" vspace=\"24\" /\u003e\n\n[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)\n[![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)\n[![Maven Central](https://img.shields.io/maven-central/v/com.mikhaellopez/circularprogressbar.svg?label=Maven%20Central)](https://search.maven.org/artifact/com.mikhaellopez/circularprogressbar)\n[![Twitter](https://img.shields.io/badge/Twitter-@LopezMikhael-blue.svg?style=flat)](http://twitter.com/lopezmikhael)\n\nThis is an Android project allowing to realize a circular ProgressBar in the simplest way possible.\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.mikhaellopez.lopspower\"\u003e\n  \u003cimg alt=\"Android app on Google Play\" src=\"https://developer.android.com/images/brand/en_app_rgb_wo_45.png\" /\u003e\n\u003c/a\u003e\n\nUSAGE\n-----\n\nTo make a circular ProgressBar add CircularProgressBar in your layout XML and add CircularProgressBar library in your project or you can also grab it via Gradle:\n\n```groovy\nimplementation 'com.mikhaellopez:circularprogressbar:3.1.0'\n```\n\nXML\n-----\n\n```xml\n\u003ccom.mikhaellopez.circularprogressbar.CircularProgressBar\n    android:id=\"@+id/circularProgressBar\"\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:cpb_background_progressbar_color=\"#b6bbd8\"\n    app:cpb_background_progressbar_width=\"5dp\"\n    app:cpb_progress_direction=\"to_right\"\n    app:cpb_progressbar_color=\"#3f51b5\"\n    app:cpb_progressbar_width=\"10dp\"\n    app:cpb_round_border=\"false\" /\u003e\n```\n\nYou must use the following properties in your XML to change your CircularProgressBar.\n\n| Properties                                       | Type                                                         | Default               |\n| ------------------------------------------------ | ------------------------------------------------------------ | --------------------- |\n| `app:cpb_progress`                               | integer                                                      | 0                     |\n| `app:cpb_progress_max`                           | integer                                                      | 100                   |\n| `app:cpb_indeterminate_mode`                     | boolean                                                      | false                 |\n| `app:cpb_progressbar_color`                      | color                                                        | BLACK                 |\n| `app:cpb_progressbar_color_start`                | color                                                        | cpb_progressbar_color |\n| `app:cpb_progressbar_color_end`                  | color                                                        | cpb_progressbar_color |\n| `app:cpb_progressbar_color_direction`            | left_to_right, right_to_left, top_to_bottom or bottom_to_top | left_to_right         |\n| `app:cpb_progressbar_width`                      | dimension                                                    | 7dp                   |\n| `app:cpb_background_progressbar_color`           | color                                                        | GRAY                  |\n| `app:cpb_background_progressbar_color_start`     | color                                                        | GRAY                  |\n| `app:cpb_background_progressbar_color_end`       | color                                                        | GRAY                  |\n| `app:cpb_background_progressbar_color_direction` | left_to_right, right_to_left, top_to_bottom or bottom_to_top | left_to_right         |\n| `app:cpb_background_progressbar_width`           | dimension                                                    | 3dp                   |\n| `app:cpb_round_border`                           | boolean                                                      | false                 |\n| `app:cpb_start_angle`                            | float                                                        | 0f (=top)             |\n| `app:cpb_progress_direction`                     | to_right or to_left                                          | to_right              |\n\nKOTLIN\n-----\n\n```kotlin\nval circularProgressBar = findViewById\u003cCircularProgressBar\u003e(R.id.yourCircularProgressbar)\ncircularProgressBar.apply {\n    // Set Progress\n    progress = 65f\n    // or with animation\n    setProgressWithAnimation(65f, 1000) // =1s\n\n    // Set Progress Max\n    progressMax = 200f\n\n    // Set ProgressBar Color\n    progressBarColor = Color.BLACK\n    // or with gradient\n    progressBarColorStart = Color.GRAY\n    progressBarColorEnd = Color.RED\n    progressBarColorDirection = CircularProgressBar.GradientDirection.TOP_TO_BOTTOM\n\n    // Set background ProgressBar Color\n    backgroundProgressBarColor = Color.GRAY\n    // or with gradient\n    backgroundProgressBarColorStart = Color.WHITE\n    backgroundProgressBarColorEnd = Color.RED\n    backgroundProgressBarColorDirection = CircularProgressBar.GradientDirection.TOP_TO_BOTTOM\n\n    // Set Width\n    progressBarWidth = 7f // in DP\n    backgroundProgressBarWidth = 3f // in DP\n\n    // Other\n    roundBorder = true\n    startAngle = 180f\n    progressDirection = CircularProgressBar.ProgressDirection.TO_RIGHT\n}\n```\n\n### Listener (in Kotlin)\n\n```kotlin\ncircularProgressBar.onProgressChangeListener = { progress -\u003e\n    // Do something\n}\n\ncircularProgressBar.onIndeterminateModeChangeListener = { isEnable -\u003e\n    // Do something\n}\n```\n\nJAVA\n-----\n\n```java\nCircularProgressBar circularProgressBar = findViewById(R.id.yourCircularProgressbar);\n// Set Progress\ncircularProgressBar.setProgress(65f);\n// or with animation\ncircularProgressBar.setProgressWithAnimation(65f, 1000); // =1s\n\n// Set Progress Max\ncircularProgressBar.setProgressMax(200f);\n\n// Set ProgressBar Color\ncircularProgressBar.setProgressBarColor(Color.BLACK);\n// or with gradient\ncircularProgressBar.setProgressBarColorStart(Color.GRAY);\ncircularProgressBar.setProgressBarColorEnd(Color.RED);\ncircularProgressBar.setProgressBarColorDirection(CircularProgressBar.GradientDirection.TOP_TO_BOTTOM);\n\n// Set background ProgressBar Color\ncircularProgressBar.setBackgroundProgressBarColor(Color.GRAY);\n// or with gradient\ncircularProgressBar.setBackgroundProgressBarColorStart(Color.WHITE);\ncircularProgressBar.setBackgroundProgressBarColorEnd(Color.RED);\ncircularProgressBar.setBackgroundProgressBarColorDirection(CircularProgressBar.GradientDirection.TOP_TO_BOTTOM);\n\n// Set Width\ncircularProgressBar.setProgressBarWidth(7f); // in DP\ncircularProgressBar.setBackgroundProgressBarWidth(3f); // in DP\n\n// Other\ncircularProgressBar.setRoundBorder(true);\ncircularProgressBar.setStartAngle(180f);\ncircularProgressBar.setProgressDirection(CircularProgressBar.ProgressDirection.TO_RIGHT);\n```\n\n### Listener (in Java)\n\n```java\ncircularProgressBar.setOnIndeterminateModeChangeListener(isEnable -\u003e {\n    // Do something\n    return Unit.INSTANCE;\n});\n\n circularProgressBar.setOnProgressChangeListener(progress -\u003e {\n    // Do something\n    return Unit.INSTANCE;\n});\n```\n\nSUPPORT ❤️\n-----\n\nFind this library useful? Support it by joining [**stargazers**](https://github.com/lopspower/CircularProgressBar/stargazers) for this repository ⭐️\n\u003cbr/\u003e\nAnd [**follow me**](https://github.com/lopspower?tab=followers) for my next creations 👍\n\nLICENCE\n-----\n\nCircularProgressBar by [Lopez Mikhael](http://mikhaellopez.com/) is licensed under a [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).\nBased on a work at [Pedramrn/CircularProgressBar](https://github.com/Pedramrn/CircularProgressBar).\n","funding_links":["https://github.com/sponsors/lopspower"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopspower%2Fcircularprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flopspower%2Fcircularprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopspower%2Fcircularprogressbar/lists"}