<?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:title="@string/search"
        android:id="@+id/menu_search_chat"
        app:actionViewClass="androidx.appcompat.widget.SearchView"
        app:showAsAction="collapseActionView|never" />

    <item android:title="0/0"
        android:id="@+id/menu_search_counter"
        android:visible="false"
        app:showAsAction="always"/>

    <item android:title="@string/back"
        android:id="@+id/menu_search_up"
        android:icon="@drawable/ic_search_up"
        android:visible="false"
        app:showAsAction="always"/>

    <item android:title="@string/next"
        android:id="@+id/menu_search_down"
        android:icon="@drawable/ic_search_down"
        android:visible="false"
        app:showAsAction="always"/>

    <item android:id="@+id/menu_ephemeral_messages"
        android:title="@string/ephemeral_messages" />

    <item android:title="@string/menu_mute"
        android:id="@+id/menu_mute_notifications"/>

    <item android:id="@+id/menu_show_map"
        android:title="@string/tab_map"
        android:icon="@drawable/ic_map_white_24dp"
        app:showAsAction="ifRoom" />

    <item android:title="@string/menu_archive_chat"
        android:id="@+id/menu_archive_chat"/>

    <item android:title="@string/menu_more_options">
        <menu>
            <item android:id="@+id/menu_leave"
                android:visible="false"
                android:title="@string/menu_leave_group"/>

            <item android:title="@string/clear_chat"
                android:id="@+id/menu_clear_chat"/>

            <item android:title="@string/menu_delete_chat"
                android:id="@+id/menu_delete_chat"/>
        </menu>
    </item>

</menu>
