{"id":13640967,"url":"https://github.com/eralpyucel/CircleProgressView","last_synced_at":"2025-04-20T07:31:44.067Z","repository":{"id":91288645,"uuid":"76165526","full_name":"eralpyucel/CircleProgressView","owner":"eralpyucel","description":"An Android component to show circle progress in percentage.","archived":false,"fork":false,"pushed_at":"2017-05-27T16:59:11.000Z","size":19536,"stargazers_count":76,"open_issues_count":1,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T01:18:35.670Z","etag":null,"topics":["android-component","android-library","android-ui","percentage"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eralpyucel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-12-11T09:38:56.000Z","updated_at":"2022-11-29T16:52:17.000Z","dependencies_parsed_at":"2024-01-14T11:06:31.998Z","dependency_job_id":"d341da70-a141-4687-9ce1-55721597fb19","html_url":"https://github.com/eralpyucel/CircleProgressView","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eralpyucel%2FCircleProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eralpyucel%2FCircleProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eralpyucel%2FCircleProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eralpyucel%2FCircleProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eralpyucel","download_url":"https://codeload.github.com/eralpyucel/CircleProgressView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223821987,"owners_count":17208779,"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-component","android-library","android-ui","percentage"],"created_at":"2024-08-02T01:01:16.271Z","updated_at":"2024-11-09T11:30:36.126Z","avatar_url":"https://github.com/eralpyucel.png","language":"Java","readme":"# CircleProgressView\nAn Android component to show progress in percentage.\n\n#### Screenshots:\n![](https://github.com/eralpyucel/CircleProgressView/blob/master/preview.gif)\n\u003cimg src=\"https://github.com/eralpyucel/CircleProgressView/blob/master/preview_image.png\" width=\"300\"\u003e\n\n## Gradle\n\nAdd it in your root build.gradle at the end of repositories:\n\n```\ndependencies {\n    ...\n    maven { url 'https://jitpack.io' }\n}\n```\n\nAdd the dependency:\n\n```\ndependencies {\n     compile 'com.github.eralpyucel:CircleProgressView:v1.1'\n}\n```\n\n\n## Usage\n### XML:\n```xml\n\u003ccom.eralp.circleprogressview.CircleProgressView\n            android:id=\"@+id/circle_progress_view\"\n            android:layout_width=\"0dp\"\n            android:layout_weight=\"1\"\n            android:layout_height=\"wrap_content\"\n            android:layout_gravity=\"center\"\n            app:cpv_circle_color=\"#27375c\"\n            app:cpv_circle_width=\"6dp\"\n            app:cpv_background_circle_width=\"1dp\"\n            app:cpv_background_circle_color=\"#5b253048\"\n            app:cpv_text_prefix=\"%\"\n            app:cpv_text_size=\"40\"\n            app:cpv_text_color=\"#27375c\"/\u003e\n```\n\n### Activity:\n```java\nmCircleProgressView = (CircleProgressView) findViewById(R.id.circle_progress_view);\nmCircleProgressView.setTextEnabled(false);\nmCircleProgressView.setInterpolator(new AccelerateDecelerateInterpolator());\nmCircleProgressView.setStartAngle(45);\nmCircleProgressView.setProgressWithAnimation(85, 2000);\n        \nmCircleProgressView.addAnimationListener(new ProgressAnimationListener() {\n            @Override\n            public void onValueChanged(float value) {\n                \n            }\n\n            @Override\n            public void onAnimationEnd() {\n                Toast.makeText(MainActivity.this, \"Animation of CircleProgressView done\", Toast.LENGTH_SHORT).show();\n            }\n        });\n\t\t\t\t\n```\n","funding_links":[],"categories":["进度条"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feralpyucel%2FCircleProgressView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feralpyucel%2FCircleProgressView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feralpyucel%2FCircleProgressView/lists"}