Android Navigation Drawer Activity Code Generator

Quickly and easily generate an Android Studio project with a Navigation Drawer application, Material design Toolbar, and optional Tabbed and MapView Activities.


To generate your own Android Studio project,
please Sign In or Create an Account.

To see how it all works, try the free
Android Pie Chart Code Generator



The generated zip file includes:

  • Source code - Java classes, XML layouts and resource files for:
    • "Hello World" and Tabbed Activities, each with its own Fragment
    • Optional Map Activity containing a MapView Fragment, with a marker and camera panned/zoomed to a configured geographic location
    • An application controller to handle click events, handle application events, and start the Activities
    • Optional Search icon opens a SearchView in the Toolbar and submits the query to a Search Activity (you will have to add the search algorithm and code to display the results)
    • Optional Preference icon that starts a PreferenceActivity with placeholder preference groups and values
    • Optional "About App" icon shows a screen with the application name, version name, custom text or HTML, and/or buttons to "Call Us" and "Email Us"
    • Sliding Navigation Drawers with customized header color in all Activities (not including the optional Search Activity and Preference Activity)
  • Material design - Customized primary and accent colors; customized text and icon colors in the Toolbar
  • Support files - Android manifest, launcher icon and gradle files

Sign In and download your zip file today!


Project Information

Project Name:
Package Name:
minSdkVersion:
 (readonly)
targetSdkVersion:
 (readonly)
compileSdkVersion:
 (readonly)
buildToolsVersion:
 (readonly)

App and Activity Information

Application Name:
Main Activity Name:
Main Activity Title:
Main Activity Type:

Toolbar Icons

Icon
Description
  Search
Opens a SearchView input control and submits the query to a Search Activity.
  Preferences
Starts a custom PreferenceActivity with two placeholder preference groups and two preferences per group.
  About App
Shows the "About App" screen with display information, extra HTML and/or buttons selected below.
App Name
Version Name
Extra HTML:
"Call Us" Button for
"Email Us" Button for

Theme and Colors

Activity Theme:
AppMaterialTheme.NoActionBar
Drawer Header Color:
Material Primary Color:
Material Accent Color:
Material Color Preview:

(Device status bar across the top, nav drawer on the left, toolbar on the upper right, and accented button on the lower right.)

Map and Marker Information

Google Map
API Key:

(editable only on HTTPS)
Place Map Marker:
Marker Title:
Marker Location:
Latitude/longitude:


(If needed see Get the coordinates of a place)

Navigation Drawer Items

Item Title
Activity to Start
Activity Type

Application Events

Method Name
Activity to Start
Activity Type



VERSION LOG
v2.7.1
– Removed redundant class casts
v2.0+ Toggle Version 2.0+ Rows
v2.7
  • Improved location retrieval and map handling
  • Refactored SoftKeyboardHelper to use Context not Activity
v2.6
  • Upgraded the generated build files per Migrate to Android Plugin for Gradle 3.0.0
    • Referenced Google repository in project build.gradle
    • Removed deprecated buildToolsVersion from module build.gradle
    • Raised compileSdkVersion and targetSdkVersion to 27
    • Raised versions of SDK Tools Support libraries to 27.1.1
    • Referenced SDK Tools Play Services libraries at version 15.0.1
    • Changed "compile" dependency keyword to "implementation"
    • Changed "testCompile" dependency keyword to "testImplementation"
  • Fixed compiler errors in code shared with other generators
v2.5
  • Moved the "Email Us" email address from Java code to the Button XML
  • Tabbed fragment can send metadata to selected fragment
v2.4
  • Removed the copyright and license references from the comment headers of generated Java classes
v2.3
  • MapHandler can manage and display collections of map markers
  • Added error handling when moving the camera on the Google Map
v2.2
  • On request, MapHandler changes the map type (examples: geometric, satellite, terrain)
  • On request, MapHandler provides a reference to its GoogleMap
v2.1
  • Enabled phone call and email from a web page and custom WebViewClient
v2.0
v1.0+ Toggle Version 1.0+ Rows
v1.9
  • Show the map compass when the map is rotated
  • Show the map toolbar when a map marker is clicked
v1.8
  • Use helper classes to initialize the Toolbar and SearchViews
  • Launch the "About App" screen from a toolbar icon (not a nav drawer item)
  • Store the "About App" screen's extra HTML in an assets file
v1.7
  • Fixed a bug generating the DynamicPageAdapter
  • Added missing color for the WebView background
v1.6
  • Request Internet permission in the manifest only if the app needs it
  • Added optional phone and email buttons to the "About App" Fragment
v1.5
  • Added optional "About App" Fragment
v1.4
  • Added optional Map Activity with MapView Fragment and marker
  • Converted android.support.v7.widget.SearchView to android.widget.SearchView
v1.3
  • Added optional Search icon and SearchView in Toolbar
v1.2
  • Activities share the same navigation drawer header and menu
v1.1
  • Added optional Preferences icon in Toolbar
  • Save the application name (not project name) to strings.xml
  • Reference the application name in the navigation drawer header
v1.0
  • Initial release plus enhancements through January 2017

END USER LICENSE AGREEMENT

As of Version 2.0 of all mobile application templates, the GNU General Public License has been retired in favor of an End User License Agreement (EULA) that more accurately reflects the nature of proprietary software that is available by subscription.

In summary, the EULA grants Licensees ownership of and permission to use and sell all End Products generated from the downloaded Software, but you are restricted from re-distributing or reselling the Software itself, except as packaged in the End Products as needed to make them functional.

Please read the EULA in full. A copy is included in each generated Android Studio project, and referenced in the comment header of each Java source file. The retired GNU General Public License is archived here for your reference.

Please send any questions to

PRIVACY

Information about your mobile app submitted to this web site is not permanently stored, logged on our servers, used for internal or external analytics, or shared with any other external system or third party. For more information see this websites's Privacy Policy



Copyright © AppStoreMarketResearch.com