1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 Copyright (C) 2011 Google Inc. 4 Licensed to The Android Open Source Project. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 --> 18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/compose_recipients_wrapper" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:orientation="vertical"> 23 24 <!-- To --> 25 <LinearLayout 26 android:id="@+id/to_content" 27 style="@style/RecipientComposeFieldLayout"> 28 29 <LinearLayout 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:paddingRight="0dp" 33 style="@style/ComposeFieldContent"> 34 35 <TextView 36 android:id="@+id/to_label" 37 android:contentDescription="@string/to" 38 android:text="@string/to" 39 style="@style/ComposeHeading" /> 40 41 <LinearLayout 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:orientation="vertical"> 45 46 <LinearLayout 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content"> 49 50 <com.android.ex.chips.RecipientEditTextView 51 android:id="@+id/to" 52 android:contentDescription="@string/to" 53 android:dropDownAnchor="@id/to_content" 54 style="@style/ToRecipientEditTextViewStyle" /> 55 56 <ImageView 57 android:id="@+id/add_cc_bcc" 58 android:src="@drawable/ic_expand_more_24dp" 59 android:contentDescription="@string/add_cc_label" 60 style="@style/ComposeFieldButton" /> 61 62 </LinearLayout> 63 64 <!-- 65 0dp high space just so the anchor has appropriate right padding since it was 66 removed for To field to compensate the show cc/bcc button 67 --> 68 <Space 69 android:id="@+id/compose_to_dropdown_anchor" 70 android:layout_width="match_parent" 71 android:layout_height="0dp" 72 style="@style/ComposeToDropdownAnchor" /> 73 74 </LinearLayout> 75 76 </LinearLayout> 77 78 <View style="@style/RecipientComposeFieldSpacer" /> 79 </LinearLayout> 80 81 <!-- Cc/Bcc --> 82 <com.android.mail.compose.CcBccView 83 android:id="@+id/cc_bcc_wrapper" 84 android:layout_width="match_parent" 85 android:layout_height="wrap_content" /> 86 87 </LinearLayout> 88