103 lines
4.0 KiB
XML
103 lines
4.0 KiB
XML
<?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"
|
|
android:id="@+id/nav_graph">
|
|
|
|
<fragment
|
|
android:id="@+id/nav_canteen"
|
|
android:name="de.sebse.fuplanner2.ui.gallery.GalleryFragment"
|
|
android:label="@string/menu_canteen"
|
|
tools:layout="@layout/fragment_canteen" />
|
|
|
|
<fragment
|
|
android:id="@+id/nav_schedule"
|
|
android:name="de.sebse.fuplanner2.ui.schedule.ScheduleFragment"
|
|
android:label="@string/menu_schedule"
|
|
tools:layout="@layout/fragment_schedule">
|
|
<action
|
|
android:id="@+id/action_nav_schedule_to_course_details"
|
|
app:destination="@id/course_details"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/course_details"
|
|
android:name="de.sebse.fuplanner2.ui.details.DetailsFragment">
|
|
<action
|
|
android:id="@+id/action_course_details_to_descriptionFragment"
|
|
app:destination="@id/course_description"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
<action
|
|
android:id="@+id/action_course_details_to_course_events"
|
|
app:destination="@id/course_events"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
<action
|
|
android:id="@+id/action_course_details_to_course_announcements"
|
|
app:destination="@id/course_announcements"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
<argument
|
|
android:name="courseId"
|
|
app:argType="long" />
|
|
<argument
|
|
android:name="title"
|
|
app:argType="string" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/course_events"
|
|
android:name="de.sebse.fuplanner2.ui.details_events.EventsFragment"
|
|
android:label="{title}"
|
|
tools:layout="@layout/fragment_refresh_recycler">
|
|
<argument
|
|
android:name="courseId"
|
|
app:argType="long" />
|
|
<argument
|
|
android:name="title"
|
|
app:argType="string" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/course_announcements"
|
|
android:name="de.sebse.fuplanner2.ui.details_announcements.AnnouncementsFragment"
|
|
android:label="{title}"
|
|
tools:layout="@layout/fragment_refresh_recycler">
|
|
<argument
|
|
android:name="courseId"
|
|
app:argType="long" />
|
|
<argument
|
|
android:name="title"
|
|
app:argType="string" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/course_description"
|
|
android:name="de.sebse.fuplanner2.ui.details_description.DescriptionFragment"
|
|
android:label="{title}">
|
|
<argument
|
|
android:name="courseId"
|
|
app:argType="long" />
|
|
<argument
|
|
android:name="title"
|
|
app:argType="string" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/nav_notifications"
|
|
android:name="de.sebse.fuplanner2.ui.notification.NotificationFragment"
|
|
android:label="@string/menu_notifications"
|
|
tools:layout="@layout/notification_fragment">
|
|
<action
|
|
android:id="@+id/action_nav_notifications_to_course_details"
|
|
app:destination="@id/course_details"
|
|
app:popUpTo="@id/nav_courses" />
|
|
</fragment>
|
|
</navigation>
|