platform-guideline checked
Android Developers: Detect common gestures
Documents Android GestureDetector support for common gestures including onDown, onLongPress, onFling, double tap, scroll, and touch-event handling through the target view.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Long press | Choose long press when the design problem is a sustained-contact gesture and its threshold, feedback, cancellation, and equivalent action path. | Long press starts only from a target that intentionally supports sustained contact. | Supports platform recognition of onLongPress and related common gesture detection. |
Evidence Role
This source is treated as platform-guideline evidence. Use it to validate the decision rules above, not as a visual style reference.
Publisher: Android Developers. Last checked: .