Android - fit page in WebView using pre-Eclair (2.1) version of OS

248 Views Asked by At

I'm trying to load page into WebView control with best possible fit and ability to retain it when switching from portrait to landscape.

This answer provides the acceptable solution however it only work in OS v2.1 and up. What would be equivalent to the WebSettings#setLoadWithOverviewMode method in older OS releases since it's only available from 2.1+?

1

There are 1 best solutions below

0
On

Have you tried setting wide-viewport, or setting the viewport tag to device-width, as described here?