实体按钮
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Wear OS 手表可能会采用不同的硬件按钮配置。本指南将介绍每种按钮类型最适合的使用情形。
按钮类型
以下是 Wear OS 设备上最常见的按钮类型。
操作系统按钮
操作系统按钮专为系统操作预留,用于开关机和启动应用。所有 Wear OS 手表都有一个电源按钮和一个启动器按钮。
多功能按钮
表盘或屏幕上的按钮可由操作系统和用户进行配置。任何其他按钮都可以映射到操作。可以根据按钮在手表上的位置将其映射到方便的操作。
按下状态
您可以通过以下方式与 Wear OS 按钮互动。
按一下

图 1. 用户按下按钮,然后迅速松开。
按住

图 2. 用户按下按钮并保持 500 毫秒或更长时间。
多功能按钮映射
您的应用可以将多功能按钮分配给相应操作,只要这样做适合应用的用例。不过,我们并不要求应用为多功能按钮分配操作。
如果存在以下任一情况,请在应用中使用多功能按钮:
- 应用存在明显的二元操作(例如播放/暂停)。
- 用户主要在不看显示屏的情况下使用应用。

图 3. 这款健身应用为一个多功能按钮分配了暂停/恢复操作,让用户可以在不看屏幕的情况下执行操作。

图 4. 这款即时通讯应用包括回复操作,此操作需要执行多个步骤,只按一下按钮无法完成。
二元操作
二元操作有助于用户了解每次按下按钮时会发生什么。例如,秒表上的“启动”和“停止”就构成了一项二元操作,这是很适合使用多功能按钮的一种情形。
图 5. 按下多功能按钮可启动时钟,再次按下可停止时钟。
多功能按钮用作替代方案
由于某些手表没有多功能按钮,因此要让多功能按钮操作可以通过屏幕上的界面元素来使用。不过,您也可以使用多功能按钮来替代屏幕上的按钮。
图 6. 使用多功能按钮作为启动/停止操作的替代方案,并将其显示为屏幕上的按钮。
如果某项操作无法使用屏幕上的界面元素来执行,请不要将多功能按钮用于该操作。
图 7. 这款秒表应用使用多功能按钮重启秒表,但这并不清晰直观。
按下多功能按钮应立即执行分配给它的操作。为了让用户无需查看屏幕,请使用多功能按钮执行只需按一下按钮即可完成的操作。
check_circle
正确做法
使用多功能按钮执行只需按一下按钮即可完成的操作。
cancel
错误做法
使用多功能按钮执行复杂的操作。
在上面这款音乐应用中,用户可以迅速暂停播放歌曲,这是很适合使用多功能按钮的一个例子。然而,在上面这款即时通讯应用中,按下按钮就会开始回复操作,但用户在完成回复操作前可能需要先查看消息。这意味着,这种互动并不适合使用多功能按钮来完成。
可撤消
按钮操作应当可撤消。不要使用多功能按钮触发破坏性操作,例如删除数据或停止持续性活动。以这款地图应用为例,按下多功能按钮会执行一项操作来“停止导航”,这可能导致用户在关键时刻失去方向。
cancel
错误做法
使用多功能按钮触发破坏性操作,例如删除数据或停止持续性活动。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):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"]],["最后更新时间 (UTC):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."]]