Android Toolbar Tabs TabLayout Code Generator

Quickly and easily generate an Android Studio project with Toolbar tabs, a dynamic TabLayout and custom Fragments.


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 and XML layouts for:
    • Activity with Material design Toolbar and TabLayout
    • Customized tab text size, style and font family
    • Tabbed Activity uses a dynamic FragmentPagerAdapter to switch between custom Fragments with a "Hello World" message or MapView (plus optional map marker and the camera panned/zoomed to a configured geographic location)
    • 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 uses an application controller to start a PreferenceActivity with placeholder preference groups and values
    • Optional "About App" icon shows a Fragment with the application name, version name, custom text or HTML, and/or buttons to "Call Us" and "Email Us"
  • Material design - Customized primary and accent colors
  • 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:
Activity Class Name:
Activity Title:

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:
Material Primary Color:
Material Accent Color:
Material Color Preview:

Toolbar Label Options

Text Size:
Text Style:
Font Family:
All Caps:

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)

Tab and Fragment Information

Tab Text
Fragment Class Name
Fragment 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 "androidTestCompile" dependency keyword to "androidTestImplementation"
    • 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
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.8
  • Show the map compass when the map is rotated
  • Show the map toolbar when a map marker is clicked
v1.7
  • Use a helper class to initialize the "About App" screen's SearchView
v1.6
  • Access the "About App" screen from a toolbar icon not tab
  • Store the "About App" screen's extra HTML in an assets file
v1.5
  • Added optional phone and email buttons to the "About App" Fragment
v1.4
  • Added optional "About App" Fragment as a tab item
v1.3
  • Added optional MapView Fragment and map marker
  • Converted android.support.v7.widget.SearchView to android.widget.SearchView
v1.2
  • Added optional Search icon and SearchView in Toolbar
v1.1
  • Added optional Preferences icon in Toolbar
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