Hanya 1 tombol label (dengan label dan ikon opsional) yang diizinkan per template.
Urutan tombol ditentukan oleh aplikasi.
Contoh Android Auto
Contoh AAOS
Dukungan template
Semua template mendukung strip tindakan. Terkadang strip tindakan dapat berada di
header.
Panduan
Gunakan strip tindakan untuk tindakan sekunder atau tersier, bukan tindakan utama
– kecuali pada Template navigasi.
Untuk mengetahui detail tentang kapan strip tindakan ditampilkan di template Navigasi
dan kapan strip tindakan tersebut disembunyikan, lihat Visibilitas strip tindakan.
Pada template yang berisi peta, strip tindakan dapat berisi hingga 4 tombol, seperti yang ditunjukkan
dalam contoh ini.
Contoh Android AutoContoh Android Auto
Contoh Android Auto
Mode geser
Dalam mode geser, hanya tombol peta layar penuh dan strip tindakan peta yang terlihat. Mode geser digunakan untuk input dari alat rotasi dan touchpad.
Untuk tombol geser, aplikasi dapat menyediakan 2 ikon: satu untuk masuk ke mode geser,
dan satu untuk keluar. Ikon untuk keluar dari mode geser harus secara jelas menunjukkan
bahwa mode tersebut menyediakan cara untuk keluar. Misalnya, tombol ini dapat menampilkan
**X**.
Visibilitas strip tindakan
Library aplikasi umumnya menangani untuk menampilkan dan menyembunyikan strip tindakan dan
strip tindakan peta dalam template berbasis peta berdasarkan interaksi pengguna, seperti yang ditunjukkan
di bawah ini.
Saat template berbasis peta terbuka, strip tindakan dan strip tindakan
peta akan terlihat. Jika 10 detik berlalu tanpa interaksi pengguna, dan jika strip tindakan dan strip tindakan peta tidak memiliki fokus pengguna untuk input dari alat rotasi, strip tindakan tersebut akan menghilang. (Pengecualian tercantum di bawah ini.)Jika strip tindakan dan strip tindakan peta disembunyikan, setiap interaksi pengguna dengan layar akan menyebabkan keduanya muncul kembali.
Pengecualian
Aplikasi dapat menandai tindakan di salah satu strip tindakan sebagai persisten agar tidak
menghilang.
Library aplikasi dapat menyembunyikan strip tindakan di layar kecil setelah 10 detik
meskipun ada fokus putar, untuk meminimalkan kekacauan.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eAction strips provide quick access to secondary or tertiary actions in Android Auto and AAOS apps using buttons, with limits depending on the template used.\u003c/p\u003e\n"],["\u003cp\u003eTemplates with maps can have an action strip with up to 4 buttons and may include a pan mode for rotary and touchpad input.\u003c/p\u003e\n"],["\u003cp\u003eAction strips and map action strips automatically hide after 10 seconds of user inactivity, except for persistent actions or on small screens.\u003c/p\u003e\n"],["\u003cp\u003eApps should not use both an action strip and a floating action button simultaneously.\u003c/p\u003e\n"],["\u003cp\u003eAction strips are generally used for secondary actions, except in the Navigation template where they may contain primary actions.\u003c/p\u003e\n"]]],[],null,["# Action strip\n\n\u003cbr /\u003e\n\nAction strips put secondary or tertiary actions a tap away.\n\n**Includes**:\n\n- Action [buttons](/cars/design/create-apps/apps-for-drivers/components/button) (up to 2, except for [templates with maps](#map-templates), which allow up to 4)\n\nOnly 1 label button (with label and optional icon) is allowed per template.\nButton order is specified by the app. \nAndroid Auto example\n\nAAOS example\n\n\u003cbr /\u003e\n\nTemplate support\n----------------\n\nAll templates support the action strip. Sometimes the action strip can reside in\nthe [header](/cars/design/create-apps/apps-for-drivers/components/header).\n\nGuidance\n--------\n\nUse action strips for secondary or tertiary actions, rather than primary actions\n-- except on the [Navigation template](/cars/design/create-apps/apps-for-drivers/templates/navigation-template).\nFor details about when the action strip is displayed on the Navigation template\nand when it's hidden, refer to [Visibility of action strips](#visibility).\n\nDo not include both an action strip and a\n[floating action button](/cars/design/create-apps/apps-for-drivers/components/fab)\nat the same time.\n| **Note:** Templates for navigation apps can also have a [map action strip](/cars/design/create-apps/apps-for-drivers/components/map-action-strip) with map interactivity buttons.\n\nAction strip on template with maps\n----------------------------------\n\nOn templates with maps, the action strip can include up to 4 buttons, as shown\nin these examples.\nAndroid Auto example Android Auto example \nAndroid Auto example\n\n\u003cbr /\u003e\n\nPan mode\n--------\n\nIn pan mode, only the full-screen map and map action strip buttons are\nvisible. Pan mode is used for rotary and touchpad inputs.\n\nFor the pan button, apps can provide 2 icons: one for entering pan mode,\nand one for exiting. The icon for exiting pan mode should clearly indicate\nthat it provides a way to exit. For example, this button can show an\n\\*\\*X\\*\\*.\n\n\u003cbr /\u003e\n\n| **Note:** Apps must include a pan button in the map action strip in order to enable user panning on all screen types, even though the pan button does not display on touch screens. Including the pan button causes touch gestures for map interactivity to be forwarded to the app.\n\nVisibility of action strips\n---------------------------\n\nThe app library generally takes care of showing and hiding the action strip and\nmap action strip in the map-based templates based on user interactions, as shown\nbelow.\nWhen a map-based template opens, the action strip and map action strip are visible. If 10 seconds go by with no user interaction, and if the action strip and map action strip do not have user focus for rotary input, they disappear. (Exceptions are noted below.) When the action strip and map action strip are hidden, any user interaction with the screen will cause them to reappear.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### Exceptions\n\n1. Apps can flag actions in either action strip as persistent to keep them from disappearing.\n2. The app library may hide the action strip on small screens after 10 seconds even when there is rotary focus, to minimize clutter."]]