mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-10 19:45:05 -05:00
9eadd15c09
- Changed scrollbar style - Changed button heights to default - Wider "Open" and "Save" buttons for attachments
118 lines
4.4 KiB
XML
118 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
>
|
|
<ScrollView
|
|
android:id="@+id/top_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dip"
|
|
android:layout_weight="1"
|
|
android:scrollbarStyle="outsideOverlay"
|
|
android:fillViewport="true"
|
|
android:background="@android:color/transparent"
|
|
android:fadingEdge="none">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:background="@android:color/transparent"
|
|
android:layout_height="0dip"
|
|
android:layout_weight="1">
|
|
<include layout="@layout/message_view_header" />
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dip"
|
|
android:layout_weight="1" />
|
|
<LinearLayout
|
|
android:id="@+id/extra_buttons"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical">
|
|
<Button
|
|
android:id="@+id/reply"
|
|
android:text="@string/reply_action"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
<Button
|
|
android:id="@+id/reply_all"
|
|
android:text="@string/reply_all_action"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
<Button
|
|
android:id="@+id/forward"
|
|
android:text="@string/forward_action"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/scrolling_buttons"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical">
|
|
<Button
|
|
android:id="@+id/previous_scrolling"
|
|
android:text="@string/message_view_prev_action"
|
|
android:textSize="35dip"
|
|
android:padding="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
|
|
<Button
|
|
android:id="@+id/delete_scrolling"
|
|
android:text="@string/delete_action"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
<Button
|
|
android:id="@+id/next_scrolling"
|
|
android:padding="0dip"
|
|
android:text="@string/message_view_next_action"
|
|
android:textSize="35dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<LinearLayout
|
|
android:id="@+id/bottom_buttons"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="2dip"
|
|
android:background="@android:color/transparent"
|
|
android:gravity="center_vertical">
|
|
<Button
|
|
android:id="@+id/previous"
|
|
android:text="@string/message_view_prev_action"
|
|
android:textSize="35dip"
|
|
android:padding="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
|
|
<Button
|
|
android:id="@+id/delete"
|
|
android:text="@string/delete_action"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
<Button
|
|
android:id="@+id/next"
|
|
android:text="@string/message_view_next_action"
|
|
android:textSize="35dip"
|
|
android:padding="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|