實體按鈕
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Wear OS 手錶可能會有不同的硬體按鈕設定。本指南將說明每種按鈕類型的最佳用途。
按鈕類型
Wear OS 裝置最常見的按鈕類型如下。
OS 按鈕
OS 按鈕保留給系統操作使用:開啟和關閉電源,以及啟動應用程式。所有 Wear OS 手錶都會有電源鍵和啟動器按鈕。
多功能按鈕
錶面或螢幕上的按鈕可由 OS 和使用者進行設定。其他按鈕皆可對應為動作。您可以根據按鈕在手錶上的位置把按鈕對應到便利動作上。
按壓狀態
您可以透過以下方式和 Wear OS 按鈕互動。
按一下

圖 1. 使用者按下按鈕後快速放開。
按住

圖 2. 使用者按住按鈕達 500 毫秒以上。
多功能按鈕對應
只要符合應用程式的用途,應用程式便能將多功能按鈕指派給各種動作。應用程式不一定要為多功能按鈕指派動作。
如果符合下列任一條件,您便可在應用程式中使用多功能按鈕:
- 應用程式有明顯的二元動作 (如播放/暫停)。
- 使用您的應用程式時多半不需查看螢幕。

圖 3. 這個健身應用程式將暫停/繼續動作指派給多功能按鈕,使用者不用查看螢幕就能執行動作。

圖 4. 這個訊息應用程式提供回覆動作,這個動作需要進行多個步驟,無法藉由按一下按鈕完成。
二元動作
二元動作可以幫助使用者瞭解按下按鈕後會發生什麼情況。例如碼表上的「開始」和「停止」就構成一種二元動作,也很適合多功能按鈕使用。
圖 5. 按下多功能按鈕即可開始計時,再按一次便停止計時。
使用多功能按鈕做為替代方案
由於某些手錶未設有多功能按鈕,因此請讓使用者得以透過螢幕上的 UI 元素存取多功能按鈕。不過,您也可以把多功能按鈕當成螢幕按鈕的替代方案。
圖 6. 使用多功能按鈕當做開始/停止動作的替代方案,並在螢幕上顯示這個按鈕。
請勿使用多功能按鈕代表螢幕 UI 元素無法執行的動作。
圖 7. 這個碼表應用程式使用多功能按鈕重新啟動碼表,但是這個操作並不清楚、也不直覺。
按下多功能按鈕會立即執行指派的動作。為了避免使用者需要查看螢幕,請用多功能按鈕執行按一下就能完成的動作。
check_circle
正確做法
使用多功能按鈕執行按一下就能完成的動作。
cancel
錯誤做法
使用多功能按鈕執行複雜的動作。
這個音樂應用程式可讓使用者快速暫停播放歌曲,非常適合多功能按鈕使用。不過,這個訊息應用程式在使用者按下按鈕後會開始回覆動作,而使用者可能需要查看訊息之後才能完成動作。因此,這並非適合多功能按鈕的互動方式。
可復原
請讓按鈕動作可以復原。請勿用多功能按鈕觸發破壞性動作,例如刪除資料或停止持續進行的活動。舉例來說,按下這個地圖應用程式的多功能按鈕就會執行「停止導航」動作,這樣可能會導致使用者在重要時刻迷失方向。
cancel
錯誤做法
使用多功能按鈕觸發破壞性動作,如刪除資料或停止持續進行的活動。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Physical buttons\n\nWear OS watches may have different hardware button configurations. This guide\ngoes over the best use cases for each of these button types.\n\nButton types\n------------\n\nThe following are the most common button types on Wear OS devices.\n\n### OS buttons\n\nOS buttons are reserved for system actions: turning power on and off, and launching apps. All Wear OS watches have a power button and a launcher button.\n\n### Multifunction buttons\n\nButtons on the watch face or screen are OS-configurable and user-configurable. Any other buttons can be mapped to actions. Buttons can be mapped to convenient actions based on where they are located on the watch.\n\nPress states\n------------\n\nYou can interact with Wear OS buttons in the following ways.\n\n\n### Single press\n\n**Figure 1.** User presses the button and releases it quickly. \n\n### Press and hold\n\n**Figure 2.** User presses the button and holds it for 500ms or longer.\n\n\u003cbr /\u003e\n\nMultifunction button mapping\n----------------------------\n\nYour app can assign multifunction buttons to actions if doing so fits your app's\nuse case. Apps are not required to assign actions to multifunction buttons.\n\nUse multifunction buttons in your app if one of the following conditions applies:\n\n- Your app has obvious, binary actions (such as play/pause).\n- The user primarily uses your app without the user looking at the display.\n\n\n**Figure 3.** This fitness app has assigned a pause/resume action to a\nmultifunction button, which allows the user to perform the action without\nlooking at the screen. \n\n**Figure 4.** This messaging app includes a reply action, which requires\nmultiple steps and can't be completed with a single button press.\n\n\u003cbr /\u003e\n\n### Binary actions\n\nBinary actions help users understand what will happen each time they press a\nbutton. For example, \"start\" and \"stop\" on a stopwatch constitute a binary\naction, and represent a good use case for multifunction buttons. \n**Figure 5.** Pressing the multifunction button starts the clock, and pressing it again stops the clock.\n\n### Multifunction buttons as alternatives\n\nMake multifunction button actions accessible via on-screen UI elements,\nas some watches don't have multifunction buttons. But you can use multifunction\nbuttons as alternatives for on-screen buttons. \n**Figure 6.** Use a multifunction button as an alternative for a start/stop action and show it as an on-screen button.\n\nDon't use a multifunction button for an action that can't be performed using on-screen UI elements. \n**Figure 7.** This stopwatch app uses the multifunction button to restart the stopwatch, but this isn't clear and intuitive.\n\n### Focus on simplicity and immediacy\n\nPressing a multifunction button immediately conducts its assigned action. To\nprevent users from needing to look at the screen, use multifunction buttons\nfor actions that can be completed with a single press. \ncheck_circle\n\n### Do\n\nUse multifunction buttons for actions that can be completed with a single press. \ncancel\n\n### Don't\n\nUse a multifunction button for complex actions.\n\nIn this music app the user can quickly pause a song, which is a good example of\nusing the multifunction button. However, in this messaging app, pressing the\nbutton begins the action of replying, but the user may need to review the\nmessage before completing the action. This means that this is not a good\ninteraction for a multifunction button.\n\n### Reversible\n\nMake button actions reversible. Don't use a multifunction button to trigger a\ndestructive action, such as deleting data or halting an ongoing activity.\nFor example, pressing the multifunction button in this map app performs an\naction to \"Stop navigation,\" which can cause a user to lose directions at\ncritical times. \ncancel\n\n### Don't\n\nUse a multifunction button to trigger a destructive action, such as deleting data or halting an ongoing activity."]]