<?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">
    <group>
        <!-- MASTODON MENU -->
        <item
            android:id="@+id/nav_main_com"
            android:title="@string/communication_menu_title">
            <menu>
                <group android:checkableBehavior="single">
                    <item
                        android:id="@+id/menu_none"
                        android:title=""
                        android:visible="false" />
                    <item
                        android:id="@+id/nav_announcements"
                        android:icon="@drawable/ic_bullhorn"
                        android:title="@string/action_announcements"
                        app:actionLayout="@layout/item_menu_news" />
                    <item
                        android:id="@+id/nav_news"
                        android:icon="@drawable/ic_new_releases_black"
                        android:title="@string/action_news"
                        app:actionLayout="@layout/item_menu_news" />
                    <item
                        android:id="@+id/nav_trends"
                        android:icon="@drawable/ic_trending_tags"
                        android:title="@string/action_trends" />
                    <item
                        android:id="@+id/nav_list"
                        android:icon="@drawable/ic_list"
                        android:title="@string/action_lists" />
                    <item
                        android:id="@+id/nav_favorites"
                        android:icon="@drawable/ic_star_menu"
                        android:title="@string/favorites_menu" />
                    <item
                        android:id="@+id/nav_group"
                        android:icon="@drawable/ic_group_work"
                        android:title="@string/action_groups"
                        android:visible="false" />
                    <item
                        android:id="@+id/nav_scheduled"
                        android:icon="@drawable/ic_schedule"
                        android:title="@string/scheduled_toots" />
                    <item
                        android:id="@+id/nav_drafts"
                        android:icon="@drawable/ic_save_white"
                        android:title="@string/drafts" />
                    <item
                        android:id="@+id/nav_archive"
                        android:icon="@drawable/ic_archive"
                        android:title="@string/owner_cached_toots" />
                    <item
                        android:id="@+id/nav_archive_notifications"
                        android:icon="@drawable/ic_archive"
                        android:title="@string/owner_cached_notifications" />
                    <item
                        android:id="@+id/nav_bookmarks"
                        android:icon="@drawable/ic_bookmark_menu"
                        android:title="@string/bookmarks" />
                    <item
                        android:id="@+id/nav_peertube"
                        android:icon="@drawable/ic_favorite_peertube_full"
                        android:title="@string/peertube_favorites" />
                    <item
                        android:id="@+id/nav_filters"
                        android:icon="@drawable/ic_filter"
                        android:title="@string/filters" />
                    <item
                        android:id="@+id/nav_follow_request"
                        android:icon="@drawable/ic_group_add"
                        android:title="@string/follow_request" />
                    <item
                        android:id="@+id/nav_who_to_follow"
                        android:icon="@drawable/ic_people"
                        android:title="@string/how_to_follow" />
                    <item
                        android:id="@+id/nav_drag_timelines"
                        android:icon="@drawable/ic_drag_handle_menu"
                        android:title="@string/reorder_timelines" />
                    <item
                        android:id="@+id/nav_administration"
                        android:icon="@drawable/ic_security_admin"
                        android:title="@string/administration" />
                </group>
            </menu>
        </item>
        <!-- PEERTUBE MENU -->
        <item
            android:id="@+id/nav_peertube_comm"
            android:title="@string/communication_menu_title">
            <menu>
                <group android:checkableBehavior="single">
                    <item
                        android:id="@+id/nav_peertube_playlists"
                        android:icon="@drawable/ic_list_peertube"
                        android:title="@string/playlists" />
                    <item
                        android:id="@+id/nav_my_video"
                        android:icon="@drawable/ic_video_library"
                        android:title="@string/my_videos" />
                    <item
                        android:id="@+id/nav_peertube_history"
                        android:icon="@drawable/ic_history_black"
                        android:title="@string/history" />

                    <item
                        android:id="@+id/nav_upload"
                        android:icon="@drawable/ic_cloud_upload"
                        android:title="@string/upload_video" />
                    <item
                        android:id="@+id/nav_peertube_notifications"
                        android:icon="@drawable/ic_notifications_peertube"
                        android:title="@string/notifications" />
                    <item
                        android:id="@+id/nav_peertube_settings"
                        android:icon="@drawable/ic_settings"
                        android:title="@string/settings" />

                </group>
            </menu>
        </item>
        <!-- PIXELFED MENU -->
        <item
            android:id="@+id/nav_pixelfed_comm"
            android:title="@string/communication_menu_title">
            <menu>
                <group android:checkableBehavior="single">
                    <item
                        android:id="@+id/nav_favorites_px"
                        android:icon="@drawable/ic_star_menu"
                        android:title="@string/favorites_menu" />
                    <item
                        android:id="@+id/nav_pixelfed_scheduled"
                        android:icon="@drawable/ic_schedule"
                        android:title="@string/scheduled_toots" />
                    <item
                        android:id="@+id/nav_pixelfed_drafts"
                        android:icon="@drawable/ic_save_white"
                        android:title="@string/drafts" />
                    <item
                        android:id="@+id/nav_pixelfed_bookmarks"
                        android:icon="@drawable/ic_bookmark_menu"
                        android:title="@string/bookmarks" />
                    <item
                        android:id="@+id/nav_pixelfed_blocked"
                        android:icon="@drawable/ic_block"
                        android:title="@string/blocked_menu" />
                </group>
            </menu>
        </item>
        <item
            android:id="@+id/nav_main_opt"
            android:title="@string/neutral_menu_title">
            <menu>
                <group android:checkableBehavior="single">
                    <item
                        android:id="@+id/nav_settings"
                        android:icon="@drawable/ic_settings"
                        android:title="@string/settings" />
                    <item
                        android:id="@+id/nav_blocked"
                        android:icon="@drawable/ic_block"
                        android:title="@string/blocked_menu" />
                    <item
                        android:id="@+id/nav_muted"
                        android:icon="@drawable/ic_volume_mute"
                        android:title="@string/muted_menu" />
                    <item
                        android:id="@+id/nav_blocked_domains"
                        android:icon="@drawable/ic_block"
                        android:title="@string/blocked_domains" />
                </group>
            </menu>
        </item>
        <item android:title="@string/neutral_menu_information">
            <menu>
                <group android:checkableBehavior="single">
                    <item
                        android:id="@+id/nav_liberapay"
                        android:icon="@drawable/ic_liberapay"
                        android:title="Liberapay"
                        tools:ignore="HardcodedText" />
                    <item
                        android:id="@+id/nav_how_to"
                        android:icon="@drawable/ic_videocam"
                        android:title="@string/how_to_videos" />
                    <item
                        android:id="@+id/nav_about"
                        android:icon="@drawable/ic_info"
                        android:title="@string/action_about" />
                    <item
                        android:id="@+id/nav_partnership"
                        android:icon="@drawable/ic_add_circle"
                        android:title="@string/action_partnership" />
                </group>
            </menu>
        </item>
    </group>
</menu>
