mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 09:38:52 -05:00
4f5ed839ff
1) Eliminate the top row Next Message and Previous Message 2) In the bottom buttons for portrait mode, replace Reply and Forward with Prev and Next Justification: if you're going to be replying or forwarding, you're about to embark on a lot of typing, anyway. Having to hit Menu isn't an undue burden. 3) Prev goes to the adjacent *older* message, next goes to the adjacent *newer* message 4) In the bottom buttons for landscape mode, added Prev and Next as the outer buttons 5) Add Account option for hiding the bottom buttons when the keyboard is available. Also, temporarily (hopefully!) reverted the instant delete from the MessageView because it isn't working right. The method here is slower but safer.
87 lines
3.4 KiB
XML
87 lines
3.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"
|
|
android:background="@android:color/white">
|
|
<ScrollView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dip"
|
|
android:layout_weight="1"
|
|
android:scrollbarStyle="outsideInset"
|
|
android:fadingEdge="none">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dip"
|
|
android:layout_weight="1">
|
|
<!-- <RelativeLayout
|
|
android:id="@+id/top_buttons"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="54px"
|
|
android:paddingTop="4px">
|
|
<Button
|
|
android:id="@+id/previous"
|
|
android:text="@string/message_view_prev_action"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="@dimen/button_minWidth"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true" />
|
|
<Button
|
|
android:id="@+id/next"
|
|
android:text="@string/message_view_next_action"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="@dimen/button_minWidth"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true" />
|
|
</RelativeLayout>
|
|
-->
|
|
|
|
<include layout="@layout/message_view_header" />
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<LinearLayout
|
|
android:id="@+id/bottom_buttons"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="57px"
|
|
android:background="@drawable/ic_email_thread_open_bottom_default"
|
|
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/previous"
|
|
android:text="@string/message_view_prev_action"
|
|
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: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>
|