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.
My environment:
Flash Builder 4.7 beta
Flex 4.6.0
AIR 3.4
ASUS Transformer (Android 4.0.3)