[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe Search template provides a search experience for drivers, including a search bar, keyboard, and results list, primarily for finding destinations.\u003c/p\u003e\n"],["\u003cp\u003eDuring drives, the keyboard is hidden for safety, and users can interact with search through voice commands and previous results.\u003c/p\u003e\n"],["\u003cp\u003eThis template can be integrated with the Tab template for tabbed navigation within the app.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers must update the search results list as the user types and should prioritize dynamic content updates for search results during input.\u003c/p\u003e\n"],["\u003cp\u003eThe keyboard can be displayed as expanded or collapsed when parked, and developers can optionally include hint text in the search bar and display past results or relevant content by default.\u003c/p\u003e\n"]]],[],null,["# Search template\n\n\u003cbr /\u003e\n\nThe Search template presents a search bar, keyboard, and results list for users\nto perform searches, such as searching for destinations.\n\nDuring drives, users can't access the keyboard, but they can use the voice\nassistant to interact with search and see previous results.\n\nThis template can be embedded in the\n[Tab template](/cars/design/create-apps/apps-for-drivers/templates/tab-template)\nto provide tabbed navigation. \n**Includes:**\n\n- Tabs, if this template is embedded in the [Tab template](/cars/design/create-apps/apps-for-drivers/templates/tab-template)\n- Search bar [header](/cars/design/create-apps/apps-for-drivers/components/header) with optional [action strip](/cars/design/create-apps/apps-for-drivers/components/action-strip)\n- List [rows](/cars/design/create-apps/apps-for-drivers/components/row) for search results (within limits\\*)\n- Keyboard (when parked), which apps can collapse or expand\n\n\u003cbr /\u003e\n\n| **\\* 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](https://developer.android.com/training/cars/apps#constraint-manager).\n\nSearch template examples\n------------------------\n\nIn 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)\n\n\u003cbr /\u003e\n\nSearch template UX requirements\n-------------------------------\n\nApp developers:\n\n|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **MUST** | Update the list when a user enters keywords. |\n| **SHOULD** | Provide dynamic content (screen refresh) only to show search results during user input. |\n| **SHOULD** | Either show content or launch a keyboard (if there is no content to show) when opening the template. |\n| **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). |\n| **MAY** | Provide hint text on the search bar. |\n| **MAY** | Display a default list of past results or other relevant content. |"]]