Im having problem with handling touch events, as far as i understand MotionEvent.Action_Move should register a touch that is not moving as well, i.e. press/hold?
But my code only registers when touch event is moving, and i have no idea why. Ive set setLongClickable(true) on the View, but that didn't help. Any ideas=
public boolean onTouch(View view, MotionEvent event) {
int action = event.getAction();
if (action== MotionEvent.ACTION_DOWN){
//Do on press
}
else if (action== MotionEvent.ACTION_MOVE){
//Continously do something while pressed
}
else if(action==MotionEvent.ACTION_UP){
//Do on release
}
return true;
}