Home | History | Annotate | Download | only in layout-sw600dp
      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
     17 automatically 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/message_compose_header_field_container"
     24         android:layout_alignParentTop="true"
     25         android:id="@+id/to_content"
     26         >
     27         <TextView
     28             android:id="@+id/to_label"
     29             style="@style/message_compose_header_field_label"
     30             android:text="@string/message_compose_to_label"
     31             />
     32         <com.android.email.activity.AddressTextView
     33             android:id="@+id/to"
     34             android:inputType="textEmailAddress|textMultiLine"
     35             android:imeOptions="actionNext"
     36             style="@style/message_compose_header_field_value"/>
     37     </LinearLayout>
     38 
     39     <LinearLayout
     40         android:id="@+id/cc_bcc_container"
     41         android:orientation="vertical"
     42         android:layout_width="match_parent"
     43         android:layout_height="wrap_content"
     44         android:visibility="gone"
     45         android:layout_below="@id/to_content"
     46         >
     47         <!-- cc: -->
     48         <LinearLayout
     49             style="@style/message_compose_header_field_container"
     50             >
     51             <TextView
     52                 android:id="@+id/cc_label"
     53                 style="@style/message_compose_header_field_label"
     54                 android:text="@string/message_compose_cc_label"
     55                 />
     56             <com.android.email.activity.AddressTextView
     57                 android:id="@+id/cc"
     58                 android:inputType="textEmailAddress|textMultiLine"
     59                 android:imeOptions="actionNext"
     60                 style="@style/message_compose_header_field_value"/>
     61         </LinearLayout>
     62 
     63         <!-- bcc: -->
     64         <LinearLayout
     65             style="@style/message_compose_header_field_container"
     66             >
     67             <TextView
     68                 android:id="@+id/bcc_label"
     69                 style="@style/message_compose_header_field_label"
     70                 android:text="@string/message_compose_bcc_label"
     71                 />
     72             <com.android.email.activity.AddressTextView
     73                 android:id="@+id/bcc"
     74                 android:inputType="textEmailAddress|textMultiLine"
     75                 android:imeOptions="actionNext"
     76                 style="@style/message_compose_header_field_value"/>
     77         </LinearLayout>
     78     </LinearLayout>
     79 </RelativeLayout>