<?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"
    xmlns:tools="http://schemas.android.com/tools"
    tools:showIn="navigation_view">

    <group>
        <item
            android:id="@+id/nav_main_com"
            android:title="@string/my_account">
            <menu>
                <group android:checkableBehavior="single">
                    <item
                        android:id="@+id/action_account"
                        android:icon="@drawable/ic_outline_account_circle_24"
                        android:title="@string/account"
                        app:actionLayout="@layout/counter_account_icon_peertube" />
                    <item
                        android:id="@+id/action_playlist"
                        android:icon="@drawable/ic_baseline_playlist_play_24"
                        android:title="@string/playlists" />

                    <item
                        android:id="@+id/action_upload"
                        android:icon="@drawable/ic_baseline_cloud_upload_24"
                        android:title="@string/upload_video" />
                    <item
                        android:id="@+id/action_myvideos"
                        android:icon="@drawable/ic_baseline_personal_video_24"
                        android:title="@string/my_videos" />
                    <item
                        android:id="@+id/action_history"
                        android:icon="@drawable/ic_baseline_history_24"
                        android:title="@string/my_history" />
                    <item
                        android:id="@+id/action_most_liked"
                        android:icon="@drawable/ic_baseline_thumb_up_24"
                        android:title="@string/title_most_liked" />
                </group>
            </menu>
        </item>
        <item
            android:id="@+id/nav_app"
            android:title="@string/my_app">
            <menu>
                <group android:checkableBehavior="single">
                    <item
                        android:id="@+id/action_settings"
                        android:icon="@drawable/ic_baseline_settings_24"
                        android:title="@string/settings" />
                    <item
                        android:id="@+id/action_sepia_search"
                        android:icon="@drawable/ic_baseline_search_24"
                        android:title="@string/sepia_search" />

                </group>
            </menu>
        </item>

    </group>
</menu>
