Hi, I have made a WebView using the following code
"
1 WebView webView = new WebView(context);
2 webView.getSettings().setJavaScriptEnabled(true);
3 webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.CLOSE);
4 webView.loadUrl(startURL);
"

See illustration of problem at: http://yngvark.com/files/zoomAndroid.avi

Problem: Whenever I load a page in the WebView, the page is zoomed out
(to ZoomDensity.FAR I guess). It seems like the ZoomDensity resets
each time I load a page.

Why isn't line 3 working, what am I doing wrong? Do I have to create
my own subclass of WebSettings to make this work?

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