1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Explicitly set focus to "To:" input field when composing or forwarding

a message.
This commit is contained in:
cketti 2011-02-14 08:28:03 +01:00
parent 8b99b5886e
commit e70d091433

View File

@ -525,8 +525,12 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
ACTION_EDIT_DRAFT.equals(action)) {
//change focus to message body.
mMessageContentView.requestFocus();
} else {
// Explicitly set focus to "To:" input field (see issue 2998)
mToView.requestFocus();
}
mEncryptLayout = findViewById(R.id.layout_encrypt);
mCryptoSignatureCheckbox = (CheckBox)findViewById(R.id.cb_crypto_signature);
mCryptoSignatureUserId = (TextView)findViewById(R.id.userId);