|
@@ -0,0 +1,57 @@
|
|
|
|
|
+<?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/home_fragment">
|
|
|
|
|
+
|
|
|
|
|
+ <fragment
|
|
|
|
|
+ android:id="@+id/home_fragment"
|
|
|
|
|
+ android:name="com.grkj.iscs_mc.view.fragment.MaterialHomeFragment"
|
|
|
|
|
+ tools:layout="@layout/fragment_material_home">
|
|
|
|
|
+
|
|
|
|
|
+ <action
|
|
|
|
|
+ android:id="@+id/action_home_fragment_to_instruction_fragment"
|
|
|
|
|
+ app:destination="@id/material_instruction_fragment"
|
|
|
|
|
+ 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_home_fragment_to_replacement_fragment"
|
|
|
|
|
+ app:destination="@id/material_replacement_fragment"
|
|
|
|
|
+ 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/material_instruction_fragment"
|
|
|
|
|
+ android:name="com.grkj.iscs_mc.view.fragment.MaterialInstructionFragment"
|
|
|
|
|
+ tools:layout="@layout/fragment_material_instruction">
|
|
|
|
|
+ <!-- <argument android:name="url" app:argType="string" />-->
|
|
|
|
|
+ <action
|
|
|
|
|
+ android:id="@+id/action_instruction_fragment_to_home_fragment"
|
|
|
|
|
+ app:destination="@id/home_fragment"
|
|
|
|
|
+ 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/material_replacement_fragment"
|
|
|
|
|
+ android:name="com.grkj.iscs_mc.view.fragment.MaterialReplacementFragment"
|
|
|
|
|
+ tools:layout="@layout/fragment_material_replacement">
|
|
|
|
|
+ <!-- <argument android:name="url" app:argType="string"/>-->
|
|
|
|
|
+ <action
|
|
|
|
|
+ android:id="@+id/action_replacement_fragment_to_home_fragment"
|
|
|
|
|
+ app:destination="@id/home_fragment"
|
|
|
|
|
+ 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>
|
|
|
|
|
+</navigation>
|