[
https://issues.apache.org/jira/browse/FLEX-33211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836400#comment-13836400
]
Maurice Amsellem commented on FLEX-33211:
-----------------------------------------
>From what I understand, the soft keyboard is deactivated when you call
>StageText.stage = null;
Calling stage.focus = null is not enough.
> [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
> Assignee: Maurice Amsellem
> Labels: android, resizeForSoftKeyboard
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)