0
score
2K
views
no
status
CC BY-SA 3.0
OnTouchListener intercept when touch goes outside view
Here is a View.OnTouchListener that you can use to see if MotionEvent.ACTION_UP was sent while the user had his/her finger outside of the view:
Technical answers from my Stack Overflow history, with source links and licenses.
Showing 1 of 1 answer tagged android-imageview
Exported May 9, 2026
Here is a View.OnTouchListener that you can use to see if MotionEvent.ACTION_UP was sent while the user had his/her finger outside of the view: