| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2011 Google Inc. |
| Licensed to The Android Open Source Project. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/compose_recipients_wrapper" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| |
| <!-- To --> |
| <LinearLayout |
| android:id="@+id/to_content" |
| style="@style/RecipientComposeFieldLayout"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingRight="0dp" |
| style="@style/ComposeFieldContent"> |
| |
| <TextView |
| android:contentDescription="@string/to" |
| android:text="@string/to" |
| style="@style/ComposeHeading" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| 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> |
| |
| </LinearLayout> |
| |
| </LinearLayout> |
| |
| <View style="@style/DefaultDividerStyle" /> |
| |
| <!-- Cc/Bcc --> |
| <com.android.mail.compose.CcBccView |
| android:id="@+id/cc_bcc_wrapper" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" /> |
| |
| </LinearLayout> |