Add ScrollView to "Message Details"

Bug 3340780

Change-Id: I9d5935ae7c9beb0e4f39b4bef5f2287f52897dd3
This commit is contained in:
Makoto Onuki 2011-01-11 11:15:55 -08:00
parent 30d8dcbc32
commit 107093056f

View File

@ -14,85 +14,90 @@
limitations under the License.
-->
<TableLayout
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
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"
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:stretchColumns="2"
android:shrinkColumns="2"
>
<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>
<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>