From 4f5ed839ffecb9dfef4e6783fccc3e775e6755c4 Mon Sep 17 00:00:00 2001 From: Daniel Applebaum Date: Mon, 19 Jan 2009 14:54:05 +0000 Subject: [PATCH] Major ergonomic changes to control buttons in the MessageView 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. --- res/layout-land/message_view.xml | 13 ++++ res/layout/message_view.xml | 24 +++++- res/values/strings.xml | 7 +- res/xml/account_settings_preferences.xml | 5 ++ src/com/android/email/Account.java | 14 ++++ .../android/email/activity/MessageView.java | 75 +++++++++++-------- .../email/activity/setup/AccountSettings.java | 7 ++ 7 files changed, 107 insertions(+), 38 deletions(-) diff --git a/res/layout-land/message_view.xml b/res/layout-land/message_view.xml index d454693a2..4d8f8a63f 100644 --- a/res/layout-land/message_view.xml +++ b/res/layout-land/message_view.xml @@ -22,11 +22,18 @@ +