键盘、鼠标和触控板
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。

第 2 层级 - 针对大屏设备优化
针对大屏设备进行了优化的应用支持高级键盘、鼠标和触控板输入功能,从而提供符合无障碍功能要求的增强型用户体验,包括:
- 使用 Tab 键和箭头键进行键盘导航
- 用于执行选择、剪切、复制、粘贴、撤消和重做等操作的键盘快捷键
- 通过键盘控制媒体播放,例如使用空格键播放和暂停媒体
- 在通信应用中使用 Enter 键执行键盘发送功能
- 用户可通过鼠标和触控板右键点击行为(辅助鼠标按钮或辅助点按)来访问选项菜单
- 使用触控板双指张合手势和鼠标滚轮(配合 Ctrl 或 Control 键)缩放(放大)应用内容
- 互动界面元素的悬停状态
后续步骤
如需详细了解如何优化应用的输入功能,请参阅:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Keyboard, mouse, and trackpad\n\nTIER 2 --- Large screen optimized\n| **Objective:** Make your app [large screen optimized](/docs/quality-guidelines/large-screen-app-quality#large_screen_optimized) by meeting the [LS-I3](/docs/quality-guidelines/large-screen-app-quality#LS-I3) through [LS-I9](/docs/quality-guidelines/large-screen-app-quality#LS-I9) keyboard, mouse, and trackpad requirements of the [Large\n| screen app quality](/docs/quality-guidelines/large-screen-app-quality) guidelines.\n\nApps optimized for large screen devices provide an enhanced,\naccessibility‑compliant user experience by supporting advanced keyboard,\nmouse, and trackpad input capabilities, including:\n\n- Keyboard navigation using the \u003ckbd\u003eTab\u003c/kbd\u003e and arrow keys\n- Keyboard shortcuts for actions such as select, cut, copy, paste, undo, and redo\n- Keyboard control of media playback, such as using the \u003ckbd\u003eSpacebar\u003c/kbd\u003e to play and pause media\n- Keyboard *send* function in communication apps using the \u003ckbd\u003eEnter\u003c/kbd\u003e key\n- Options menus accessible by mouse and trackpad right‑click behavior (secondary mouse button or secondary tap)\n- App content zoom (magnification) using trackpad pinch gestures and the mouse scroll wheel with the \u003ckbd\u003eCtrl\u003c/kbd\u003e or \u003ckbd\u003eControl\u003c/kbd\u003e key\n- Hover states for interactive UI elements\n\nNext steps\n----------\n\nFor more information about how to optimize your app's input capabilities, see:\n\n- [Input compatibility on large screens --- Compose](/develop/ui/compose/touch-input/input-compatibility-on-large-screens)\n- [Input compatibility on large screens --- views](/develop/ui/views/touch-and-input/input-compatibility-on-large-screens)\n- [Input compatibility on ChromeOS](https://chromeos.dev/en/android/input-compatibility)\n- [Build accessible apps](/guide/topics/ui/accessibility)"]]