summaryrefslogtreecommitdiffstats
path: root/res/menu
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2010-08-25 11:14:19 -0700
committerMakoto Onuki <omakoto@google.com>2010-08-25 17:09:59 -0700
commit2f4e87c2234387b6c3bc4fff8f7f1da1e83258e8 (patch)
treee5c8cdd296f7363965400bfafa06f2015004c982 /res/menu
parent61bddf2519f077c2547ebc249b7efe2f4520b1b5 (diff)
downloadandroid_packages_apps_Email-2f4e87c2234387b6c3bc4fff8f7f1da1e83258e8.tar.gz
android_packages_apps_Email-2f4e87c2234387b6c3bc4fff8f7f1da1e83258e8.tar.bz2
android_packages_apps_Email-2f4e87c2234387b6c3bc4fff8f7f1da1e83258e8.zip
Switch to Light Holo theme, clean up menu options.
- Changed the default theme to Light.Holo - MessageCompose now has ActionBar. - Removed unnecessary MessageCompose menu items. - Also removed "Add Account" menu from MessageListXL. (Use the + button on account settings) - Fixed "calender response section invisible" bug. Bug 2926517 Change-Id: Id27632ec82dad158f43b0903dbc2cb219188400d
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/message_compose_option.xml44
-rw-r--r--res/menu/message_list_xl_option.xml6
2 files changed, 14 insertions, 36 deletions
diff --git a/res/menu/message_compose_option.xml b/res/menu/message_compose_option.xml
index 68ea54fc3..531ad2221 100644
--- a/res/menu/message_compose_option.xml
+++ b/res/menu/message_compose_option.xml
@@ -4,9 +4,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -15,34 +15,18 @@
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
- <item
- android:id="@+id/add_cc_bcc"
+ <item
+ android:id="@+id/add_cc_bcc"
android:alphabeticShortcut="c"
- android:title="@string/add_cc_bcc_action"
- android:icon="@drawable/ic_menu_cc"
- />
- <item
- android:id="@+id/send"
- android:alphabeticShortcut="s"
- android:title="@string/send_action"
- android:icon="@android:drawable/ic_menu_send"
- />
- <item
- android:id="@+id/save"
- android:alphabeticShortcut="d"
- android:title="@string/save_draft_action"
- android:icon="@drawable/ic_menu_save_draft"
- />
- <item
- android:id="@+id/discard"
- android:alphabeticShortcut="q"
- android:title="@string/discard_action"
- android:icon="@android:drawable/ic_menu_close_clear_cancel"
- />
- <item
- android:id="@+id/add_attachment"
+ android:title="@string/add_cc_bcc_action"
+ android:icon="@drawable/ic_menu_cc"
+ android:showAsAction="always"
+ />
+ <item
+ android:id="@+id/add_attachment"
android:alphabeticShortcut="n"
- android:title="@string/add_attachment_action"
- android:icon="@drawable/ic_menu_attachment"
- />
+ android:title="@string/add_attachment_action"
+ android:icon="@drawable/ic_menu_attachment"
+ android:showAsAction="always"
+ />
</menu>
diff --git a/res/menu/message_list_xl_option.xml b/res/menu/message_list_xl_option.xml
index 4af504087..d1698e8ac 100644
--- a/res/menu/message_list_xl_option.xml
+++ b/res/menu/message_list_xl_option.xml
@@ -31,12 +31,6 @@
android:title="@string/account_settings_action"
android:icon="@android:drawable/ic_menu_preferences"
/>
- <!-- STOPSHIP: Dev version only. Remove this. -->
- <item android:id="@+id/add_new_account"
- android:title="@string/add_account_action"
- android:icon="@android:drawable/ic_menu_add"
- />
- <!-- STOPSHIP: Dev version only. Remove this. -->
<item android:id="@+id/change_orientation"
android:title="@string/menu_change_orientation"
/>