From cf359c95adacba596bbf2bceac1e7f2c3de10656 Mon Sep 17 00:00:00 2001 From: Daniel Applebaum Date: Sat, 24 Jan 2009 18:58:40 +0000 Subject: [PATCH] Major ergonomic re-work of MessageView controls. Provide options (in Account settings) for scrolling the navigation buttons with the message, or keeping the buttons on screen. Scrolling mode can be automatically switched based on availability of keyboard. (Issue 197 and Issue 194) Add ability to flag/unflag message from options menu --- res/layout-land/message_view.xml | 50 ++++- res/layout/message_view.xml | 97 +++++---- res/menu/message_view_option.xml | 18 +- res/values/arrays.xml | 12 ++ res/values/strings.xml | 8 +- res/xml/account_settings_preferences.xml | 8 +- src/com/android/email/Account.java | 27 ++- src/com/android/email/Email.java | 2 + .../android/email/activity/MessageView.java | 191 +++++++++++++----- .../email/activity/setup/AccountSettings.java | 23 ++- 10 files changed, 321 insertions(+), 115 deletions(-) diff --git a/res/layout-land/message_view.xml b/res/layout-land/message_view.xml index 4d8f8a63f..d07e30592 100644 --- a/res/layout-land/message_view.xml +++ b/res/layout-land/message_view.xml @@ -7,19 +7,63 @@ android:background="@android:color/white"> - + + +