Code Theory

Android

Touch & Gestures

The input event pipeline, gesture detection and scroll conflicts.

Touch & Gestures guides on Code Theory
Guide Length API status
Understanding Android Input Touch Events System Framework (dispatchTouchEvent, onInterceptTouchEvent, onTouchEvent, OnTouchListener.onTouch)

On my journey of learning Android Development, I’ve realised that it is really important to understand the input handling especially how the entire touch…

1703w Superseded
Android ViewFlipper and ViewSwitcher with GestureDetector Swipes/Flings

While developing an Android application, most of us will encounter the need to integrate a section in our app where the user can switch between Views.

2170w Superseded
Detecting Common Gestures on Android Using GestureDetector

Gestures are those subtle motions to trigger interactions between the touch screen and the user.

887w Superseded
Using onTouchEvent() and View.OnTouchListener Interface with MotionEvent to Detect Common Gestures Like Tap and Swipes on Android

Touch gestures like tapping, swiping vertically/horizontally, panning, etc.

625w Superseded

More in Android

All Android →