1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-18 13:52:18 -05:00
k-9/res/menu/message_list_option.xml
Joe Steele f70d835404 Provide menu option to search messages.
Recent phones frequently do not have a hardware search key, so
there is no way to initiate a search without a menu option.

Related to issues 3386, 3428, 4523, and 4643.
2012-10-30 12:42:51 -04:00

90 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/search"
android:icon="?attr/iconActionSearch"
android:showAsAction="always"
android:title="@string/search_action"/>
<item
android:id="@+id/search_remote"
android:icon="?attr/iconActionRemoteSearch"
android:showAsAction="always"
android:title="@string/action_remote_search"
android:visible="false"
/>
<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/set_sort"
android:icon="?attr/iconActionSort"
android:showAsAction="always"
android:title="@string/sort_by">
<menu>
<item
android:id="@+id/set_sort_date"
android:title="@string/sort_by_date"/>
<item
android:id="@+id/set_sort_arrival"
android:title="@string/sort_by_arrival"/>
<item
android:id="@+id/set_sort_subject"
android:title="@string/sort_by_subject"/>
<item
android:id="@+id/set_sort_sender"
android:title="@string/sort_by_sender"/>
<item
android:id="@+id/set_sort_flag"
android:title="@string/sort_by_flag"/>
<item
android:id="@+id/set_sort_unread"
android:title="@string/sort_by_unread"/>
<item
android:id="@+id/set_sort_attach"
android:title="@string/sort_by_attach"/>
</menu>
</item>
<item
android:id="@+id/compose"
android:alphabeticShortcut="c"
android:icon="?attr/iconActionCompose"
android:showAsAction="always"
android:title="@string/compose_action"/>
<item
android:id="@+id/select_all"
android:icon="?attr/iconMenuSelectAll"
android:showAsAction="never"
android:title="@string/batch_select_all"/>
<item
android:id="@+id/send_messages"
android:alphabeticShortcut="r"
android:icon="?attr/iconActionRefresh"
android:showAsAction="never"
android:title="@string/send_messages_action"/>
<item
android:id="@+id/expunge"
android:showAsAction="never"
android:title="@string/expunge_action"/>
<item
android:id="@+id/settings"
android:icon="?attr/iconMenuPreferences"
android:showAsAction="never"
android:title="@string/preferences_action">
<menu>
<item
android:id="@+id/folder_settings"
android:title="@string/folder_settings_action"/>
<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>