【发布时间】:2016-12-20 11:11:06
【问题描述】:
我不确定是什么问题。但在谷歌搜索后,我认为这是 webview 的问题。我有一个页面可以在除带有 kitkat 版本的平板电脑之外的所有设备中正确呈现(即使在相应设备的浏览器中,也可以查看呈现的视图)。
我在谷歌上搜索并尝试了不同的解决方案,但不幸的是,我没有任何效果。
mapWebView.Settings.SetLayoutAlgorithm(WebSettings.LayoutAlgorithm.NarrowColumns); //didn't work
mapWebView.SetLayerType(LayerType.Software, null); //didn't work
任何帮助将不胜感激。
【问题讨论】:
-
考虑使用 Chrome 自定义标签:developer.chrome.com/multidevice/android/customtabs
标签: android html css xamarin webview