{"id":20009249,"url":"https://github.com/samlss/circleprogressview","last_synced_at":"2025-07-12T01:05:24.343Z","repository":{"id":201738109,"uuid":"144837761","full_name":"samlss/CircleProgressView","owner":"samlss","description":"⭕A circle progress view.","archived":false,"fork":false,"pushed_at":"2018-08-15T11:52:24.000Z","size":180,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T11:37:59.247Z","etag":null,"topics":["android","progressview"],"latest_commit_sha":null,"homepage":"","language":"Java","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/samlss.png","metadata":{"files":{"readme":"README-ZH.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,"governance":null}},"created_at":"2018-08-15T10:09:29.000Z","updated_at":"2021-10-31T12:09:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"3550668b-3cc3-4d6b-b4f2-b92980cad601","html_url":"https://github.com/samlss/CircleProgressView","commit_stats":null,"previous_names":["samlss/circleprogressview"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FCircleProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FCircleProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FCircleProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FCircleProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samlss","download_url":"https://codeload.github.com/samlss/CircleProgressView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252390672,"owners_count":21740363,"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","progressview"],"created_at":"2024-11-13T07:14:50.347Z","updated_at":"2025-05-04T19:35:50.765Z","avatar_url":"https://github.com/samlss.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## CircleProgressView\n一个简约的圆圈进度view\n\n[![Api reqeust](https://img.shields.io/badge/api-1+-green.svg)](https://github.com/samlss/CircleProgressView)  [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://github.com/samlss/CircleProgressView/blob/master/LICENSE) [![Blog](https://img.shields.io/badge/samlss-blog-orange.svg)](https://blog.csdn.net/Samlss)\n\n\n![screenshot](https://github.com/samlss/CircleProgressView/blob/master/screenshots/screenshot1.gif)\n\n\n## 使用 \u003cbr\u003e\n在根目录的build.gradle添加这一句代码：\n```\nallprojects {\n    repositories {\n        //...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n在app目录下的build.gradle添加依赖使用：\n```\ndependencies {\n    implementation 'com.github.samlss:CircleProgressView:1.0'\n}\n```\n\n## 属性说明：\n\n| 属性        | 说明           |\n| ------------- |:-------------:|\n| circleColor      | 设置后面圆的颜色 |\n| progress | 设置进度，范围为0-100 |\n| progressColor | 设置旋转的进度条的颜色 |\n| progressTextColor | 设置进度文本颜色 |\n| progressTextSize | 设置进度文本大小 |\n\n\n## 布局中使用：\n```\n   \u003ccom.iigo.library.CircleProgressView\n        android:id=\"@+id/cpv_progress\"\n        android:layout_centerInParent=\"true\"\n        app:progress=\"50\"\n        app:progressTextSize=\"10dp\"\n        app:progressColor=\"@android:color/white\"\n        app:circleColor=\"#2968F7\"\n        app:progressTextColor=\"@android:color/white\"\n        android:layout_width=\"60dp\"\n        android:layout_height=\"60dp\" /\u003e\n```\n\n## 代码中使用：\n```\n  circleProgressView.setProgress(int progress); //设置进度，范围为0-100\n  circleProgressView.setProgressColor(Color.RED); //设置旋转的\n  circleProgressView.setProgressTextColor(Color.RED); // 设置进度文本颜色\n  circleProgressView.setProgressTextSize(20); //设置进度文本大小\n```\n\n\n## [LICENSE](https://github.com/samlss/CircleProgressView/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fcircleprogressview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamlss%2Fcircleprogressview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fcircleprogressview/lists"}