I am trying to embedded a webview in a framelayout. my launch.xml is as shown below.
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent"/> </FrameLayout> I have implemented the WebChromeClient and WidgetViewClient. I have implemented the onTouchEvent and passing the touch events to the WebView.
The problem i am facing is am not able to scroll inside the webview. For example, the content is some 5 lines then am able to see only 3 lines and not able to scroll.
The touch events go to Webview, first action_down and then action_move, am not able to get what wrong am doing??
I have this code also
mWebView.setHorizontalScrollBarEnabled(true); mWebView.setVerticalScrollBarEnabled(true); Is there anything else i have to set??
I have checked by replacing the FrameLayout with Scr Thanks in advance..