In my application, I need to handle both move and click events.
A click is a sequence of one ACTION_DOWN action, several ACTION_MOVE actions and one ACTION_UP action
If you want to react on click only, use:
if (event.getAction() == MotionEvent.ACTION_UP) { }