Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 40A79200CF3 for ; Tue, 15 Aug 2017 01:23:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F29B165FC4; Mon, 14 Aug 2017 23:23:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 860FD165FB7 for ; Tue, 15 Aug 2017 01:23:09 +0200 (CEST) Received: (qmail 8808 invoked by uid 500); 14 Aug 2017 23:23:06 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 8793 invoked by uid 99); 14 Aug 2017 23:23:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2017 23:23:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5DC3CC0495 for ; Mon, 14 Aug 2017 23:23:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AvR8oBWPOQQ5 for ; Mon, 14 Aug 2017 23:23:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6EBAD5FD58 for ; Mon, 14 Aug 2017 23:23:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1326DE00A7 for ; Mon, 14 Aug 2017 23:23:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0F293218FA for ; Mon, 14 Aug 2017 23:23:01 +0000 (UTC) Date: Mon, 14 Aug 2017 23:23:01 +0000 (UTC) From: =?utf-8?Q?H=C3=A5kon_Nilsen_=28JIRA=29?= To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-12015) initial-scale values less than 1.0 are ignored on Android MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 14 Aug 2017 23:23:10 -0000 [ https://issues.apache.org/jira/browse/CB-12015?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D161266= 04#comment-16126604 ]=20 H=C3=A5kon Nilsen edited comment on CB-12015 at 8/14/17 11:22 PM: ------------------------------------------------------------- You can also revert the change by adding:=20 {code:java} webView.getSettings().setUseWideViewPort(false); {code} in your onCreate. That should fix it even if you don't have the project as = a library. was (Author: hnilsen): You can also revert the change by adding `webView.getSettings().setUseWideV= iewPort(false);` in your onCreate. That should fix it even if you don't hav= e the project as a library. > 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: cordova-android > Affects Versions: cordova-android@5.2.2 > Reporter: Simon MacDonald > > So, the way cordova-android is right now if I use: > > Everything is good. Increasing the scale to 2.0 or 3.0 correctly makes ev= erything bigger. However, setting: > > 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= .=20 -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org