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 17 <TableLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:layout_toLeftOf="@+id/show_details" 22 android:paddingTop="14dp" 23 android:paddingBottom="7dp" 24 android:orientation="vertical" 25 android:stretchColumns="2" 26 android:shrinkColumns="2" 27 > 28 <TableRow 29 android:id="@+id/date_row" 30 > 31 <TextView 32 android:layout_column="1" 33 android:text="@string/message_view_date_label" 34 style="@style/message_details_label" 35 /> 36 37 <!-- Put in some margin on the right to accomodate for the "hide 38 details" icon --> 39 <TextView 40 android:id="@+id/date" 41 style="@style/message_details_value" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:layout_marginRight="32dip" 45 /> 46 </TableRow> 47 <TableRow 48 android:id="@+id/to_row" 49 > 50 <TextView 51 android:layout_column="1" 52 android:text="@string/message_view_to_label" 53 style="@style/message_details_label" 54 /> 55 <TextView 56 android:id="@+id/to" 57 android:autoLink="email" 58 style="@style/message_details_value_selectable" 59 /> 60 </TableRow> 61 <TableRow 62 android:id="@+id/cc_row" 63 > 64 <TextView 65 android:layout_column="1" 66 android:text="@string/message_view_cc_label" 67 style="@style/message_details_label" 68 /> 69 <TextView 70 android:id="@+id/cc" 71 android:autoLink="email" 72 style="@style/message_details_value_selectable" 73 /> 74 </TableRow> 75 <TableRow 76 android:id="@+id/bcc_row" 77 > 78 <TextView 79 android:layout_column="1" 80 android:text="@string/message_view_bcc_label" 81 style="@style/message_details_label" 82 /> 83 <TextView 84 android:id="@+id/bcc" 85 android:autoLink="email" 86 style="@style/message_details_value_selectable" 87 /> 88 </TableRow> 89 </TableLayout> 90