incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33211) [Android]: View does not resize after soft keyboard dismissal when resizeForSoftKeyboard=true
Date Wed, 26 Sep 2012 16:13:07 GMT
Mike created FLEX-33211:
---------------------------

             Summary: [Android]: View does not resize after soft keyboard dismissal when resizeForSoftKeyboard=true
                 Key: FLEX-33211
                 URL: https://issues.apache.org/jira/browse/FLEX-33211
             Project: Apache Flex
          Issue Type: Bug
          Components: Mobile: SoftKeyboard
    Affects Versions: Adobe Flex SDK 4.6 (Release)
         Environment: Flash Builder 4.7 beta
Flex 4.6.0
AIR 3.4
ASUS Transformer (Android 4.0.3)

            Reporter: Mike


On Android when resizeForSoftKeyboard=true, the view does not resize after dismissing the
soft keyboard. This simple app demonstrates the bug.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   applicationDPI="160"
			   resizeForSoftKeyboard="true"
			   applicationComplete="applicationComplete()">
	<fx:Script>
		<![CDATA[
			private function applicationComplete():void {
				keywordTextInput.setFocus();
			}
			private function keywordTextInputEnter():void {
				stage.focus = null;
			}
		]]>
	</fx:Script>
	<s:Rect id="rect1" width="100%" height="100%">
		<s:stroke>
			<s:SolidColorStroke color="#FF0000" weight="4"/>
		</s:stroke>
	</s:Rect>
	<s:TextInput id="keywordTextInput" enter="keywordTextInputEnter()" returnKeyLabel="go"/>
</s:Application>

1) Start app.
2) Click on the "go" button on the soft keyboard

I observe that the red rectangle remains the same size (about half the screen). I expect the
red rectangle to resize to fill the entire screen as it does on iOS.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message