{"id":13848832,"url":"https://github.com/adamrocker/simple-side-drawer","last_synced_at":"2025-07-12T13:32:50.652Z","repository":{"id":5206791,"uuid":"6382493","full_name":"adamrocker/simple-side-drawer","owner":"adamrocker","description":"Simple library which enable you to add a drawer(slide-out) navigation to your android application","archived":false,"fork":false,"pushed_at":"2013-06-03T01:33:04.000Z","size":4199,"stargazers_count":217,"open_issues_count":6,"forks_count":122,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-07-01T10:57:28.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/adamrocker.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":"2012-10-25T05:29:26.000Z","updated_at":"2023-11-03T05:41:33.000Z","dependencies_parsed_at":"2022-09-07T16:22:08.047Z","dependency_job_id":null,"html_url":"https://github.com/adamrocker/simple-side-drawer","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/adamrocker%2Fsimple-side-drawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamrocker%2Fsimple-side-drawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamrocker%2Fsimple-side-drawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamrocker%2Fsimple-side-drawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamrocker","download_url":"https://codeload.github.com/adamrocker/simple-side-drawer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213949824,"owners_count":15661677,"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-08-04T19:00:58.931Z","updated_at":"2024-08-04T19:03:27.874Z","avatar_url":"https://github.com/adamrocker.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"SimpleSideDrawer is an android library to add a drawer navigation into your android application.\nThis library has high affinity with other libraries like ActionBarSherlock or etc.\n\n#Easy to add your app a side menu\n![Demo image01](https://lh6.googleusercontent.com/-O-AKV6vo4U4/UOHA9PjYA9I/AAAAAAAAQV4/gayCEMA9q9c/s720/simple_side_drawer01.png) ![Demo image02](https://lh5.googleusercontent.com/-hoVDio62tgc/UOHBBU7K0LI/AAAAAAAAQWE/rEkvI2NgNl4/s720/simple_side_drawer02.png)\n\n###Step1: Add the library\nAdd the jar library to your application project\n\n###Step2: Set up the side menu\nAdd the 2 lines under the onCreate method in an Activity you want to add the side menu.\n\n\tprotected void onCreate(Bundle data) {\n\t\tsuper.onCreate( data );\n\t\tsetContentView( R.layout.main );\n\t\t\n\t\tmSlidingMenu = new SimpleSideDrawer( this );\n\t\tmSlidingMenu.setLeftBehindContentView( R.layout.behind_menu_left );\n\t}\n\t\nThe behind_menu.xml is the side menu layout. You can add it by calling setBehindeContentView method. That it you have to do for adding the side menu.\nIf you want to handle the widget on the side menu, you just call findViewById method as usual.\n\n#### Need the right-side?\n\n\tmSlidingMenu.setRightBehindContentView( R.layout.behind_menu_right );\n\n###Step3: Open/Close the side menu\nYou can easy open/close the side menu.\n\n\tmSlidingMenu.toggleDrawer();\n\nOf course, a user can close the side menu by dragging the above view.\n\n# More info\n\nSee my slide share in which I describe the detail of this library.\nhttp://www.slideshare.net/adamrocker/simple-side-drawer2\n\n#Directory\n\n- SimpleSideDrawer: The library source code\n- demo: The demo android projects which uses this library\n- library: .jar file for easy to use\n- doc: The document of this library\n\n#Lisence\nCopyright 2013, adamrocker ( http://www.adamrocker.com ).\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); \nyou may not use this file except in compliance with the License. \nYou may obtain a copy of the License at \n\nhttp://www.apache.org/licenses/LICENSE-2.0 \n\nUnless required by applicable law or agreed to in writing, software \ndistributed under the License is distributed on an \"AS IS\" BASIS, \nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \nSee the License for the specific language governing permissions and \nlimitations under the License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamrocker%2Fsimple-side-drawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamrocker%2Fsimple-side-drawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamrocker%2Fsimple-side-drawer/lists"}