358a815701
Linkify email addresses in expanded message details Remove divider line in upper header on phone Embolden sender name Twiddle expanded details line spacing and padding to match Gmail Add space char to collapsed details recipient enumerator (comma) Bug: 5520692 Bug: 5520787 Change-Id: Iad4a265168d111aa01654a33a9a14f7968fc3181
90 lines
2.8 KiB
XML
90 lines
2.8 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.
|
|
-->
|
|
|
|
<TableLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@+id/show_details"
|
|
android:paddingTop="14dp"
|
|
android:paddingBottom="7dp"
|
|
android:orientation="vertical"
|
|
android:stretchColumns="2"
|
|
android:shrinkColumns="2"
|
|
>
|
|
<TableRow
|
|
android:id="@+id/date_row"
|
|
>
|
|
<TextView
|
|
android:layout_column="1"
|
|
android:text="@string/message_view_date_label"
|
|
style="@style/message_details_label"
|
|
/>
|
|
|
|
<!-- Put in some margin on the right to accomodate for the "hide
|
|
details" icon -->
|
|
<TextView
|
|
android:id="@+id/date"
|
|
style="@style/message_details_value"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="32dip"
|
|
/>
|
|
</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"
|
|
android:autoLink="email"
|
|
style="@style/message_details_value_selectable"
|
|
/>
|
|
</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"
|
|
android:autoLink="email"
|
|
style="@style/message_details_value_selectable"
|
|
/>
|
|
</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"
|
|
android:autoLink="email"
|
|
style="@style/message_details_value_selectable"
|
|
/>
|
|
</TableRow>
|
|
</TableLayout>
|