WebView自适应屏幕大小
[url]http://www.2cto.com/kf/201208/146368.html[/url]
或www.2cto.com
作者:weiyirong
[color=red]第一段很有效[/color]
[url]http://www.eoeandroid.com/thread-161742-1-1.html[/url]
[url]http://www.2cto.com/kf/201208/146368.html[/url]
webview.getSettings().setUseWideViewPort(true);
webview.getSettings().setLoadWithOverviewMode(true);
或www.2cto.com
WebSettings webSettings= webView.getSettings(); // webView: 类WebView的实例
webSettings.setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
作者:weiyirong
[color=red]第一段很有效[/color]
[url]http://www.eoeandroid.com/thread-161742-1-1.html[/url]