replicant-packages_apps_Email/res/layout/message_view_details.xml
Makoto Onuki 82dd234f13 Improve "message details"
- Show subject/sender info
- Now all text fields are copyable

Bug 3342310

Change-Id: Ib9c4486aec36f192625c21602ea7406508ca0a49
2011-01-12 12:29:59 -08:00

108 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:stretchColumns="2"
android:shrinkColumns="2"
>
<TableRow
android:id="@+id/subject_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_subject_label"
style="@style/message_details_label"
/>
<TextView
android:id="@+id/subject"
style="@style/message_details_value"
/>
</TableRow>
<TableRow
android:id="@+id/from_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_from_label"
style="@style/message_details_label"
/>
<TextView
android:id="@+id/from"
style="@style/message_details_value"
/>
</TableRow>
<TableRow
android:id="@+id/date_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_date_label"
style="@style/message_details_label"
/>
<TextView
android:id="@+id/date"
style="@style/message_details_value"
/>
</TableRow>
<TableRow
android:id="@+id/to_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_to_label"
style="@style/message_details_label"
/>
<TextView
android:id="@+id/to"
style="@style/message_details_value"
/>
</TableRow>
<TableRow
android:id="@+id/cc_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_cc_label"
style="@style/message_details_label"
/>
<TextView
android:id="@+id/cc"
style="@style/message_details_value"
/>
</TableRow>
<TableRow
android:id="@+id/bcc_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_bcc_label"
style="@style/message_details_label"
/>
<TextView
android:id="@+id/bcc"
style="@style/message_details_value"
/>
</TableRow>
</TableLayout>
</ScrollView>