Mindy Pereira | 326c660 | 2012-01-04 15:32:42 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2011 Google Inc. |
| 4 | Licensed to The Android Open Source Project. |
| 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 | --> |
| 18 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/details_expanded_content" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="wrap_content" |
| 22 | android:background="?android:attr/selectableItemBackground" |
| 23 | android:paddingLeft="@dimen/message_details_header_padding_left" |
| 24 | android:paddingRight="@dimen/message_details_header_padding_right" |
| 25 | android:gravity="center_vertical"> |
| 26 | |
| 27 | <TableLayout |
| 28 | android:layout_width="match_parent" |
| 29 | android:layout_height="wrap_content" |
| 30 | android:paddingTop="14dp" |
| 31 | android:paddingBottom="7dp" |
| 32 | android:shrinkColumns="1"> |
| 33 | <TableRow> |
| 34 | <TextView |
| 35 | android:id="@+id/date_heading" |
| 36 | android:text="@string/date_heading" |
| 37 | style="@style/MessageDetailsHeadingStyle" /> |
| 38 | <TextView |
| 39 | android:id="@+id/date_value" |
| 40 | style="@style/MessageDetailsValueStyle" /> |
| 41 | </TableRow> |
| 42 | <TableRow |
| 43 | android:id="@+id/replyto_row" |
| 44 | android:visibility="gone"> |
| 45 | <TextView |
| 46 | android:id="@+id/replyto_heading" |
| 47 | android:text="@string/replyto_heading" |
| 48 | style="@style/MessageDetailsHeadingStyle" /> |
| 49 | <TextView |
| 50 | android:id="@+id/replyto_value" |
| 51 | android:autoLink="email" |
| 52 | style="@style/MessageDetailsValueSelectableStyle" /> |
| 53 | </TableRow> |
| 54 | <TableRow |
| 55 | android:id="@+id/to_row" |
| 56 | android:visibility="gone"> |
| 57 | <TextView |
| 58 | android:id="@+id/to_heading" |
| 59 | android:text="@string/to_heading" |
| 60 | style="@style/MessageDetailsHeadingStyle" /> |
| 61 | <TextView |
| 62 | android:id="@+id/to_value" |
| 63 | android:autoLink="email" |
| 64 | style="@style/MessageDetailsValueSelectableStyle" /> |
| 65 | </TableRow> |
| 66 | <TableRow |
| 67 | android:id="@+id/cc_row" |
| 68 | android:visibility="gone"> |
| 69 | <TextView |
| 70 | android:id="@+id/cc_heading" |
| 71 | android:text="@string/cc_heading" |
| 72 | style="@style/MessageDetailsHeadingStyle" /> |
| 73 | <TextView |
| 74 | android:id="@+id/cc_value" |
| 75 | android:autoLink="email" |
| 76 | style="@style/MessageDetailsValueSelectableStyle" /> |
| 77 | </TableRow> |
| 78 | <TableRow |
| 79 | android:id="@+id/bcc_row" |
| 80 | android:visibility="gone"> |
| 81 | <TextView |
| 82 | android:id="@+id/bcc_heading" |
| 83 | android:text="@string/bcc_heading" |
| 84 | style="@style/MessageDetailsHeadingStyle" /> |
| 85 | <TextView |
| 86 | android:id="@+id/bcc_value" |
| 87 | android:autoLink="email" |
| 88 | style="@style/MessageDetailsValueSelectableStyle" /> |
| 89 | </TableRow> |
| 90 | </TableLayout> |
| 91 | |
| 92 | <ImageView |
| 93 | android:layout_gravity="top|right" |
| 94 | android:layout_marginTop="14dip" |
| 95 | style="@style/MessageHeaderExpanderMaximizedStyle" /> |
| 96 | |
| 97 | </FrameLayout> |