[
https://issues.apache.org/jira/browse/CB-12015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991239#comment-15991239
]
ASF GitHub Bot commented on CB-12015:
-------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/cordova-android/pull/376
> initial-scale values less than 1.0 are ignored on Android
> ---------------------------------------------------------
>
> Key: CB-12015
> URL: https://issues.apache.org/jira/browse/CB-12015
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: [email protected]
> Reporter: Simon MacDonald
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]