From 15f09d77ffd14b53d17b6fb27b921c740f625846 Mon Sep 17 00:00:00 2001 From: Jin Cao Date: Fri, 8 Aug 2014 13:27:34 -0700 Subject: [Quantum compose] custom anchor for to Add custom anchor for To field so the popup will have the full width of the field. b/16851158 Change-Id: I54cbd601d46c8d2fb3ee37956fb560dcb31905f9 --- src/com/android/mail/compose/ComposeActivity.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/com/android/mail/compose/ComposeActivity.java b/src/com/android/mail/compose/ComposeActivity.java index cf50fbc87..df90f724a 100644 --- a/src/com/android/mail/compose/ComposeActivity.java +++ b/src/com/android/mail/compose/ComposeActivity.java @@ -1295,6 +1295,7 @@ public class ComposeActivity extends ActionBarActivity mAttachmentsView = (AttachmentsView)findViewById(R.id.attachments); mTo = (RecipientEditTextView) findViewById(R.id.to); initializeRecipientEditTextView(mTo); + mTo.setAlternatePopupAnchor(findViewById(R.id.compose_to_dropdown_anchor)); mCc = (RecipientEditTextView) findViewById(R.id.cc); initializeRecipientEditTextView(mCc); mBcc = (RecipientEditTextView) findViewById(R.id.bcc); -- cgit v1.2.3