-
setLoadWithOverviewMode(true)
: loads the WebView completely zoomed out -
setUseWideViewPort(true)
: makes the Webview have a normal viewport (such as a normal desktop browser), while when false the webview will have a viewport constrained to its own dimensions (so if the webview is 50px*50px the viewport will be the same size) -
webViewBuiltInZoomControls(true)
: 使用 WebView 内置缩放机制(包含手动缩放页面控制组件和手势缩放逻辑),该套内置机制为目前唯一可用页面缩放机制,SDK推荐保持设置为 true(默认为false)
网友评论