mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
0878de5936
If there is at least one unread message among the selected messages the action is "mark as read". Otherwise, "mark as unread". If there is at least one unstarred message among the selected messages the action is "add star". Otherwise, "remove star".
62 lines
1.8 KiB
XML
62 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item
|
|
android:id="@+id/delete"
|
|
android:title="@string/delete_action"
|
|
android:showAsAction="always"
|
|
android:icon="?attr/iconActionDelete"
|
|
/>
|
|
<item
|
|
android:id="@+id/mark_as_read"
|
|
android:title="@string/mark_as_read_action"
|
|
android:showAsAction="always"
|
|
android:icon="?attr/iconActionMarkAsRead"
|
|
/>
|
|
<item
|
|
android:id="@+id/mark_as_unread"
|
|
android:title="@string/mark_as_unread_action"
|
|
android:showAsAction="always"
|
|
android:icon="?attr/iconActionMarkAsUnread"
|
|
/>
|
|
<item
|
|
android:id="@+id/archive"
|
|
android:title="@string/archive_action"
|
|
android:showAsAction="always"
|
|
android:icon="?attr/iconActionArchive"
|
|
/>
|
|
<item
|
|
android:id="@+id/move"
|
|
android:title="@string/move_action"
|
|
android:showAsAction="ifRoom"
|
|
android:icon="?attr/iconActionMoveOrCopy"
|
|
/>
|
|
<item
|
|
android:id="@+id/copy"
|
|
android:title="@string/copy_action"
|
|
/>
|
|
<item
|
|
android:id="@+id/flag"
|
|
android:title="@string/flag_action"
|
|
android:showAsAction="ifRoom"
|
|
android:icon="?attr/iconActionFlag"
|
|
/>
|
|
<item
|
|
android:id="@+id/unflag"
|
|
android:title="@string/unflag_action"
|
|
android:showAsAction="ifRoom"
|
|
android:icon="?attr/iconActionUnflag"
|
|
/>
|
|
<item
|
|
android:id="@+id/spam"
|
|
android:title="@string/spam_action"
|
|
android:showAsAction="ifRoom"
|
|
android:icon="?attr/iconActionSpam"
|
|
/>
|
|
<item
|
|
android:id="@+id/select_all"
|
|
android:icon="?attr/iconMenuSelectAll"
|
|
android:showAsAction="never"
|
|
android:title="@string/batch_select_all"
|
|
/>
|
|
</menu>
|