In Android, how can we detect if a user touches on button and drags out of region of this button?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check the MotionEvent.MOVE_OUTSIDE:Check the MotionEvent.MOVE:NOTE: If you want to target Android 4.0, a whole world of new possibilities opens:
http://developer.android.com/reference/android/view/MotionEvent.html#ACTION_HOVER_ENTER