Search template
Stay organized with collections
Save and categorize content based on your preferences.
The Search template presents a search bar, keyboard, and results list for users
to perform searches, such as searching for destinations.
During drives, users can't access the keyboard, but they can use the voice
assistant to interact with search and see previous results.
This template can be embedded in the
Tab template
to provide tabbed navigation.
Includes:
Tabs, if this template is embedded in the
Tab template
Search bar header
with optional action strip
List rows
for search results (within limits*)
Keyboard (when parked), which apps can collapse or expand
* Note: The number of list rows allowed
to be shown depends on the vehicle. To retrieve the list row limit for a
given vehicle, use the
ConstraintManager API .
Search template examples
In a parked state, the keyboard is available for typing search
terms (Android Auto example)
In a driving state, the keyboard is unavailable and the search bar
is disabled, but users can choose from past or suggested results shown on the
list (Android Auto example)
Search template UX requirements
App developers:
MUST
Update the list when a user enters keywords.
SHOULD
Provide dynamic content (screen refresh) only to show search results
during user input.
SHOULD
Either show content or launch a keyboard (if there is no content to
show) when opening the template.
MAY
Display the keyboard as either expanded or collapsed when a user opens
the template in a parked state (the keyboard is unavailable during the
driving state).
MAY
Provide hint text on the search bar.
MAY
Display a default list of past results or other relevant content.
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."]]