Hi All,

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 ScrollView by reading
some blogs but it didnt help..

Thanks in advance..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to