AndroidのWebView設定一二
578 ワード
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)