{"id":20009223,"url":"https://github.com/samlss/donutprogressview","last_synced_at":"2026-04-24T20:35:56.906Z","repository":{"id":201738134,"uuid":"144522398","full_name":"samlss/DonutProgressView","owner":"samlss","description":"⭕A progress view that you can use it when you are loading picture.","archived":false,"fork":false,"pushed_at":"2018-08-13T03:20:32.000Z","size":194,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-15T04:07:56.441Z","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.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-13T02:59:21.000Z","updated_at":"2023-12-15T17:37:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"c35bb8fa-c0a1-4b7f-b622-abd79543b7be","html_url":"https://github.com/samlss/DonutProgressView","commit_stats":null,"previous_names":["samlss/donutprogressview"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/samlss/DonutProgressView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FDonutProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FDonutProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FDonutProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FDonutProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samlss","download_url":"https://codeload.github.com/samlss/DonutProgressView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FDonutProgressView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32240122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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","progressview"],"created_at":"2024-11-13T07:14:42.919Z","updated_at":"2026-04-24T20:35:56.892Z","avatar_url":"https://github.com/samlss.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DonutProgressView\n### A progress view that you can use it when you are loading picture（一个简洁的进度view）.\n\n\n\n[![Api reqeust](https://img.shields.io/badge/api-1+-green.svg)](https://github.com/samlss/DonutProgressView)  [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://github.com/samlss/DonutProgressView/blob/master/LICENSE) [![Blog](https://img.shields.io/badge/samlss-blog-orange.svg)](https://blog.csdn.net/Samlss)\n\n\n\u003cbr\u003e\n\n![DonutProgressView](https://github.com/samlss/DonutProgressView/blob/master/screenshots/screenshot1.gif)\n\n\u003cbr\u003e\n\n  * [中文](#%E4%B8%AD%E6%96%87)\n  * [English](#english)\n  * [License](#license)\n\n\u003cbr\u003e\n\n\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:DonutProgressView:1.0'\n}\n```\n\n布局中使用：\n```\n\u003ccom.iigo.library.DonutProgressView\n        android:id=\"@+id/dpv_loading\"\n        app:progress=\"0\"\n        app:progressColor=\"@android:color/white\"\n        android:layout_centerInParent=\"true\"\n        android:layout_width=\"50dp\"\n        android:layout_height=\"50dp\" /\u003e\n```\n\n\u003cbr\u003e\n\n代码中使用：\n```\n    donutProgressView.setProgress(progress); //设置进度\n    donutProgressView.setColor(Color.RED); //设置进度颜色\n```\n\n\u003cbr\u003e\n\n属性说明：\n\n| 属性        | 说明           |\n| ------------- |:-------------:|\n| progressColor      | 进度颜色 |\n| progress | 进度大小，0-100 |\n\u003cbr\u003e\n\n\n## English\n\n### Use\u003cbr\u003e\nAdd it in your root build.gradle at the end of repositories：\n```\nallprojects {\n    repositories {\n        //...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nAdd it in your app build.gradle at the end of repositories:\n```\ndependencies {\n    implementation 'com.github.samlss:DonutProgressView:1.0'\n}\n```\n\n\nin layout.xml：\n```\n\u003ccom.iigo.library.DonutProgressView\n        android:id=\"@+id/dpv_loading\"\n        app:progress=\"0\"\n        app:progressColor=\"@android:color/white\"\n        android:layout_centerInParent=\"true\"\n        android:layout_width=\"50dp\"\n        android:layout_height=\"50dp\" /\u003e\n```\n\n\u003cbr\u003e\n\nin java code：\n```\n donutProgressView.setProgress(progress); //set progress\n donutProgressView.setColor(Color.RED); //set the progress color\n```\n\n\u003cbr\u003e\n\nAttributes description：\n\n| attr        | description  |\n| ------------- |:-------------:|\n| progressColor      | the progress color |\n| progress | the progress, [0 -100] |\n\n[id]: http://example.com/ \"Optional Title Here\"\n\n## [LICENSE](https://github.com/samlss/DonutProgressView/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fdonutprogressview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamlss%2Fdonutprogressview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fdonutprogressview/lists"}