<?xml version="1.0" encoding="utf-8"?><!--
  ~ Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android.
  ~ Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com)
  ~
  ~ This program is free software; you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation; either version 2 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License along
  ~ with this program; if not, write to the Free Software Foundation, Inc.,
  ~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  -->

<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"
    android:id="@+id/mobile_navigation"
    app:startDestination="@id/nav_entries">

    <fragment
        android:id="@+id/nav_entries"
        android:name="com.rtbishop.look4sat.ui.fragments.EntriesFragment"
        tools:layout="@layout/fragment_entries">
        <action
            android:id="@+id/action_entries_to_passes"
            app:destination="@id/nav_passes"
            app:enterAnim="@anim/nav_default_enter_anim"
            app:exitAnim="@anim/nav_default_exit_anim"
            app:popEnterAnim="@anim/nav_default_pop_enter_anim"
            app:popExitAnim="@anim/nav_default_pop_exit_anim" />
    </fragment>

    <fragment
        android:id="@+id/nav_passes"
        android:name="com.rtbishop.look4sat.ui.fragments.PassesFragment"
        tools:layout="@layout/fragment_passes">
        <action
            android:id="@+id/action_pass_to_polar"
            app:destination="@id/nav_polar"
            app:enterAnim="@anim/nav_default_enter_anim"
            app:exitAnim="@anim/nav_default_exit_anim"
            app:popEnterAnim="@anim/nav_default_pop_enter_anim"
            app:popExitAnim="@anim/nav_default_pop_exit_anim" />
    </fragment>

    <fragment
        android:id="@+id/nav_polar"
        android:name="com.rtbishop.look4sat.ui.fragments.PolarFragment"
        tools:layout="@layout/fragment_polar">
        <argument
            android:name="satPassIndex"
            app:argType="integer" />
    </fragment>

    <fragment
        android:id="@+id/nav_map"
        android:name="com.rtbishop.look4sat.ui.fragments.MapFragment"
        tools:layout="@layout/fragment_map" />

    <fragment
        android:id="@+id/nav_prefs"
        android:name="com.rtbishop.look4sat.ui.fragments.PrefsFragment" />

    <fragment
        android:id="@+id/nav_info"
        android:name="com.rtbishop.look4sat.ui.fragments.InfoFragment"
        tools:layout="@layout/fragment_info" />

</navigation>
