{"id":36417063,"url":"https://github.com/o0starshine0o/arcprogressbar","last_synced_at":"2026-01-11T17:00:14.040Z","repository":{"id":57721878,"uuid":"228568325","full_name":"o0starshine0o/ArcProgressBar","owner":"o0starshine0o","description":"A ARC progress bar with bubbles for such step's info and so on.一个带有气泡的弧形进度条，为类似步数宝样的应用开发。","archived":false,"fork":false,"pushed_at":"2020-04-27T03:44:53.000Z","size":6793,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T22:18:22.666Z","etag":null,"topics":["android","arcprogressbar","bubble","kotlin","progress-bar"],"latest_commit_sha":null,"homepage":"https://github.com/o0starshine0o/ArcProgressBar","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/o0starshine0o.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":"2019-12-17T08:23:58.000Z","updated_at":"2024-10-02T18:41:37.000Z","dependencies_parsed_at":"2022-09-26T21:50:28.286Z","dependency_job_id":null,"html_url":"https://github.com/o0starshine0o/ArcProgressBar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/o0starshine0o/ArcProgressBar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o0starshine0o%2FArcProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o0starshine0o%2FArcProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o0starshine0o%2FArcProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o0starshine0o%2FArcProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/o0starshine0o","download_url":"https://codeload.github.com/o0starshine0o/ArcProgressBar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o0starshine0o%2FArcProgressBar/sbom","scorecard":{"id":700268,"data":{"date":"2025-08-11","repo":{"name":"github.com/o0starshine0o/ArcProgressBar","commit":"aa016f463289c2f46c72545090bea3766e7f44a4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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: MIT License: 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":"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"}},{"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"}}]},"last_synced_at":"2025-08-22T05:03:37.833Z","repository_id":57721878,"created_at":"2025-08-22T05:03:37.833Z","updated_at":"2025-08-22T05:03:37.833Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","arcprogressbar","bubble","kotlin","progress-bar"],"created_at":"2026-01-11T17:00:12.390Z","updated_at":"2026-01-11T17:00:13.984Z","avatar_url":"https://github.com/o0starshine0o.png","language":"Kotlin","readme":"![https://github.com/o0starshine0o/ArcProgressBar](screenCaptures/logo.jpg)\n\n![Travis (.com)](https://img.shields.io/travis/com/o0starshine0o/ArcProgressBar)\n![Maven Central](https://img.shields.io/maven-central/v/com.github.qicodes/arcprogressbar)\n![GitHub](https://img.shields.io/github/license/o0starshine0o/ArcProgressBar)\n![GitHub last commit](https://img.shields.io/github/last-commit/o0starshine0o/ArcProgressBar)\n\n# ArcProgressBar\n\nwhat we can do...\n* a arc progress bar with title, title-desc, sub-title, sub-title-desc\n* background with bezier path mask\n* two different progress in one view\n* bubbles around progress bar\n* dynamic control the scale count and the special scale\n* fluent animation\n\n# Quick View\n\n![https://github.com/o0starshine0o/ArcProgressBar](screenCaptures/progress.gif)\n![https://github.com/o0starshine0o/ArcProgressBar](screenCaptures/bubble.gif)\n# Install\nPlease using latest version:\n\n0. arcprogressbar:![Maven Central](https://img.shields.io/maven-central/v/com.github.qicodes/arcprogressbar)\n1. beziermask:![Maven Central](https://img.shields.io/maven-central/v/com.github.qicodes/beziermask)\n2. bubbleview:![Maven Central](https://img.shields.io/maven-central/v/com.github.qicodes/bubbleview)\n3. utils:![Maven Central](https://img.shields.io/maven-central/v/com.github.qicodes/utils)\n```xml\n// 圆弧进度条\nimplementation 'com.github.qicodes:arcprogressbar:1.2.7'\n// 贝塞尔曲线遮罩\nimplementation 'com.github.qicodes:beziermask:1.2.7'\n// 气泡产生\nimplementation 'com.github.qicodes:bubbleview:1.2.7'\n// 工具类\nimplementation 'com.github.qicodes:utils:1.2.7'\n```\n\n# Functions\n\n## ProgressBar\n\n### Custom progress size\n\u003e the Anchor is the `center` = ((left + right) / 2, (top + bottom) / 2)\n\nThe `progress` can be modified by xml config or java code:\n```xml\napp:scaleInsidePercent=\"70%\"\napp:scaleOutsidePercent=\"78%\"\napp:scaleOutsideSpecialPercent=\"81%\"\n```\n\n```java\n// 刻度线半径百分比\nscaleInsidePercent = 0.7f\nscaleOutsidePercent = 0.78f\nscaleOutsideSpecialPercent = 0.81f\n``` \nAlso the `subProgress`:\n```xml\napp:progressBarPercent=\"65%\"\n```\n```java\n// 进度条半径百分比\nprogressBarPercent = 0.65f\n```\nAnd the size of the paint\n```xml\napp:paintColor=\"@android:color/white\"\napp:paintWidth=\"4dp\"\n```\n```java\n// 画笔宽度\npaintWidth = 5.dp\n// 画笔颜色\npaintColor = Color.WHITE\n``` \nwhat's more , we can control the angle of the progress\n```xml\napp:drawAngle=\"1.33\"  // means 4/3π, the angle of progress\napp:startAngle=\"0.83\" // means 5/6π, the start angle of progress from x positive \n```\n```java\n// 角度\nstartAngle = 0.83f\ndrawAngle = 1.33f\n```\n\n### Custom progress color\n\nthe progress's color can be gradient, but only can be set by java code:\n```java\n// 背景渐变色\nbackColors = context.resources.getIntArray(com.qicode.arcprogressbar.R.array.color_gradient)\n// 背景渐变色分布(默认平均分布)\nbackColorPositions = context.resources.getStringArray(com.qicode.arcprogressbar.R.array.position_gradient).map { it.toFloat() }.toFloatArray()\n```\n\n### Custom text in progress bar\n\u003e The text from top to bottom is : `title`, `titleDesc`, `subTitle`, `subTitleDesc`, `scaleValue`\n\n\u003e We can control those text with `text`, `size`, `color`, `position`(`radio`, `angle`)\n\nHere is a demo for `title`:\n\n```xml\napp:title=\"@string/title\"\napp:titleColor=\"@android:color/black\"\napp:titleAngle=\"180\"\napp:titleDesc=\"8888\"\napp:titlePercent=\"30%\"\napp:titleSize=\"18sp\"\n```\n```java\ntitle = DrawString(\"今日步数\", Color.BLACK, 180f, 0.30f, 20.sp)\n```\n### More\nControl the scale's count:\n```xml\napp:scaleCount=\"59\"\n```\n```java\n// 刻度线数量\nscaleCount = 59\n```\n\nWhich scale should be ##Special##:\n```xml\napp:specialScales=\"9,29,49\"\n```\n```java\n// 特殊刻度\nspecialScales = listOf(9, 29, 49)\n``` \n\n### Animate\n\u003e We can set progress or subProgress by java code\n\n```java\n// 500ms到达指定位置\nprogressBar.progress(Random().nextInt(progressBar.progressMax - progressBar.progressMin + 1) + progressBar.progressMin, false, 500)\n``` \n\nWe can reach to the max value by change second param to `true`.We can also change the animation during time by change the third param.\n\n## Bubbles\n\u003e The bubbles use `RecyclerView`, we override it's `LayoutManager` by `BubbleLayoutManager`, which can random bubble's position.\n\n\u003e We override the `BezierMaskView`'s `onLayout` to get the `Path` from all it's children, then exclude the bubbles position from those `Path`.\n\n### Step 0:\nContains a `RecyclerView` inside `BezierMaskView`, the set `RecyclerView`'s `layoutManage` to `BubbleLayoutManager`:\n```xml\n\u003ccom.qicode.beziermask.BezierMaskView\u003e\n    \u003candroid.support.v7.widget.RecyclerView\n        tools:layoutManager=\"com.qicode.bubbleview.BubbleLayoutManager\" /\u003e\n\u003c/com.qicode.beziermask.BezierMaskView\u003e\n```\n### Step 1:\nUse a adapter to add bubbles:\n```java\nbubbleView.layoutManager = BubbleLayoutManager(50)\nbubbleView.adapter = BubbleAdapter()\n```\n## More\nFor more, read the demo.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo0starshine0o%2Farcprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fo0starshine0o%2Farcprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo0starshine0o%2Farcprogressbar/lists"}