<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <item
        android:id="@+id/action_filter"
        android:icon="@drawable/ic_filter_list_white_24dp"
        android:title="@string/action_filter"
        app:showAsAction="ifRoom">
        <menu>
            <item
                android:id="@+id/action_filter_read"
                android:checkable="true"
                android:title="@string/action_filter_read" />
            <item
                android:id="@+id/action_filter_unread"
                android:checkable="true"
                android:title="@string/action_filter_unread" />
            <item
                android:id="@+id/action_filter_downloaded"
                android:checkable="true"
                android:title="@string/action_filter_downloaded" />
            <item
                android:id="@+id/action_filter_bookmarked"
                android:checkable="true"
                android:title="@string/action_filter_bookmarked" />
            <item
                android:id="@+id/action_filter_empty"
                android:title="@string/action_filter_empty" />
        </menu>
    </item>

    <item
        android:id="@+id/action_sort"
        android:icon="@drawable/ic_sort_by_numeric_white_24dp"
        android:title="@string/action_sort"
        app:showAsAction="ifRoom" />

    <item
        android:title="@string/action_display_mode"
        app:showAsAction="never">
        <menu>
            <group android:checkableBehavior="single">
                <item
                    android:id="@+id/display_title"
                    android:title="@string/show_title" />
                <item
                    android:id="@+id/display_chapter_number"
                    android:title="@string/show_chapter_number" />
            </group>
        </menu>
    </item>

    <item
        android:title="@string/sorting_mode"
        app:showAsAction="never">
        <menu>
            <group android:checkableBehavior="single">
                <item
                    android:id="@+id/sort_by_source"
                    android:title="@string/sort_by_source" />
                <item
                    android:id="@+id/sort_by_number"
                    android:title="@string/sort_by_number" />
            </group>
        </menu>
    </item>

    <item
        android:title="@string/manga_download"
        app:showAsAction="never">
        <menu>
            <item
                android:id="@+id/download_next"
                android:title="@string/download_1" />
            <item
                android:id="@+id/download_next_5"
                android:title="@string/download_5" />
            <item
                android:id="@+id/download_next_10"
                android:title="@string/download_10" />
            <item
                android:id="@+id/download_custom"
                android:title="@string/download_custom" />
            <item
                android:id="@+id/download_unread"
                android:title="@string/download_unread" />
            <item
                android:id="@+id/download_all"
                android:title="@string/download_all" />
        </menu>
    </item>
</menu>
