{"id":13652026,"url":"https://github.com/kanytu/android-material-drawer-template","last_synced_at":"2025-04-04T22:09:03.869Z","repository":{"id":22346169,"uuid":"25682021","full_name":"kanytu/android-material-drawer-template","owner":"kanytu","description":"An Android template with navigation drawer for material design","archived":false,"fork":false,"pushed_at":"2019-12-12T18:09:30.000Z","size":7548,"stargazers_count":673,"open_issues_count":9,"forks_count":217,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-02-05T14:40:46.933Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kanytu.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":"2014-10-24T09:50:02.000Z","updated_at":"2025-01-22T07:39:39.000Z","dependencies_parsed_at":"2022-09-15T21:40:48.522Z","dependency_job_id":null,"html_url":"https://github.com/kanytu/android-material-drawer-template","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/kanytu%2Fandroid-material-drawer-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanytu%2Fandroid-material-drawer-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanytu%2Fandroid-material-drawer-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanytu%2Fandroid-material-drawer-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanytu","download_url":"https://codeload.github.com/kanytu/android-material-drawer-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256115,"owners_count":20909240,"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-02T02:00:54.627Z","updated_at":"2025-04-04T22:09:03.844Z","avatar_url":"https://github.com/kanytu.png","language":"Java","funding_links":[],"categories":["Android Development","Libs","\u003ca name=\"Menu \u0026 Drawer\"\u003eMenu \u0026 Drawer\u003c/a\u003e"],"sub_categories":["\u003cA NAME=\"Template\"\u003e\u003c/A\u003eTemplate","Personal Blog"],"readme":"android-material-drawer-template\n================================\n\n**NEW**\n=======\n**I released a new template. You can install it on your Android Studio to create Material Design applications easier than ever. Check it out here:**  https://github.com/kanytu/Android-studio-material-template\n\n---\n**DEPRECATED**\nI'm not currently supporting this repository. Please check [Android Studio template](https://github.com/kanytu/Android-studio-material-template) for an updated material template for Android Studio.\n\n----------\n\n\nAn Android template with navigation drawer for material design\n\n**Customization**\n\n - Change your drawer item on: `drawer_row.xml`\n - Make sure you change `NavigationDrawerAdapter` to populate the `ViewHolder` with the new xml layout.\n - If you want to set a different layout for the selected item refer to `onBindViewHolder` method on the `NavigationDrawerAdapter`\n - If you want to display more information on each row, like an image for example, change the `NavigationItem` and add what you need. Make sure you change it's constructor and edit also the `getMenu()` method on the fragment.\n\n\n**Reminders**\n\n - Your activity must implement `NavigationDrawerCallbacks`\n - You must call `NavigationDrawerFragment.setup()` to setup the drawer.\n - You must `\u003cinclude/\u003e` the `toolbar_default.xml` in all your activities's XML and set it to the supportActionBar with `setSupportActionBar()`. Remember to extend the activity to `ActionBarActivity`\n\n\n\n![NavigationDrawer](https://raw.githubusercontent.com/kanytu/android-material-drawer-template/master/screenshots/screenshot1.gif)\n\n\n**Note**\n=\n\nThere are three example XML's for you activities. All them with diferent approaches on the navigation drawer pattern:\n\n\n**activity_main.xml** *Navigation drawer bellow the toolbar. (Google Inbox style)*\n\n![NavigationDrawer](https://raw.githubusercontent.com/kanytu/android-material-drawer-template/master/screenshots/drawer_bellow.gif)\n\n\n**activity_main_blacktoolbar** *Navigation drawer bellow the toolbar, toolbar transition to black (Google Play Store style)*\n\n![NavigationDrawer](https://raw.githubusercontent.com/kanytu/android-material-drawer-template/master/screenshots/playstore_style.gif)\n\n\n**activity_main_topdrawer** *Navigation drawer on top of the toolbar (Gmail style)*\n\n![NavigationDrawer](https://raw.githubusercontent.com/kanytu/android-material-drawer-template/master/screenshots/drawer_over_toolbar.gif)\n\n\n---\nThere are also two XML's for the navigation drawer. You can alternate between these two by changing: `(...) inflater.inflate(R.layout.fragment_navigation_google, container, false);` on NavigationDrawerFragment:43\n\n\n**fragment_navigation_drawer** *Normal navigation drawer with just a RecyclerView.*\n**fragment_navigation_google** *Navigation drawer with the same theme as Google apps*\n\n\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-android--material--drawer--template-brightgreen.svg?style=flat)](https://android-arsenal.com/details/3/1096)\n\n\n## License\nCopyright (c) 2014 Pedro Oliveira\n\nLicensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanytu%2Fandroid-material-drawer-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanytu%2Fandroid-material-drawer-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanytu%2Fandroid-material-drawer-template/lists"}