<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context=".MainActivity">

    <item
        android:id="@+id/action_search"
        android:icon="@drawable/ic_search_24dp"
        android:title="@string/action_search"
        app:actionViewClass="androidx.appcompat.widget.SearchView"
        app:iconTint="?attr/colorOnPrimary"
        app:showAsAction="collapseActionView|ifRoom" />

    <item
        android:id="@+id/action_filter"
        android:icon="@drawable/ic_filter_list_24dp"
        android:title="@string/action_filter"
        app:iconTint="?attr/colorOnPrimary"
        app:showAsAction="ifRoom" />

    <item
        android:id="@+id/action_update_library"
        android:icon="@drawable/ic_refresh_24dp"
        android:title="@string/action_update_library"
        app:iconTint="?attr/colorOnPrimary"
        app:showAsAction="ifRoom" />

    <item
        android:id="@+id/action_sync_favorites"
        android:icon="@drawable/ic_cloud_white_24dp"
        android:title="@string/eh_sync_favorites"
        app:showAsAction="never"/>


    <item
        android:id="@+id/action_source_migration"
        android:title="@string/label_migration"
        app:showAsAction="never"/>

    <item
        android:id="@+id/action_reorganize"
        android:title="@string/label_reorganize_by"
        app:showAsAction="never">
        <menu>
            <item
                android:id="@+id/action_alpha_asc"
                android:title="@string/action_sort_alpha"/>
            <item
                android:id="@+id/action_alpha_dsc"
                android:title="@string/label_alpha_reverse"/>
            <item
                android:id="@+id/action_update_asc"
                android:title="@string/action_sort_last_checked"/>
            <item
                android:id="@+id/action_update_dsc"
                android:title="@string/action_sort_first_checked"/>
        </menu>
    </item>

</menu>
