{"id":15029475,"url":"https://github.com/imangazalievm/circlemenu","last_synced_at":"2025-05-15T11:09:24.223Z","repository":{"id":18033227,"uuid":"83147262","full_name":"ImangazalievM/CircleMenu","owner":"ImangazalievM","description":"CircleMenu is a simple, elegant menu with a circular layout.","archived":false,"fork":false,"pushed_at":"2024-06-14T10:23:44.000Z","size":7684,"stargazers_count":1195,"open_issues_count":7,"forks_count":180,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-14T19:58:57.646Z","etag":null,"topics":["android","circlemenu","floatingmenu","menu"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/ImangazalievM.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-25T16:59:54.000Z","updated_at":"2025-02-15T07:45:20.000Z","dependencies_parsed_at":"2024-09-20T22:00:31.657Z","dependency_job_id":null,"html_url":"https://github.com/ImangazalievM/CircleMenu","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImangazalievM%2FCircleMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImangazalievM%2FCircleMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImangazalievM%2FCircleMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImangazalievM%2FCircleMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImangazalievM","download_url":"https://codeload.github.com/ImangazalievM/CircleMenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328386,"owners_count":22052632,"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","circlemenu","floatingmenu","menu"],"created_at":"2024-09-24T20:10:46.395Z","updated_at":"2025-05-15T11:09:24.195Z","avatar_url":"https://github.com/ImangazalievM.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n \u003cimg width=\"200px\" src=\"https://res.cloudinary.com/dqxo6zuw7/image/upload/v1598180618/Circle_Menu_bsq21v.png\"\n    align=\"center\"\n    alt=\"Circle Menu\"\n    /\u003e\n \u003ch2 align=\"center\"\u003eCircleMenu\u003c/h2\u003e\n \u003cp align=\"center\"\u003e\u003cb\u003eSimple, elegant menu with a circular layout!\u003c/b\u003e\u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://android-arsenal.com/details/1/5361\"\u003e\n    \u003cimg alt=\"Android Arsenal\" src=\"https://img.shields.io/badge/Android%20Arsenal-CircleMenu-brightgreen.svg?style=flat\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg alt=\"minSdkVersion 15\" src=\"https://img.shields.io/badge/minSdkVersion-15-blue.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://bintray.com/imangazaliev/maven/circlemenu/_latestVersion\"\u003e\n    \u003cimg alt=\"Download\" src=\"https://api.bintray.com/packages/imangazaliev/maven/circlemenu/images/download.svg\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#setup\"\u003eSetup\u003c/a\u003e •\n  \u003ca href=\"#preview\"\u003ePreview\u003c/a\u003e •\n  \u003ca href=\"#-usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#-license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## 🛠Setup\n\nAdd this to your app build.gradle:\n\n```gradle\nimplementation 'com.github.imangazalievm:circlemenu:3.0.0'\n```\n\n## Preview\n\n⭕ Simple Circle Menu:\n\n\u003cimg src=\"https://github.com/ImangazalievM/CircleMenu/blob/master/art/preview_simple.gif\" width=\"50%\"\u003e\n\n⭕ Using with BottomAppBar:\n\n\u003cimg src=\"https://github.com/ImangazalievM/CircleMenu/blob/master/art/preview_bottom_bar.gif\" width=\"50%\"\u003e\n\n⭕ Using as FAB:\n\n\u003cimg src=\"https://github.com/ImangazalievM/CircleMenu/blob/master/art/preview_fab.gif\" width=\"50%\"\u003e\n\n## 💥 Usage\n\nAdd to your layout xml-file:\n\n```xml\n\u003ccom.imangazaliev.circlemenu.CircleMenu\n        android:id=\"@+id/circleMenu\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        app:buttonColors=\"@array/colors\"\n        app:buttonIcons=\"@array/icons\" /\u003e\n```\n\nHandling menu items clicks:\n\n```kotlin\nval circleMenu = findViewById\u003cCircleMenu\u003e(R.id.circleMenu);\ncircleMenu.setOnItemClickListener { menuButton -\u003e   }\n```\n\nYou can use ```open(boolean animate)``` and ```close(boolean animate)``` methods, to open and close menu programmatically:\n\n```kotlin\ncircleMenu.open(true)\n```\n\nSet EventListener for handling open/close actions\n\n```kotlin\ncircleMenu.setOnItemClickListener { buttonIndex -\u003e }\n\ncircleMenu.onMenuOpenAnimationStart { }\n\ncircleMenu.onMenuOpenAnimationEnd { }\n\ncircleMenu.onMenuCloseAnimationStart { }\n\ncircleMenu.onMenuCloseAnimationEnd { }\n\ncircleMenu.onButtonClickAnimationStart { buttonIndex -\u003e }\n\ncircleMenu.onButtonClickAnimationEnd { buttonIndex -\u003e }\n```\n\n#### ⚙ Options\n\nCircleMenu XML-options:\n\n- `buttonIcons` **(required)** - icons of menu buttons\n- `buttonColors` **(required)** - background colors of menu buttons\n- `iconsColor` - color of buttons icons\n\u003cbr\u003e\u003cbr\u003e\n- `startAngle` - start circle angle\n- `maxAngle` - maximum degree of the menu arc\n- `distance` - the distance between center menu and buttons (radius)\n- `centerButtonColor` - background color of center menu button\n- `centerButtonIconColor` - icon background color of center menu button\n\u003cbr\u003e\u003cbr\u003e\n- `menuIcon` - center button icon type: `hamburger` or `plus`\n- `openOnStart` - open the menu when the screen starts\n- `showSelectAnimation` - show select animation when clicking on on a button or just close the menu\n\n\n## 🤝 License\n\n```\nThe MIT License\n\nCopyright (c) 2016-2020 Mahach Imangazaliev\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimangazalievm%2Fcirclemenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimangazalievm%2Fcirclemenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimangazalievm%2Fcirclemenu/lists"}