Tab template
Stay organized with collections
Save and categorize content based on your preferences.
The Tab template acts as a container for other templates listed below, providing
tabs across the top (as shown in
Anatomy of the Tab template).
The tabs allow switching among views. This capability is particularly useful for
organizing content or views that users will want to browse or search.
Includes:
- Tab bar with app icon and up to 4 tabs (no back button)
- Embedded template, which can be any of the following types:
Each tab view corresponds to one embedded template, and only one tab view
can be active at any given time.
Anatomy of the Tab template
Tab template examples
Tab template UX requirements
App developers:
MUST |
Provide monochromatic vector icons for each tab. |
MUST |
Include at least 2 and no more than 4 tabs in the app header. |
MUST NOT |
Allow more than 1 tab to be active at a time. |
MUST NOT |
Create a secondary navigation by adding a second level of tabs. |
SHOULD |
Use short tab labels to avoid truncation. |
SHOULD NOT |
Rely on a header or action strip in embedded templates. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-23 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-07-23 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-23 UTC."]]