Prevent crash on hardware keyboard connect

This commit is contained in:
mittorn 2016-08-09 11:28:22 +00:00
parent 2c73f5a0fa
commit 77e209f5ed
2 changed files with 6 additions and 5 deletions

View file

@ -16,7 +16,8 @@
<activity android:name="in.celest.xash3d.LauncherActivity"
android:label="@string/launcher_name"
android:windowSoftInputMode="adjustResize">
android:windowSoftInputMode="adjustResize"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">
<intent-filter>
<action android:name="in.celest.xash3d.LauncherActivity"/>
<action android:name="android.intent.action.MAIN" />
@ -66,7 +67,7 @@
-->
<activity android:name="in.celest.xash3d.XashActivity"
android:screenOrientation="sensorLandscape"
android:configChanges="orientation|screenSize"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:label="@string/app_name">
<intent-filter>
<action android:name="in.celest.xash3d.START" />

View file

@ -36,8 +36,8 @@
<activity android:name="in.celest.xash3d.LauncherActivity"
android:label="@string/launcher_name_test"
android:windowSoftInputMode="adjustResize"
>
android:windowSoftInputMode="adjustResize"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">
<intent-filter>
<action android:name="in.celest.xash3d.LauncherActivity"/>
<action android:name="android.intent.action.MAIN" />
@ -75,7 +75,7 @@
</activity>-->
<activity android:name="in.celest.xash3d.XashActivity"
android:screenOrientation="sensorLandscape"
android:configChanges="orientation|screenSize"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:windowSoftInputMode="adjustResize"
android:label="@string/app_name">
<intent-filter>