Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2011 Google Inc. |
| 4 | Licensed to The Android Open Source Project. |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 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 | --> |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 18 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 19 | android:id="@+id/compose_recipients_wrapper" |
| 20 | android:layout_width="match_parent" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 21 | android:layout_height="wrap_content" |
| 22 | android:orientation="vertical"> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 23 | |
| 24 | <!-- To --> |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 25 | <LinearLayout |
| 26 | android:id="@+id/to_content" |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 27 | style="@style/RecipientComposeFieldLayout"> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 28 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 29 | <LinearLayout |
| 30 | android:layout_width="match_parent" |
Jin Cao | ee2ea6a | 2014-07-28 11:56:51 -0700 | [diff] [blame] | 31 | android:layout_height="wrap_content" |
Jin Cao | cc14793 | 2014-08-05 10:57:34 -0700 | [diff] [blame] | 32 | android:paddingRight="0dp" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 33 | style="@style/ComposeFieldContent"> |
| 34 | |
| 35 | <TextView |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 36 | android:id="@+id/to_label" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 37 | android:contentDescription="@string/to" |
| 38 | android:text="@string/to" |
Jin Cao | 94bdc15 | 2014-07-29 16:47:09 -0700 | [diff] [blame] | 39 | style="@style/ComposeHeading" /> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 40 | |
Jin Cao | 15f09d7 | 2014-08-08 13:27:34 -0700 | [diff] [blame] | 41 | <LinearLayout |
Jin Cao | 15f09d7 | 2014-08-08 13:27:34 -0700 | [diff] [blame] | 42 | android:layout_width="match_parent" |
Jin Cao | 7bb942b | 2014-08-10 13:10:01 -0700 | [diff] [blame] | 43 | android:layout_height="wrap_content" |
Jin Cao | 0d7de1d | 2014-08-19 12:07:37 -0700 | [diff] [blame] | 44 | android:minHeight="@dimen/compose_header_min_height" |
Jin Cao | 7bb942b | 2014-08-10 13:10:01 -0700 | [diff] [blame] | 45 | android:orientation="vertical"> |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 46 | |
Jin Cao | 7bb942b | 2014-08-10 13:10:01 -0700 | [diff] [blame] | 47 | <LinearLayout |
| 48 | android:layout_width="match_parent" |
| 49 | android:layout_height="wrap_content"> |
Jin Cao | 15f09d7 | 2014-08-08 13:27:34 -0700 | [diff] [blame] | 50 | |
Jin Cao | 7bb942b | 2014-08-10 13:10:01 -0700 | [diff] [blame] | 51 | <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 Cao | 15f09d7 | 2014-08-08 13:27:34 -0700 | [diff] [blame] | 74 | |
| 75 | </LinearLayout> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 76 | |
| 77 | </LinearLayout> |
| 78 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 79 | <View style="@style/RecipientComposeFieldSpacer" /> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 80 | </LinearLayout> |
| 81 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 82 | <!-- Cc/Bcc --> |
Andy Huang | 30e2c24 | 2012-01-06 18:14:30 -0800 | [diff] [blame] | 83 | <com.android.mail.compose.CcBccView |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 84 | android:id="@+id/cc_bcc_wrapper" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 85 | android:layout_width="match_parent" |
| 86 | android:layout_height="wrap_content" /> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 87 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 88 | </LinearLayout> |