replicant-packages_apps_Email/res/layout/message_view_details.xml
Makoto Onuki 107093056f Add ScrollView to "Message Details"
Bug 3340780

Change-Id: I9d5935ae7c9beb0e4f39b4bef5f2287f52897dd3
2011-01-11 11:15:55 -08:00

103 lines
3.6 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/date_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_date_label"
android:padding="8dip"
android:textSize="14dip"
android:textColor="@color/text_secondary_color"
android:textStyle="bold"
/>
<TextView
android:id="@+id/date"
android:padding="8dip"
android:textSize="14dip"
android:textColor="@color/text_secondary_color"
android:singleLine="false"
/>
</TableRow>
<TableRow
android:id="@+id/to_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_to_label"
android:padding="8dip"
android:textSize="14dip"
android:textColor="@color/text_secondary_color"
android:textStyle="bold"
/>
<TextView
android:id="@+id/to"
android:padding="8dip"
android:textSize="14dip"
android:textColor="@color/text_secondary_color"
/>
</TableRow>
<TableRow
android:id="@+id/cc_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_cc_label"
android:padding="8dip"
android:textSize="14dip"
android:textColor="@color/text_secondary_color"
android:textStyle="bold"
/>
<TextView
android:id="@+id/cc"
android:padding="8dip"
android:textSize="14dip"
android:textColor="@color/text_secondary_color"
/>
</TableRow>
<TableRow
android:id="@+id/bcc_row"
>
<TextView
android:layout_column="1"
android:text="@string/message_view_bcc_label"
android:padding="8dip"
android:textSize="14dip"
android:textColor="@color/text_secondary_color"
android:textStyle="bold"
/>
<TextView
android:id="@+id/bcc"
android:padding="8dip"
android:textSize="14dip"
android:textColor="@color/text_secondary_color"
/>
</TableRow>
</TableLayout>
</ScrollView>