1

I have a webview within a container which is draggable within the screen. I'd like to handle the touch event at the container level so that webview will be draggable around. However, Webview steals the touch (it basically scrolls down the rendered web site and container stays still, I want the site stays still and the parent container of webview should be moving around).

I tried a couple of methods so far like overriding the webview.

@Override
public boolean onInterceptTouchEvent(MotionEvent ev)
{
    onTouchEvent(ev);
    return false;
}

This doesn't really worked. Any idea?

Thanks.

Rowland Shaw
  • 37,700
  • 14
  • 97
  • 166
Hakan
  • 590
  • 1
  • 5
  • 18

0 Answers0