{"id":13642042,"url":"https://github.com/stewForAni/CircleProgressMenu","last_synced_at":"2025-04-20T15:34:37.157Z","repository":{"id":113468475,"uuid":"79175496","full_name":"stewForAni/CircleProgressMenu","owner":"stewForAni","description":"A simple circle menu with progress effect.","archived":false,"fork":false,"pushed_at":"2017-01-19T14:20:32.000Z","size":6214,"stargazers_count":151,"open_issues_count":0,"forks_count":33,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T01:25:29.662Z","etag":null,"topics":["circle-menu"],"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/stewForAni.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":"2017-01-17T01:26:38.000Z","updated_at":"2024-06-04T10:34:13.000Z","dependencies_parsed_at":"2023-06-29T00:47:05.306Z","dependency_job_id":null,"html_url":"https://github.com/stewForAni/CircleProgressMenu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewForAni%2FCircleProgressMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewForAni%2FCircleProgressMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewForAni%2FCircleProgressMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewForAni%2FCircleProgressMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stewForAni","download_url":"https://codeload.github.com/stewForAni/CircleProgressMenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223832777,"owners_count":17210706,"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":["circle-menu"],"created_at":"2024-08-02T01:01:26.742Z","updated_at":"2024-11-09T13:30:18.420Z","avatar_url":"https://github.com/stewForAni.png","language":"Java","readme":"### CircleProgressMenu\n\n##### Intro:\n\nIt's  a simple circle menu with **progress** effect.  It's used for some projects that need to be done step by step.The default color of the circles around is dark grey, The color of a certain circle will turn green when you are doing tasks involved in it and then blue when you complete them.Of course ,you can change these three status colors as you like at xml.Just copy my code if you need such a menu, which is quite easy to understand. Any suggestion, please send to:stewforani@gmail.com. Thank you!  (welcome star and fork  :)  )\n\n##### show:\n\nYou can see it live downloading [**this apk**](https://github.com/stewForAni/CircleProgressMenu/raw/master/app-debug.apk)\n\n\u003cimg src=\"https://github.com/stewForAni/CircleMenuLayout/blob/master/images/WechatIMG10.png\" width=\"260\"\u003e \n\u003cimg src=\"https://github.com/stewForAni/CircleMenuLayout/blob/master/images/WechatIMG11.png\" width=\"260\"\u003e\n\u003cimg src=\"https://github.com/stewForAni/CircleMenuLayout/blob/master/images/WechatIMG9.png\" width=\"260\"\u003e\n\n\n##### how to use:\n\n```java\n//amount of the circles around\nprivate int aroundCircleCount = 7;\n\n//the currrent progress num(=\u003caroundCircleCount)\nprivate int currentProgressNum = 3;\n\n//Icons of around circle (set by yourself)\nprivate int[] circleIcon = {R.drawable.xxx,\"\",\"\",\"\",\"\",\"\",\"\"};\n\n//the en and cn of the circles around\nprivate int[] aroundCircleTitleEn = {R.string.xxx,\"\",\"\",\"\",\"\",\"\",\"\"};\nprivate int[] aroundCircleTitleCn = {R.string.xxx,\"\",\"\",\"\",\"\",\"\",\"\"};\n\n//status of every circle\n//default-\u003egrey,doing-\u003egreen,complete-\u003eblue\n//three status and color set by yourself\nprivate int[] circleCompleteStatusList = {\"\",\"\",\"\",\"\",\"\",\"\",\"\"};\n```\n\n\n```java\nfinal CircleLayout circleLayout = (CircleLayout) findViewById(R.id.circle_layout);\n\ncircleLayout.setView(aroundCircleTitleEn, \n                     aroundCircleTitleCn,\n                     circleIcon,\n                     aroundCircleCount,\n                     circleCompleteStatusList);\n\ncircleLayout.setProgressNum(currentProgressNum);\ncircleLayout.initView();\ncircleLayout.startAnim(360f * currentProgressNum / 7);\ncircleLayout.setOnClickListener(new CircleLayout.circleClickListener() {\n    @Override\n    public void click(int tag) {\n    //the tag of circle which you click\n    }\n});\n```\n\n\n```xml\n\u003ccom.stew.myapplication.CircleLayout\n    android:id=\"@+id/circle_layout\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"                                   \n    app:aroundCircleCompleteColor=\"@color/around_circle_complete_color\"\n    app:aroundCircleDefColor=\"@color/around_circle_def_color\"\n    app:aroundCircleDoingColor=\"@color/around_circle_doing_color\"\n    app:centerArcColor=\"@color/arc_change\"\n    app:centerArcColorDef=\"@color/arc_default\"\n    app:centerCircleColor=\"@color/center_circle_color\"\n    app:centerCircleText=\"Start\"\n    app:centerCircleTextColor=\"@color/white\"\n    app:centerCircleTextSize=\"22sp\"\n    app:aroundSmallCircleColor=\"@color/white\"\n    app:titleSize=\"12sp\"\n    app:titleColor=\"@color/white\"/\u003e\n```\n","funding_links":[],"categories":["菜单(Menu)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FstewForAni%2FCircleProgressMenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FstewForAni%2FCircleProgressMenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FstewForAni%2FCircleProgressMenu/lists"}