The Android for Cars App Library helps you build apps that work with both: Android Auto and Android Automotive OS
The Android for Cars App Library:
- Provides vehicle-optimized templates and components that you can assemble into task flows to design your app's user interface.
- Handles important functions such as responsive screen sizing so your app can work effectively in all compatible vehicles.
- Is available for multiple app categories: See the full list here.
This section describes all available templates and the components included on each. To see a list of requirements your apps should meet, see Templated app requirements.
The Android for Cars App Library includes:
General purpose templates (usable by all apps types built using the Car App Library)
| Template | What it shows |
|---|---|
| List, Grid | Information items in a list or grid layout |
| Sectioned Item | Mix and match browsing structure using lists and grids |
| Pane | Detailed information and prominent actions, with optional image |
| Message, Long Message | Brief or longer full-screen message and relevant actions |
| Search | Search bar and results list |
| Sign-in | Options for signing in to the app |
| Tab | Tabs at top to switch among views of other embedded templates |
Special purpose templates
| Template | What it shows | App categories |
|---|---|---|
| Navigation | Full-screen map with action strip and optional routing card | Navigation |
| Place List (map) | List of locations or other items next to a map drawn by app library | POI |
| Map + Content | Map with view of other included template | Navigation, POI, Weather |
| Media Playback | View of currently playing media | Media |