diff options
author | Jin Cao <jinyan@google.com> | 2014-08-10 13:10:01 -0700 |
---|---|---|
committer | Jin Cao <jinyan@google.com> | 2014-08-10 13:10:01 -0700 |
commit | 7bb942b4402a8d24904baf637db98784c3d79983 (patch) | |
tree | 778d82715de59779a81e6db8d71a27adfd75fc08 /res/layout | |
parent | 52d9a8d4990a1e9c765e24d715a29eea51aad051 (diff) | |
download | android_packages_apps_UnifiedEmail-7bb942b4402a8d24904baf637db98784c3d79983.tar.gz android_packages_apps_UnifiedEmail-7bb942b4402a8d24904baf637db98784c3d79983.tar.bz2 android_packages_apps_UnifiedEmail-7bb942b4402a8d24904baf637db98784c3d79983.zip |
Restyle alt/single dropdown to redline
b/16851158
Change-Id: I2d5fb3ce14d320aa3fe747500aad435ee386a10c
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/compose_recipients.xml | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/res/layout/compose_recipients.xml b/res/layout/compose_recipients.xml index b265318f5..3c3a0e4b4 100644 --- a/res/layout/compose_recipients.xml +++ b/res/layout/compose_recipients.xml @@ -39,21 +39,37 @@ style="@style/ComposeHeading" /> <LinearLayout - android:id="@+id/compose_to_dropdown_anchor" android:layout_width="match_parent" - android:layout_height="wrap_content"> - - <com.android.ex.chips.RecipientEditTextView - android:id="@+id/to" - android:contentDescription="@string/to" - android:dropDownAnchor="@id/to_content" - style="@style/ToRecipientEditTextViewStyle" /> - - <ImageView - android:id="@+id/add_cc_bcc" - android:src="@drawable/ic_expand_more_24dp" - android:contentDescription="@string/add_cc_label" - style="@style/ComposeFieldButton" /> + android:layout_height="wrap_content" + android:orientation="vertical"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <com.android.ex.chips.RecipientEditTextView + android:id="@+id/to" + android:contentDescription="@string/to" + android:dropDownAnchor="@id/to_content" + style="@style/ToRecipientEditTextViewStyle" /> + + <ImageView + android:id="@+id/add_cc_bcc" + android:src="@drawable/ic_expand_more_24dp" + android:contentDescription="@string/add_cc_label" + style="@style/ComposeFieldButton" /> + + </LinearLayout> + + <!-- + 0dp high space just so the anchor has appropriate right padding since it was + removed for To field to compensate the show cc/bcc button + --> + <Space + android:id="@+id/compose_to_dropdown_anchor" + android:layout_width="match_parent" + android:layout_height="0dp" + style="@style/ComposeToDropdownAnchor" /> </LinearLayout> |