Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5102211613 for ; Thu, 19 Jun 2014 19:38:28 +0000 (UTC) Received: (qmail 74579 invoked by uid 500); 19 Jun 2014 19:38:28 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 74555 invoked by uid 500); 19 Jun 2014 19:38:28 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 74508 invoked by uid 99); 19 Jun 2014 19:38:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2014 19:38:28 +0000 Date: Thu, 19 Jun 2014 19:38:28 +0000 (UTC) From: "Daniel Trebbien (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-4404) android:windowSoftInputMode has no effect in full screen mode, and "adjustPan" does not work in non-full screen mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-4404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Trebbien updated CB-4404: -------------------------------- Summary: android:windowSoftInputMode has no effect in full screen mode, and "adjustPan" does not work in non-full screen mode (was: android:windowSoftInputMode does not work) > android:windowSoftInputMode has no effect in full screen mode, and "adjustPan" does not work in non-full screen mode > -------------------------------------------------------------------------------------------------------------------- > > Key: CB-4404 > URL: https://issues.apache.org/jira/browse/CB-4404 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.9.0 > Environment: * Mac OS 10.7.5 > * Android 4.1.2 and 4.2.2 emulator using Intel's x86 images > Reporter: Daniel Trebbien > Assignee: Andrew Grieve > > _I recently posted a description of this issue to the phonegap group at [https://groups.google.com/d/topic/phonegap/J-h0lt68x0g/discussion]._ > I am testing out PhoneGap 2.9.0 in the Android emulator (using Intel's x86 images), and I am seeing the issue that the android:windowSoftInputMode setting is not having an effect. By default, the setting is set to "adjustPan" in the generated project, but when I actually focus a text , the soft keyboard appears on top of the app, but does not pan the main window, and the is usually hidden beneath the keyboard as a result. > Steps to reproduce: > # Create a new PhoneGap 2.9.0 project using the {{cordova create}} utility. Add the 'android' platform. > # Open the project in Eclipse. > # Edit {{index.html}} to add {{






}} below the {{

Apache Cordova

}} heading. > # Run the app in Android 4.1.2 or 4.2.2 emulator. > # Tap the and notice that the soft keyboard is placed over the app and the is hidden beneath. > # Try changing the android:windowSoftInputMode setting in {{AndroidManifest.xml}} to "adjustResize", reload the app, and notice that the app is not resized when the receives keyboard focus. > I am seeing this problem in Android 4.1.2 and 4.2.2 emulator. In Android 4.0.3 emulator, the app pans as expected. > The strange thing is that if I load the www/ files in the Browser and focus the , then the window is resized to fit the soft keyboard like normal. This seems to imply that android:windowSoftInputMode works fine in the emulator, but there is some issue in PhoneGap that is preventing it from working. -- This message was sent by Atlassian JIRA (v6.2#6252)