Detect When A User Moves Off Of A Button In Android
Is it possible to detect anytime a user moves their finger off of a button after they have been pressing down on it? I have determined that onTouchListener will get an action when
Solution 1:
Try go next:
arg1.getX();
arg1.getY();
arg1 - is from your code
Here you can get coordinates of MotionEvent. Next you will do anything with this coordinates
Hope, it help you
Post a Comment for "Detect When A User Moves Off Of A Button In Android"