kanytu / android-material-drawer-template

An Android template with navigation drawer for material design
Apache License 2.0
674 stars 217 forks source link

android-material-drawer-template

NEW

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


DEPRECATED I'm not currently supporting this repository. Please check Android Studio template for an updated material template for Android Studio.


An Android template with navigation drawer for material design

Customization

Reminders

NavigationDrawer

Note

There are three example XML's for you activities. All them with diferent approaches on the navigation drawer pattern:

activity_main.xml Navigation drawer bellow the toolbar. (Google Inbox style)

NavigationDrawer

activity_main_blacktoolbar Navigation drawer bellow the toolbar, toolbar transition to black (Google Play Store style)

NavigationDrawer

activity_main_topdrawer Navigation drawer on top of the toolbar (Gmail style)

NavigationDrawer


There 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

fragment_navigation_drawer Normal navigation drawer with just a RecyclerView. fragment_navigation_google Navigation drawer with the same theme as Google apps

Android Arsenal

License

Copyright (c) 2014 Pedro Oliveira

Licensed under the Apache License, Version 2.0