1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00
k-9/res/menu/folder_list_option.xml
Joe Steele d7cb89880a Switch to using the action bar for folder searches.
Eliminate the old-style search dialog box.
2013-01-10 17:41:13 -05:00

72 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/filter_folders"
android:icon="?attr/iconActionSearchFolder"
android:showAsAction="always|collapseActionView"
android:title="@string/filter_folders_action"
android:actionViewClass="com.actionbarsherlock.widget.SearchView"/>
<item
android:id="@+id/check_mail"
android:alphabeticShortcut="r"
android:icon="?attr/iconActionRefresh"
android:showAsAction="always"
android:title="@string/check_mail_action"/>
<item
android:id="@+id/compose"
android:alphabeticShortcut="c"
android:icon="?attr/iconActionCompose"
android:showAsAction="always"
android:title="@string/compose_action"/>
<item
android:icon="@drawable/ic_show_folders"
android:title="@string/folder_list_display_mode_label">
<menu>
<item
android:id="@+id/display_all"
android:title="@string/folder_list_display_mode_all"/>
<item
android:id="@+id/display_1st_class"
android:title="@string/folder_list_display_mode_first_class"/>
<item
android:id="@+id/display_1st_and_2nd_class"
android:title="@string/folder_list_display_mode_first_and_second_class"/>
<item
android:id="@+id/display_not_second_class"
android:title="@string/folder_list_display_mode_not_second_class"/>
</menu>
</item>
<item
android:id="@+id/send_messages"
android:icon="?attr/iconMenuRefresh"
android:title="@string/send_messages_action"/>
<item
android:id="@+id/empty_trash"
android:alphabeticShortcut="e"
android:icon="?attr/iconMenuDelete"
android:title="@string/empty_trash_action"/>
<item
android:id="@+id/compact"
android:icon="?attr/iconMenuCompact"
android:showAsAction="never"
android:title="@string/compact_action"/>
<item
android:id="@+id/list_folders"
android:title="@string/refresh_folders_action"/>
<item
android:id="@+id/settings"
android:icon="?attr/iconMenuPreferences"
android:showAsAction="never"
android:title="@string/preferences_action">
<menu>
<item
android:id="@+id/account_settings"
android:title="@string/account_settings_action"/>
<item
android:id="@+id/app_settings"
android:title="@string/global_settings_action"/>
</menu>
</item>
</menu>