prevent keyboard from coming up on launch of game config activity;

instead wait until room name is tapped. (I did this in two places
though one might have been enough. On some devices anyway that
AndroidManifest change is needed to close a keyboard if it's open
prior to opening the activity.)
This commit is contained in:
Eric House 2015-03-04 06:17:18 -08:00
parent 1e051e835c
commit 736e5f1ea0
2 changed files with 2 additions and 0 deletions

View file

@ -106,6 +106,7 @@
<activity android:name="GameConfigActivity"
android:screenOrientation="sensor"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="stateAlwaysHidden"
>
<intent-filter>
<action android:name="android.intent.action.EDIT" />

View file

@ -131,6 +131,7 @@
android:capitalize="none"
android:singleLine="true"
android:selectAllOnFocus="true"
android:windowSoftInputMode="stateHidden"
android:maxLength="31"
android:hint="@string/new_room_hint"
/>