<?xml version="1.0" encoding="utf-8"?>
<navigation 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"
    app:startDestination="@id/main_fragment">
    <fragment
        android:id="@+id/main_fragment"
        android:name="org.oxycblt.auxio.MainFragment"
        android:label="MainFragment"
        tools:layout="@layout/fragment_main">
        <action
            android:id="@+id/action_show_settings"
            app:destination="@id/settings_fragment" />
        <action
            android:id="@+id/action_show_about"
            app:destination="@id/about_fragment" />
        <action
            android:id="@+id/action_show_details"
            app:destination="@id/song_detail_dialog" />
    </fragment>

    <fragment
        android:id="@+id/queue_fragment"
        android:name="org.oxycblt.auxio.playback.queue.QueueFragment"
        android:label="QueueFragment"
        tools:layout="@layout/fragment_queue" />
    <fragment
        android:id="@+id/about_fragment"
        android:name="org.oxycblt.auxio.settings.AboutFragment"
        android:label="dialog_about"
        tools:layout="@layout/fragment_about" />
    <fragment
        android:id="@+id/settings_fragment"
        android:name="org.oxycblt.auxio.settings.SettingsFragment"
        android:label="fragment_settings"
        tools:layout="@layout/fragment_settings" />
    <dialog
        android:id="@+id/song_detail_dialog"
        android:name="org.oxycblt.auxio.detail.SongDetailDialog"
        android:label="song_detail_dialog"
        tools:layout="@layout/dialog_song_detail">
        <argument
            android:name="songId"
            app:argType="long" />
    </dialog>
</navigation>