Android Keyboard Pushes Application Up

Showing 1-2 of 2 messages
Android Keyboard Pushes Application Up ARolek 8/11/11 1:37 PM
This issue can be fixed by modifying the AndroidManifest.xml file.
For example:

                <application android:icon="@drawable/icon" android:label="@string/
app_name"
                        android:debuggable="true">
                        <activity android:name=".production"
                                android:label="@string/app_name"
                                android:screenOrientation="portrait"
                                android:windowSoftInputMode="adjustNothing">
                                <intent-filter>
                                        <action android:name="android.intent.action.MAIN" />
                                        <category android:name="android.intent.category.LAUNCHER" />
                                </intent-filter>
                        </activity>
                </application>

The key is the line:

android:windowSoftInputMode="adjustNothing"

When that is placed correctly the soft keyboard will not push the app
up but overlay on top of the app.

Enjoy -

Alexander Rolek
Re: Android Keyboard Pushes Application Up Wilin 8/12/11 8:20 AM
This flag is not in the SDK for Android 2.1