I'm trying to capture the TouchRelease
event in Android. I have seen that event.getAction()
returns the action type. But inside onTouchEvent
it always gives the action ACTION_DOWN
.
Do you know how to capture the touch release event.
public boolean onTouchEvent(MotionEvent event) {
Log.d(TAG,""+event.getAction());
return super.onTouchEvent(event);
}