【发布时间】:2012-02-06 23:16:34
【问题描述】:
可能重复:
Why is the viewport tag on the Galaxy Nexus / Android 4 not working?
在我们的android webapp中用于标记andorid deive的各种屏幕,我们使用以下meta view port标签根据设备视口比例进行缩放
<meta name="viewport" content="target-densitydpi=high-dpi; width=device-width; minimum-scale=1.0; maximum-scale=1.0; user-scalable=0;">
但在 Android ICS 版本的设备中,上面的 Meta 标签对应用程序没有影响。 UI 似乎被缩小了,应用失去了功能。
任何帮助将不胜感激。
【问题讨论】:
-
这里的解决方案可能会有所帮助:stackoverflow.com/a/9638039/343039
标签: android scaling viewport android-4.0-ice-cream-sandwich metatag