<?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 android:id="@+id/nav_main"
        android:checkableBehavior="single">

        <item android:id="@+id/nav_dashboard"
            android:icon="@drawable/ic_dashboard"
            android:title="@string/dashboard"
            app:actionLayout="@layout/badge_beta"
            android:visible="false"/>

        <item android:id="@+id/nav_home"
            android:icon="@drawable/ic_repo"
            android:title="@string/navMyRepos"/>

        <item android:id="@+id/nav_starred_repos"
            android:icon="@drawable/ic_star_unfilled"
            android:title="@string/navStarredRepos"/>

        <item android:id="@+id/nav_organizations"
            android:icon="@drawable/ic_organization"
            android:title="@string/navOrg"/>

        <item android:id="@+id/nav_repositories"
            android:icon="@drawable/ic_repo"
            android:title="@string/navRepos"/>

        <item android:id="@+id/nav_watched_repositories"
            android:icon="@drawable/ic_watchers"
            android:title="@string/navWatchedRepositories"/>

        <item android:id="@+id/nav_my_issues"
            android:icon="@drawable/ic_issue"
            android:title="@string/navMyIssues"
            android:visible="false"/>

        <item
            android:id="@+id/nav_notifications"
            android:icon="@drawable/ic_notifications"
            android:title="@string/pageTitleNotifications"
            app:actionLayout="@layout/badge_notification"/>

        <item android:id="@+id/nav_explore"
            android:icon="@drawable/ic_search"
            android:title="@string/pageTitleExplore"/>

        <item android:id="@+id/nav_most_visited"
            android:icon="@drawable/ic_trending"
            android:title="@string/navMostVisited"/>

        <item android:id="@+id/nav_notes"
            android:icon="@drawable/ic_notes"
            android:title="@string/navNotes" />

        <item android:id="@+id/nav_comments_draft"
            android:icon="@drawable/ic_drafts"
            android:title="@string/titleDrafts"/>

        <item android:id="@+id/nav_profile"
            android:icon="@drawable/ic_person"
            android:title="@string/navProfile"/>

        <item android:id="@+id/nav_account_settings"
            android:icon="@drawable/ic_account_settings"
            android:title="@string/navAccount" />

        <item android:id="@+id/nav_administration"
            android:icon="@drawable/ic_tool"
            android:title="@string/navAdministration"
            android:visible="false"/>

    </group>

    <group android:id="@+id/nav_menu_settings"
        android:checkableBehavior="single">

        <item android:id="@+id/nav_settings"
            android:icon="@drawable/ic_settings"
            android:title="@string/navSettings"/>

    </group>

</menu>
