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:contentDescription="@string/to" 37 android:text="@string/to" 38 style="@style/ComposeHeading" /> 39 40 <LinearLayout 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:orientation="vertical"> 44 45 <LinearLayout 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content"> 48 49 <com.android.ex.chips.RecipientEditTextView 50 android:id="@+id/to" 51 android:contentDescription="@string/to" 52 android:dropDownAnchor="@id/to_content" 53 style="@style/ToRecipientEditTextViewStyle" /> 54 55 <ImageView 56 android:id="@+id/add_cc_bcc" 57 android:src="@drawable/ic_expand_more_24dp" 58 android:contentDescription="@string/add_cc_label" 59 style="@style/ComposeFieldButton" /> 60 61 </LinearLayout> 62 63 <!-- 64 0dp high space just so the anchor has appropriate right padding since it was 65 removed for To field to compensate the show cc/bcc button 66 --> 67 <Space 68 android:id="@+id/compose_to_dropdown_anchor" 69 android:layout_width="match_parent" 70 android:layout_height="0dp" 71 style="@style/ComposeToDropdownAnchor" /> 72 73 </LinearLayout> 74 75 </LinearLayout> 76 77 </LinearLayout> 78 79 <View style="@style/DefaultDividerStyle" /> 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