触控笔输入简介
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
触控笔可让用户舒适而精确地与应用互动,以便做笔记、素描、使用办公应用,以及轻松畅玩游戏和娱乐应用。
主题
触控笔输入文档提供了有关以下主题的指导:
- 在文本输入字段中手写输入
- 高级触控笔功能,例如触控笔压力、方向、倾斜度、悬停和手掌检测
- 记事应用中的触控笔支持
前提条件
触控笔输入指南假定您对以下 Android API 和组件有基本的了解:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],[],null,["# About stylus input\n\nA stylus enables users to interact with apps comfortably and with pinpoint\naccuracy for note‑taking, sketching, working with productivity apps, and\njust relaxing and having fun with games and entertainment apps.\n\nTopics\n------\n\nThe stylus input documentation provides guidance on the following topics:\n\n- Handwritten input in text entry fields\n- Advanced stylus features such as stylus pressure, orientation, tilt, hover, and palm detection\n- Stylus support in note-taking apps\n\nPrerequisites\n-------------\n\nThe stylus input guidance assumes a basic understanding of the following Android\nAPIs and components:\n\n- Compose and [`WebView`](/reference/kotlin/android/webkit/WebView) text fields\n- [`EditText`](/reference/kotlin/android/widget/EditText) class\n- [`MotionEvent`](/reference/kotlin/android/view/MotionEvent) class"]]