My class extends View and I need to get continuous touch events on it.
If I use:
public boolean onTouchEvent(MotionEvent me) { if(me.getAction()
This might help,
requestDisallowInterceptTouchEvent(true);
on the parent view, like this -
@Override public boolean onTouch(View view, MotionEvent motionEvent) { view.getParent().requestDisallowInterceptTouchEvent(true); switch(motionEvent.getAction()){ } return false; }