Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
cordova-android@5.2.2
-
None
-
None
Description
So, the way cordova-android is right now if I use:
<meta name="viewport" content="user-scalable=no, initial-scale=1.0" />
Everything is good. Increasing the scale to 2.0 or 3.0 correctly makes everything bigger. However, setting:
<meta name="viewport" content="user-scalable=no, initial-scale=0.5" />
has no effect whatsoever.
Going into the SystemWebViewEngine class and adding:
settings.setUseWideViewPort(true);
settings.setLoadWithOverviewMode(true);
to initWebViewSettings() method then allows me to scale the viewport down.
Attachments
Issue Links
- links to