{"id":13989505,"url":"https://github.com/flyfei/CustomMenu","last_synced_at":"2025-07-22T11:30:33.559Z","repository":{"id":85396966,"uuid":"41344626","full_name":"flyfei/CustomMenu","owner":"flyfei","description":"CustomMenu quickly realize about the menu","archived":false,"fork":false,"pushed_at":"2015-09-14T01:38:38.000Z","size":76697,"stargazers_count":347,"open_issues_count":3,"forks_count":63,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-23T19:51:46.547Z","etag":null,"topics":[],"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/flyfei.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}},"created_at":"2015-08-25T05:27:18.000Z","updated_at":"2024-06-02T20:06:22.000Z","dependencies_parsed_at":"2023-03-01T18:26:07.691Z","dependency_job_id":null,"html_url":"https://github.com/flyfei/CustomMenu","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/flyfei/CustomMenu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyfei%2FCustomMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyfei%2FCustomMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyfei%2FCustomMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyfei%2FCustomMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flyfei","download_url":"https://codeload.github.com/flyfei/CustomMenu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flyfei%2FCustomMenu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266483424,"owners_count":23936337,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-08-09T13:01:42.460Z","updated_at":"2025-07-22T11:30:33.011Z","avatar_url":"https://github.com/flyfei.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"[![Android Gems](http://www.android-gems.com/badge/flyfei/CustomMenu.svg?branch=master)](http://www.android-gems.com/lib/flyfei/CustomMenu)\n\r\nCustomMenu is a custom control that can help you quickly create Menu\n\nFeatures：\n\n* Only the left menu\n* Only the right menu\n* Together with the right and left menu\n* About menus do not, CustomMenu equivalent of a layout\n\n\n[中文](https://github.com/flyfei/CustomMenu/blob/master/README_CN.md)\n\n\n## Legend\n\n\n* Only the left menu\n\n  ![](https://github.com/flyfei/CustomMenu/blob/master/resources/only_left_menu.gif)\n\n* Only the right menu\n\n  ![](https://github.com/flyfei/CustomMenu/blob/master/resources/only_right_menu.gif)\n\n* Together with the right and left menu\n \n  ![](https://github.com/flyfei/CustomMenu/blob/master/resources/double_menu.gif)\n\n* About menus do not, CustomMenu equivalent of a layout\n\n  ![](https://github.com/flyfei/CustomMenu/blob/master/resources/no_menu.gif)\n  \n## For Users\n\n```\nCustomMenu customMenu = new CustomMenu(this);\n\n//Setting Content Layout\nImageView contentView = new ImageView(this);\ncontentView.setBackgroundResource(R.drawable.main_view);\ncustomMenu.setContentView(contentView);\n\n//Setting the left menu\nImageView leftMenu = new ImageView(this);\nleftMenu.setBackgroundResource(R.drawable.left_view);\ncustomMenu.setLeftMenu(leftMenu);\n\n//Setting the right menu\nImageView rightMenu = new ImageView(this);\nrightMenu.setBackgroundResource(R.drawable.left_view);\ncustomMenu.setRightMenu(rightMenu);\n\n//Open Left Menu\ncustomMenu.openLeftMenuIfPossible();\n\n//Open Right Menu\ncustomMenu.openRightMenuIfPossible();\n\n//Close Menu\ncustomMenu.closeMenu();\n\n//Get State\ncustomMenu.getState()\n\n//Setting the right Shadow\nsetRightShadow(int resId);\nsetRightShadow(Drawable shadowRight);\n\n//Setting the left Shadow\nsetLeftShadow(int resId);\nsetLeftShadow(Drawable shadowLeft);\n```\n\n* [Shadow picture resources](https://github.com/flyfei/CustomMenu/tree/master/resources/shadowImg)\n\n## Latest Version\n\n\n[Download](https://github.com/flyfei/CustomMenu/wiki)\n\n\n## Feedback\n\nIf you have any questions,please emailto:zhaotengfei9@gmail.com\n\n\n\n## Thanks\n\n[designzway](http://freebies.designzway.com/)\n\n\n## Copyright and Licensing\n\n\n```\nThe MIT License (MIT)\n\nCopyright © 2015 Tovi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of \nthis software and associated documentation files (the “Software”), to deal in the \nSoftware without restriction, including without limitation the rights to use, copy, \nmodify, merge, publish, distribute, sublicense, and/or sell copies of the Software,\nand to permit persons to whom the Software is furnished to do so, subject to the \nfollowing conditions:\n\nThe above copyright notice and this permission notice shall be included in all \ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, \nINCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A \nPARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT \nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION \nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE \nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyfei%2FCustomMenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyfei%2FCustomMenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyfei%2FCustomMenu/lists"}