Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

renderMode=direct and softKeyboardBehavior=none not compatible on Android

$
0
0

I have discovered that if I set renderMode=direct and softKeyboardBehavior=none the app continues to pan when the softkeyboard is activated on the ASUS Transformer (Android 4.0.3). Further, after the soft keyboard is dismissed, the contents of the TextInput's disappear or begin to flicker.

 

I do not see these problems on the iPad2. Here is an app that demonstrates the issue:

 

SoftKeyboardSpike-app.xml:

 

<?xml version="1.0" encoding="utf-8" standalone="no"?><application xmlns="http://ns.adobe.com/air/application/3.4">    <id>SoftKeyboardSpike</id>    <filename>SoftKeyboardSpike</filename>    <name>SoftKeyboardSpike</name>    <versionNumber>0.0.0</versionNumber>                    <initialWindow>        <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>        <renderMode>direct</renderMode>        <autoOrients>true</autoOrients>        <fullScreen>false</fullScreen>        <visible>true</visible>        <softKeyboardBehavior>none</softKeyboardBehavior>    </initialWindow>    <android>        <colorDepth>32bit</colorDepth>        <manifestAdditions><![CDATA[            <manifest android:installLocation="auto">                <uses-permission android:name="android.permission.INTERNET"/>            </manifest>                   ]]></manifestAdditions>    </android></application>

 

SoftKeyboardSpike.mxml:

 

<?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">

    <s:TextInput bottom="0"/>                   

</s:Application>


Viewing all articles
Browse latest Browse all 24121

Trending Articles