触控笔
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。

第 1 层级 - 针对大屏设备提供差异化体验
针对大屏设备进行差异化设计的应用支持使用触控笔绘图、书写和擦除。用户可以使用触控笔在应用内以及应用之间(在多窗口模式下)拖放内容。应用支持记事应用中的触控笔输入。
差异化应用支持高级触控笔功能,包括:
- 低延迟和动作预测,实现实时响应
- 针对可变宽度笔画的压力感应
- 用于阴影的倾斜检测
- 防手掌和手指误触功能,用于处理意外触摸屏幕的情况
后续步骤
如需了解如何在应用中提供完整的触控笔支持,请参阅:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Stylus\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-S2](/docs/quality-guidelines/large-screen-app-quality#LS-S2) through [LS-S4](/docs/quality-guidelines/large-screen-app-quality#LS-S4) stylus requirements of the [Large screen app\n| quality](/docs/quality-guidelines/large-screen-app-quality) guidelines.\n\nApps differentiated for large screen devices support drawing, writing, and\nerasing with a stylus. Users can drag and drop content within an app and between\napps (in multi‑window mode) using a stylus. Apps support stylus input in\nnote‑taking apps.\n\nDifferentiated apps support advanced stylus features, including:\n\n- Low latency and motion prediction for real-time responsiveness\n- Pressure sensitivity for variable-width strokes\n- Tilt detection for shading\n- Palm and finger rejection to handle inadvertent screen touches\n\nNext steps\n----------\n\nTo learn how to provide complete stylus support in your app, see:\n\n- Compose\n\n - [About stylus input](/develop/ui/compose/touch-input/stylus-input)\n - [Input compatibility on large screens](/develop/ui/compose/touch-input/input-compatibility-on-large-screens)\n - [Drag and drop](/develop/ui/compose/touch-input/user-interactions/drag-and-drop)\n- Views\n\n - [Stylus](/develop/ui/views/touch-and-input/stylus-input)\n - [Input compatibility on large screens](/develop/ui/views/touch-and-input/input-compatibility-on-large-screens)\n - [Enable drag and drop](/develop/ui/views/touch-and-input/drag-drop)"]]