{"id":18565053,"url":"https://github.com/jenly1314/circleprogressview","last_synced_at":"2025-04-05T01:03:30.948Z","repository":{"id":41262824,"uuid":"171118132","full_name":"jenly1314/CircleProgressView","owner":"jenly1314","description":"🎡 CircleProgressView是一个圆形渐变的进度动画控件（支持外环显示刻度，内环随之变化，配置参数完全可配），动画效果纵享丝滑。","archived":false,"fork":false,"pushed_at":"2024-06-20T10:53:09.000Z","size":6088,"stargazers_count":455,"open_issues_count":0,"forks_count":63,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-29T00:04:28.195Z","etag":null,"topics":["android","animator","circle","circleprogressbar","circleprogressview","loading","progress","progressbar","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/jenly1314.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-17T12:14:04.000Z","updated_at":"2025-03-27T02:20:58.000Z","dependencies_parsed_at":"2024-11-30T13:04:03.292Z","dependency_job_id":"5c0c12c6-a6d8-4890-8245-ea6fa0395d59","html_url":"https://github.com/jenly1314/CircleProgressView","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FCircleProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FCircleProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FCircleProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FCircleProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenly1314","download_url":"https://codeload.github.com/jenly1314/CircleProgressView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271515,"owners_count":20911587,"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","animator","circle","circleprogressbar","circleprogressview","loading","progress","progressbar","progressview"],"created_at":"2024-11-06T22:17:31.877Z","updated_at":"2025-04-05T01:03:30.927Z","avatar_url":"https://github.com/jenly1314.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CircleProgressView\n\n[![Download](https://img.shields.io/badge/download-App-blue.svg)](https://raw.githubusercontent.com/jenly1314/CircleProgressView/master/app/release/app-release.apk)\n[![JCenter](https://img.shields.io/badge/JCenter-1.1.2-46C018.svg)](https://bintray.com/beta/#/jenly/maven/circleprogressview)\n[![MavenCentral](https://img.shields.io/maven-central/v/com.github.jenly1314/circleprogressview)](https://repo1.maven.org/maven2/com/github/jenly1314/circleprogressview)\n[![JitPack](https://jitpack.io/v/jenly1314/CircleProgressView.svg)](https://jitpack.io/#jenly1314/CircleProgressView)\n[![CI](https://travis-ci.org/jenly1314/CircleProgressView.svg?branch=master)](https://travis-ci.org/jenly1314/CircleProgressView)\n[![CircleCI](https://circleci.com/gh/jenly1314/CircleProgressView.svg?style=svg)](https://circleci.com/gh/jenly1314/CircleProgressView)\n[![API](https://img.shields.io/badge/API-16%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=16)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/mit-license.php)\n\nCircleProgressView for Android 是一个圆形的进度动画控件，动画效果纵享丝滑。\n\n## Gif 展示\n![Image](GIF.gif)\n\n\u003e 你也可以直接下载 [演示App](https://raw.githubusercontent.com/jenly1314/CircleProgressView/master/app/release/app-release.apk) 体验效果\n\n## 引入\n\n### Gradle:\n\n1. 在Project的 **build.gradle** 或 **setting.gradle** 中添加远程仓库\n\n    ```gradle\n    repositories {\n        //...\n        mavenCentral()\n    }\n    ```\n\n2. 在Module的 **build.gradle** 里面添加引入依赖项\n\n    ```gradle\n    implementation 'com.github.jenly1314:circleprogressview:1.1.3'\n    ```\n\n## 使用\n\n### CircleProgressView自定义属性说明（进度默认渐变色）\n| 属性 | 值类型 | 默认值 | 说明 |\n| :------| :------ | :------ | :------ |\n| cpvStrokeWidth | dimension |12dp| 笔画描边的宽度 |\n| cpvNormalColor | color |\u003cfont color=#C8C8C8\u003e#FFC8C8C8\u003c/font\u003e| 圆正常颜色 |\n| cpvProgressColor | color |\u003cfont color=#4FEAAC\u003e#FF4FEAAC\u003c/font\u003e| 圆进度颜色 |\n| cpvStartAngle | integer | 270 | 开始角度，默认十二点钟方向 |\n| cpvSweepAngle | integer | 360 | 扫描角度范围 |\n| cpvMax | integer | 100 | 进度最大值 |\n| cpvProgress | integer | 0 | 当前进度 |\n| cpvDuration | integer | 500 | 动画时长 |\n| cpvLabelText | string |  | 中间的标签文本，默认自动显示百分比 |\n| cpvLabelTextColor | color |\u003cfont color=#333333\u003e#FF333333\u003c/font\u003e| 文本字体颜色 |\n| cpvLabelTextSize | dimension |30sp| 文本字体大小 |\n| cpvShowLabel | boolean | true | 是否显示文本 |\n| cpvShowTick | boolean | true | 是否显示外环刻度 |\n| cpvCirclePadding | dimension | 10dp | 外圆环刻度与内圆环间距 |\n| cpvTickSplitAngle | integer | 5 | 刻度间隔的角度大小 |\n| cpvBlockAngle | integer | 1 | 刻度的角度大小 |\n| cpvTickOffsetAngle | integer | 0 | 刻度偏移的角度大小 |\n| cpvTurn | boolean | false | 是否旋转 |\n| cpvCapRound | boolean | true | 是否是圆形线冒（圆角弧度） |\n| cpvLabelPaddingLeft | dimension |0dp| 文本居左边内间距 |\n| cpvLabelPaddingTop | dimension |0dp| 文本居顶边内间距 |\n| cpvLabelPaddingRight | dimension |0dp| 文本居右边内间距 |\n| cpvLabelPaddingBottom | dimension |0dp| 文本居底边内间距 |\n\n### 示例\n\n布局示例\n```Xml\n    \u003ccom.king.view.circleprogressview.CircleProgressView\n        android:id=\"@+id/cpv\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"/\u003e\n```\n\n代码示例\n```Java\n    //显示进度动画，进度，动画时长\n    circleProgressView.showAnimation(80,3000);\n    //设置当前进度\n    circleProgressView.setProgress(80);\n    //设置进度改变监听\n    circleProgressView.setOnChangeListener(onChangeListener);   \n\n```\n更多使用详情，请查看[app](app)中的源码使用示例或直接查看 [API帮助文档](https://jitpack.io/com/github/jenly1314/CircleProgressView/latest/javadoc/)\n\n## 相关推荐\n\n#### [ArcSeekBar](https://github.com/jenly1314/ArcSeekBar) 一个弧形的拖动条进度控件，配置参数完全可定制化。\n\n## 版本记录\n\n#### v1.1.3：2021-9-2 (从v1.1.3开始发布至 MavenCentral)\n*  对外暴露更多getter和setter方法\n*  新增cpvTickOffsetAngle属性\n\n#### v1.1.2：2020-12-2\n*  优化设置渐变色过程处理\n\n#### v1.1.1：2020-4-2\n*  新增cpvLabelPadding..相关属性\n\n#### v1.1.0：2019-8-19\n*  移除appcompat依赖\n\n#### v1.0.1：2019-5-23\n*  新增cpvTurn属性（是否旋转）\n\n#### v1.0.0：2019-2-17\n*  CircleProgressView初始版本\n\n## 赞赏\n如果您喜欢CircleProgressView，或感觉CircleProgressView帮助到了您，可以点右上角“Star”支持一下，您的支持就是我的动力，谢谢 :smiley:\n\u003cp\u003e您也可以扫描下面的二维码，请作者喝杯咖啡 :coffee:\n\n\u003cdiv\u003e\n   \u003cimg src=\"https://jenly1314.github.io/image/page/rewardcode.png\"\u003e\n\u003c/div\u003e\n\n## 关于我\n\n| 我的博客                                                                                | GitHub                                                                                  | Gitee                                                                                  | CSDN                                                                                 | 博客园                                                                            |\n|:------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------|\n| \u003ca title=\"我的博客\" href=\"https://jenly1314.github.io\" target=\"_blank\"\u003eJenly's Blog\u003c/a\u003e | \u003ca title=\"GitHub开源项目\" href=\"https://github.com/jenly1314\" target=\"_blank\"\u003ejenly1314\u003c/a\u003e | \u003ca title=\"Gitee开源项目\" href=\"https://gitee.com/jenly1314\" target=\"_blank\"\u003ejenly1314\u003c/a\u003e  | \u003ca title=\"CSDN博客\" href=\"http://blog.csdn.net/jenly121\" target=\"_blank\"\u003ejenly121\u003c/a\u003e  | \u003ca title=\"博客园\" href=\"https://www.cnblogs.com/jenly\" target=\"_blank\"\u003ejenly\u003c/a\u003e  |\n\n## 联系我\n\n| 微信公众号        | Gmail邮箱                                                                          | QQ邮箱                                                                              | QQ群                                                                                                                       | QQ群                                                                                                                       |\n|:-------------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------|\n| [Jenly666](http://weixin.qq.com/r/wzpWTuPEQL4-ract92-R) | \u003ca title=\"给我发邮件\" href=\"mailto:jenly1314@gmail.com\" target=\"_blank\"\u003ejenly1314\u003c/a\u003e | \u003ca title=\"给我发邮件\" href=\"mailto:jenly1314@vip.qq.com\" target=\"_blank\"\u003ejenly1314\u003c/a\u003e | \u003ca title=\"点击加入QQ群\" href=\"https://qm.qq.com/cgi-bin/qm/qr?k=6_RukjAhwjAdDHEk2G7nph-o8fBFFzZz\" target=\"_blank\"\u003e20867961\u003c/a\u003e | \u003ca title=\"点击加入QQ群\" href=\"https://qm.qq.com/cgi-bin/qm/qr?k=Z9pobM8bzAW7tM_8xC31W8IcbIl0A-zT\" target=\"_blank\"\u003e64020761\u003c/a\u003e |\n\n\u003cdiv\u003e\n   \u003cimg src=\"https://jenly1314.github.io/image/page/footer.png\"\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenly1314%2Fcircleprogressview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenly1314%2Fcircleprogressview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenly1314%2Fcircleprogressview/lists"}