• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<!-- We must have unique ID's for the address fields in order to have the text
17automatically saved by framework.-->
18<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_height="wrap_content"
20    android:layout_width="match_parent">
21    <!-- to: -->
22    <LinearLayout
23        style="@style/RecipientComposeFieldLayout"
24        android:layout_alignParentTop="true"
25        android:id="@+id/to_content">
26        <TextView
27            android:id="@+id/label"
28            style="@style/RecipientComposeHeading"
29            android:text="@string/message_compose_to_label"
30            />
31        <com.android.email.activity.ChipsAddressTextView
32            style="@style/EmailRecipientEditTextView"
33            android:id="@+id/to" />
34    </LinearLayout>
35
36    <LinearLayout
37        android:layout_below="@id/to_content"
38        android:id="@+id/cc_bcc_container"
39        android:orientation="vertical"
40        android:layout_width="match_parent"
41        android:layout_height="wrap_content"
42        android:visibility="gone"
43        >
44        <!-- cc: -->
45        <LinearLayout
46            style="@style/RecipientComposeFieldLayout"
47            android:id="@+id/cc_content"
48            >
49            <TextView
50                android:id="@+id/label"
51                style="@style/RecipientComposeHeading"
52                android:text="@string/message_compose_cc_label"
53                />
54            <com.android.email.activity.ChipsAddressTextView
55                style="@style/EmailRecipientEditTextView"
56                android:id="@+id/cc" />
57        </LinearLayout>
58
59        <!-- bcc: -->
60        <LinearLayout
61            style="@style/RecipientComposeFieldLayout"
62            android:id="@+id/bcc_content"
63            >
64            <TextView
65                android:id="@+id/label"
66                style="@style/RecipientComposeHeading"
67                android:text="@string/message_compose_bcc_label"
68                />
69            <com.android.email.activity.ChipsAddressTextView
70                style="@style/EmailRecipientEditTextView"
71                android:id="@+id/bcc" />
72        </LinearLayout>
73    </LinearLayout>
74</RelativeLayout>