Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 web 视图正在加载一个外部 url。外部网站已加载,但存在对齐问题。但相同的 url 在 iPhone 中完美加载。
您可以尝试修复WebViewfrom 设置的这两个属性
WebView
WebView browser = (WebView) findViewById(R.id.webview); browser.getSettings().setLoadWithOverviewMode(true); browser.getSettings().setUseWideViewPort(true);