简体   繁体   中英

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

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

您是否尝试过按此处所述设置宽视口或将视口标签设置为设备宽度?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM