Bút cảm ứng
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
A stylus enables artists, builders, and creators to express themselves using
precise input and expansive canvases. Pressure sensitivity and low latency allow
highly responsive interactions. Intuitive content management through drag and
drop provides a premium usability experience.
Guidelines
Build creative freedom into your app with stylus support.
Stylus
| Guideline ID |
Test IDs |
Description |
| Stylus_Draw_Write |
T-Stylus_Draw_Write |
App supports drawing and writing with a stylus. Drawings and writing can be erased with the stylus. |
| Stylus_Drag_Drop |
T-Stylus_Drag_Drop |
App provides stylus support for dragging and dropping content between elements within the app and, in multi-window mode, to and from other apps. See Enable drag and drop. |
| Stylus_Enhanced |
T-Stylus_Enhanced |
App provides enhanced stylus support, including:
- Low latency and motion prediction to improve responsiveness
- Pressure sensitivity for drawing strokes of varying width
- Tilt detection for creating shading strokes
- Palm and finger rejection to prevent stray marks
See Advanced stylus features.
|
Tests
To verify that your stylus app provides a differentiated experience,
complete the following tests.
Stylus
| Test ID |
Guideline IDs |
Description |
| T-Stylus_Draw_Write |
Stylus_Draw_Write |
Draw and write within the app using a stylus. Erase drawings and writing using the stylus. |
| T-Stylus_Drag_Drop |
Stylus_Drag_Drop |
Using a stylus, drag and drop content on drop targets within the app. In multi-window mode, drag and drop content between the app and another app (to and from both apps). |
| T-Stylus_Enhanced |
Stylus_Enhanced |
Interact with the app using a stylus as follows:
- As you draw, observe the latency between the current stylus position and the last rendered stroke.
- Draw with varying amounts of stylus pressure. Check whether the width of the strokes changes as the pressure changes. More pressure should produce thicker strokes.
- Tilt the stylus as you draw; shading strokes should be produced. The more the stylus is tilted, the wider and lighter the shading strokes should be.
- Let your fingers and palm touch the screen as you draw. The finger and palm touches shouldn't produce marks.
|
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2026-03-23 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2026-03-23 UTC."],[],[]]