using gestureoverlayview with scrollview problem
I have scrollview in that i have tableview and in that I have gestureoverlayview ....my problem is when I do any gesture horizontally it works fine but when I do any gesture vertically the scrollview start moving ...the event get captured by scrollview ... I tried following code but it dint work out
public boolean dispatchTouchEvent(MotionEvent ev) {
System.ou开发者_运维技巧t.println("m touched");
if(ev.equals(sEvent)){
System.out.println("in touched2");
return overlay.dispatchTouchEvent(ev);
}else{
return scl.dispatchTouchEvent(ev);
}
}
精彩评论