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

第 1 层级 - 针对大屏设备提供差异化体验
与众不同的大屏设备应用支持与网络应用或桌面应用等效的键盘、鼠标和触控板功能,包括:
- 一整套键盘快捷键,以及传统快捷键,例如:使用 Ctrl-C 进行复制,使用 Ctrl-Z 进行撤消
- 键盘和鼠标或触控板组合(例如 Ctrl+点击/Ctrl+点按和 Shift+点击/Shift+点按),用于实现增强功能,例如选择一定范围内的相邻项或多个分隔开来的项
- 当用户使用鼠标或触控板滚动内容时,滚动条会显示
- 当鼠标光标或触控板悬停在界面元素上时,显示其他内容,例如飞出菜单或提示
- 桌面设备样式的菜单和上下文菜单
- 在多面板布局中,可使用鼠标或触控板移动和调整界面面板的大小
- 使用鼠标或触控板点击或点按三次即可选择整行或整段文字
后续步骤
如需详细了解如何优化应用的输入功能,请参阅:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Keyboard, mouse, and trackpad\n\nTIER 1 --- Large screen differentiated\n| **Objective:** Make your app [large screen differentiated](/docs/quality-guidelines/large-screen-app-quality#large_screen_differentiated) by meeting the [LS-I10](/docs/quality-guidelines/large-screen-app-quality#LS-I10) through [LS-I16](/docs/quality-guidelines/large-screen-app-quality#LS-I16) keyboard, mouse, and trackpad requirements of the [Large screen app quality](/docs/quality-guidelines/large-screen-app-quality) guidelines.\n\nLarge screen differentiated apps support keyboard, mouse, and trackpad features\nequivalent to those of web or desktop apps, including:\n\n- A comprehensive set of keyboard shortcuts in addition to conventional shortcuts such as \u003ckbd\u003eCtrl-C\u003c/kbd\u003e for copy and \u003ckbd\u003eCtrl-Z\u003c/kbd\u003e for undo\n- Keyboard and mouse or trackpad combinations, such as \u003ckbd\u003eCtrl+click\u003c/kbd\u003e or \u003ckbd\u003eCtrl+tap\u003c/kbd\u003e and \u003ckbd\u003eShift+click\u003c/kbd\u003e or \u003ckbd\u003eShift+tap\u003c/kbd\u003e, for enhanced capabilities such as the selection of ranges of adjacent items or multiple separated items\n- Scrollbars while content is being scrolled using a mouse or trackpad\n- Additional content such as fly-out menus or tooltips on mouse or trackpad hover over UI elements\n- Desktop-style menus and context menus\n- UI panels in multipanel layouts that are movable and resizable using a mouse or trackpad\n- Triple clicking or tapping using a mouse or trackpad to select entire lines or paragraphs of text\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)"]]