{"id":13452704,"url":"https://github.com/SimonVT/android-menudrawer","last_synced_at":"2025-03-23T21:34:37.726Z","repository":{"id":4500403,"uuid":"5639802","full_name":"SimonVT/android-menudrawer","owner":"SimonVT","description":"*DEPRECATED* A slide-out menu implementation, which allows users to navigate between views in your app.","archived":false,"fork":false,"pushed_at":"2014-06-30T15:29:28.000Z","size":5057,"stargazers_count":2590,"open_issues_count":27,"forks_count":1111,"subscribers_count":246,"default_branch":"master","last_synced_at":"2024-10-15T14:01:09.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://simonvt.github.com/android-menudrawer/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimonVT.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-01T13:34:04.000Z","updated_at":"2024-09-28T15:05:58.000Z","dependencies_parsed_at":"2022-08-24T12:50:57.419Z","dependency_job_id":null,"html_url":"https://github.com/SimonVT/android-menudrawer","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonVT%2Fandroid-menudrawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonVT%2Fandroid-menudrawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonVT%2Fandroid-menudrawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonVT%2Fandroid-menudrawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonVT","download_url":"https://codeload.github.com/SimonVT/android-menudrawer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221918474,"owners_count":16901635,"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":[],"created_at":"2024-07-31T08:00:20.866Z","updated_at":"2024-10-28T19:30:52.698Z","avatar_url":"https://github.com/SimonVT.png","language":"Java","funding_links":[],"categories":["Java","CN","Libs"],"sub_categories":["[Simon Vig](https://github.com/SimonVT)","\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"MenuDrawer\n==========\n\nA slide-out menu implementation, which allows users to navigate between views\nin your app. Most commonly the menu is revealed by either dragging the edge\nof the screen, or clicking the 'up' button in the action bar.\n\n\nFeatures\n--------\n\n * The menu can be positioned along all four edges.\n * Supports attaching an always visible, non-draggable menu, which is useful\n   on e.g. tablets.\n * The menu can wrap both the content and the entire window.\n * Allows the drawer to be opened by dragging the edge, the entire screen or\n   not at all.\n * Can be used in XML layouts.\n * Indicator that shows which screen is currently visible.\n\n\nUsage\n=====\n\nThis library is very simple to use. It requires no extension of custom classes,\nit's simply added to an activity by calling one of the `MenuDrawer#attach(...)`\nmethods.\n\nFor more examples on how to use this library, check out the sample app.\n\n\nLeft menu\n---------\n```java\npublic class SampleActivity extends Activity {\n\n    private MenuDrawer mDrawer;\n\n    @Override\n    protected void onCreate(Bundle state) {\n        super.onCreate(state);\n        mDrawer = MenuDrawer.attach(this);\n        mDrawer.setContentView(R.layout.activity_sample);\n        mDrawer.setMenuView(R.layout.menu_sample);\n    }\n}\n```\n\n\nRight menu\n----------\n```java\npublic class SampleActivity extends Activity {\n\n    private MenuDrawer mDrawer;\n\n    @Override\n    protected void onCreate(Bundle state) {\n        super.onCreate(state);\n        mDrawer = MenuDrawer.attach(this, Position.RIGHT);\n        mDrawer.setContentView(R.layout.activity_sample);\n        mDrawer.setMenuView(R.layout.menu_sample);\n    }\n}\n```\n\n\nIncluding in your project\n=========================\n\nEither include it in your project as an android library project, or use gradle to grab it from\nmaven central:\n\n```\ncompile 'net.simonvt.menudrawer:menudrawer:{latest-version}'\n```\n\n\nCredits\n=======\n\n * Cyril Mottier for his [articles][1] on the pattern\n\n\nLicense\n=======\n\n    Copyright 2012 Simon Vig Therkildsen\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n\n\n\n\n [1]: http://android.cyrilmottier.com/?p=658\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimonVT%2Fandroid-menudrawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSimonVT%2Fandroid-menudrawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimonVT%2Fandroid-menudrawer/lists"}