Automatically show keyboard when new SMS is composed

This commit is contained in:
bozsco 2014-01-09 16:52:11 -05:00
parent 75ce00cb90
commit e9a8c7474c
2 changed files with 4 additions and 0 deletions

View File

@ -128,6 +128,7 @@
<activity android:name=".ContactSelectionActivity" <activity android:name=".ContactSelectionActivity"
android:label="@string/AndroidManifest__select_contacts" android:label="@string/AndroidManifest__select_contacts"
android:windowSoftInputMode="stateHidden"
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/> android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
<activity android:name=".AutoInitiateActivity" <activity android:name=".AutoInitiateActivity"

View File

@ -646,6 +646,9 @@ public class ConversationActivity extends PassphraseRequiredSherlockFragmentActi
if (this.recipients != null) { if (this.recipients != null) {
recipientsPanel.addRecipients(this.recipients); recipientsPanel.addRecipients(this.recipients);
} else {
InputMethodManager input = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
input.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, 0);
} }
} }