Hi,

I have a webview embedded in my application. The zoom controls for the
webview however don't work like the zoom controls on the web browser
application in the emulator. The difference is in the way text is
rendered on zooming in. In my activity that uses WebView, the text is
rendered in a narrow column. As we progressively zoom in on the
screen, the text is re-rendered in narrower column. As a result, at
high zoom levels, I can see a very narrow margin of text on the
screen. For example,
http://img296.imageshack.us/my.php?image=deviceia8.png

In the web browser app supplied in the emulator, the zooming
functionality is as I expect it to be. When I zoom in on some text,
the text is not re-rendered but merely enlarged. This way, one can use
the horizontal scroll to look at text which is outside the current
viewport.

I want my activity to have similar functionality. Any clues on how to
achieve it? I am pasting my layout for this activity below:

<RelativeLayout 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="wrap_content"
                android:layout_height="wrap_content" />
        <LinearLayout android:id="@+id/zoom" android:layout_width="wrap_content"
                android:layout_height="wrap_content" 
android:layout_alignParentBottom="true"
                android:layout_alignParentLeft="true" />

</RelativeLayout>


Thank you in advance,
Kunal

--~--~---------~--~----~------------~-------~--~----~
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