Request focus in field when cc/bcc is toggled.
Bug: 3090788 Change-Id: I184dfe586199af9bcb016f60bf97bcd4382b4f73
This commit is contained in:
parent
41495761db
commit
2f105a0543
@ -1532,9 +1532,12 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void showCcBccFields() {
|
private void showCcBccFields() {
|
||||||
mCcBccContainer.setVisibility(View.VISIBLE);
|
if (mCcBccContainer.getVisibility() != View.VISIBLE) {
|
||||||
UiUtilities.setVisibilitySafe(this, R.id.add_cc_bcc, View.INVISIBLE);
|
mCcBccContainer.setVisibility(View.VISIBLE);
|
||||||
invalidateOptionsMenu();
|
mCcView.requestFocus();
|
||||||
|
UiUtilities.setVisibilitySafe(this, R.id.add_cc_bcc, View.INVISIBLE);
|
||||||
|
invalidateOptionsMenu();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user