blob: 885f0996e1cdd675ba756b7271bed51cf79263d9 [file] [log] [blame]
Mindy Pereira5eaa2b92011-12-13 11:37:05 -08001<?xml version="1.0" encoding="utf-8"?>
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -08002<!--
3 Copyright (C) 2011 Google Inc.
4 Licensed to The Android Open Source Project.
Mindy Pereira5eaa2b92011-12-13 11:37:05 -08005
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-->
Jin Cao9d358a12014-07-24 12:15:38 -070018<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080019 android:id="@+id/compose_recipients_wrapper"
20 android:layout_width="match_parent"
Jin Cao9d358a12014-07-24 12:15:38 -070021 android:layout_height="wrap_content"
22 android:orientation="vertical">
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080023
24 <!-- To -->
Jin Cao9d358a12014-07-24 12:15:38 -070025 <LinearLayout
26 android:id="@+id/to_content"
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080027 style="@style/RecipientComposeFieldLayout">
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080028
Jin Cao9d358a12014-07-24 12:15:38 -070029 <LinearLayout
30 android:layout_width="match_parent"
Jin Caoee2ea6a2014-07-28 11:56:51 -070031 android:layout_height="wrap_content"
Jin Caocc147932014-08-05 10:57:34 -070032 android:paddingRight="0dp"
Jin Cao9d358a12014-07-24 12:15:38 -070033 style="@style/ComposeFieldContent">
34
35 <TextView
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080036 android:id="@+id/to_label"
Jin Cao9d358a12014-07-24 12:15:38 -070037 android:contentDescription="@string/to"
38 android:text="@string/to"
Jin Cao94bdc152014-07-29 16:47:09 -070039 style="@style/ComposeHeading" />
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080040
Jin Cao15f09d72014-08-08 13:27:34 -070041 <LinearLayout
Jin Cao15f09d72014-08-08 13:27:34 -070042 android:layout_width="match_parent"
Jin Cao7bb942b2014-08-10 13:10:01 -070043 android:layout_height="wrap_content"
Jin Cao0d7de1d2014-08-19 12:07:37 -070044 android:minHeight="@dimen/compose_header_min_height"
Jin Cao7bb942b2014-08-10 13:10:01 -070045 android:orientation="vertical">
Jin Cao9d358a12014-07-24 12:15:38 -070046
Jin Cao7bb942b2014-08-10 13:10:01 -070047 <LinearLayout
48 android:layout_width="match_parent"
49 android:layout_height="wrap_content">
Jin Cao15f09d72014-08-08 13:27:34 -070050
Jin Cao7bb942b2014-08-10 13:10:01 -070051 <com.android.ex.chips.RecipientEditTextView
52 android:id="@+id/to"
53 android:contentDescription="@string/to"
54 android:dropDownAnchor="@id/to_content"
55 style="@style/ToRecipientEditTextViewStyle" />
56
57 <ImageView
58 android:id="@+id/add_cc_bcc"
59 android:src="@drawable/ic_expand_more_24dp"
60 android:contentDescription="@string/add_cc_label"
61 style="@style/ComposeFieldButton" />
62
63 </LinearLayout>
64
65 <!--
66 0dp high space just so the anchor has appropriate right padding since it was
67 removed for To field to compensate the show cc/bcc button
68 -->
69 <Space
70 android:id="@+id/compose_to_dropdown_anchor"
71 android:layout_width="match_parent"
72 android:layout_height="0dp"
73 style="@style/ComposeToDropdownAnchor" />
Jin Cao15f09d72014-08-08 13:27:34 -070074
75 </LinearLayout>
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080076
77 </LinearLayout>
78
Jin Cao9d358a12014-07-24 12:15:38 -070079 <View style="@style/RecipientComposeFieldSpacer" />
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080080 </LinearLayout>
81
Jin Cao9d358a12014-07-24 12:15:38 -070082 <!-- Cc/Bcc -->
Andy Huang30e2c242012-01-06 18:14:30 -080083 <com.android.mail.compose.CcBccView
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080084 android:id="@+id/cc_bcc_wrapper"
Jin Cao9d358a12014-07-24 12:15:38 -070085 android:layout_width="match_parent"
86 android:layout_height="wrap_content" />
Mindy Pereira5eaa2b92011-12-13 11:37:05 -080087
Jin Cao9d358a12014-07-24 12:15:38 -070088</LinearLayout>