1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-16 14:35:04 -05:00

Made "Settings" the last menu item in each activity

This commit is contained in:
cketti 2012-09-10 16:06:01 +02:00
parent 078e5dd867
commit 04796106f6
3 changed files with 23 additions and 23 deletions

View File

@ -30,11 +30,6 @@
<item android:id="@+id/search" <item android:id="@+id/search"
android:title="@string/search_action" /> android:title="@string/search_action" />
--> -->
<item
android:id="@+id/edit_prefs"
android:icon="@android:drawable/ic_menu_preferences"
android:showAsAction="never"
android:title="@string/preferences_action"/>
<item <item
android:id="@+id/import_export" android:id="@+id/import_export"
android:title="@string/import_export_action"> android:title="@string/import_export_action">
@ -47,5 +42,10 @@
android:title="@string/settings_import"/> android:title="@string/settings_import"/>
</menu> </menu>
</item> </item>
<item
android:id="@+id/edit_prefs"
android:icon="@android:drawable/ic_menu_preferences"
android:showAsAction="never"
android:title="@string/preferences_action"/>
</menu> </menu>

View File

@ -48,6 +48,20 @@
android:alphabeticShortcut="e" android:alphabeticShortcut="e"
android:icon="?attr/iconMenuDelete" android:icon="?attr/iconMenuDelete"
android:title="@string/empty_trash_action"/> android:title="@string/empty_trash_action"/>
<item
android:id="@+id/send_messages"
android:icon="?attr/iconMenuRefresh"
android:title="@string/send_messages_action"/>
<item
android:id="@+id/advanced"
android:title="@string/advanced">
<menu>
<item
android:id="@+id/compact"
android:icon="?attr/iconMenuCompact"
android:title="@string/compact_action"/>
</menu>
</item>
<item <item
android:id="@+id/settings" android:id="@+id/settings"
android:icon="?attr/iconMenuPreferences" android:icon="?attr/iconMenuPreferences"
@ -64,19 +78,5 @@
android:title="@string/global_settings_action"/> android:title="@string/global_settings_action"/>
</menu> </menu>
</item> </item>
<item
android:id="@+id/send_messages"
android:icon="?attr/iconMenuRefresh"
android:title="@string/send_messages_action"/>
<item
android:id="@+id/advanced"
android:title="@string/advanced">
<menu>
<item
android:id="@+id/compact"
android:icon="?attr/iconMenuCompact"
android:title="@string/compact_action"/>
</menu>
</item>
</menu> </menu>

View File

@ -58,6 +58,10 @@
android:icon="?attr/iconMenuInbox" android:icon="?attr/iconMenuInbox"
android:showAsAction="never" android:showAsAction="never"
android:title="@string/mark_all_as_read_action"/> android:title="@string/mark_all_as_read_action"/>
<item
android:id="@+id/expunge"
android:showAsAction="never"
android:title="@string/expunge_action"/>
<item <item
android:id="@+id/settings" android:id="@+id/settings"
android:icon="?attr/iconMenuPreferences" android:icon="?attr/iconMenuPreferences"
@ -78,9 +82,5 @@
android:title="@string/global_settings_action"/> android:title="@string/global_settings_action"/>
</menu> </menu>
</item> </item>
<item
android:id="@+id/expunge"
android:showAsAction="never"
android:title="@string/expunge_action"/>
</menu> </menu>