aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation/nav_graph.xml
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-09 11:31:06 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-09 11:31:06 +0100
commit9ae95694db46e95f8d0ae9f9ea0a49d2005fd250 (patch)
treee5b32cd9d235554e8761d052c3563cc371502ad8 /app/src/main/res/navigation/nav_graph.xml
Initial commit
Diffstat (limited to 'app/src/main/res/navigation/nav_graph.xml')
-rw-r--r--app/src/main/res/navigation/nav_graph.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml
new file mode 100644
index 0000000..5441348
--- /dev/null
+++ b/app/src/main/res/navigation/nav_graph.xml
@@ -0,0 +1,28 @@
+<?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"
+ app:startDestination="@id/FirstFragment">
+
+ <fragment
+ android:id="@+id/FirstFragment"
+ android:name="xyz.adjutor.aniki.FirstFragment"
+ android:label="@string/first_fragment_label"
+ tools:layout="@layout/fragment_first">
+
+ <action
+ android:id="@+id/action_FirstFragment_to_SecondFragment"
+ app:destination="@id/SecondFragment" />
+ </fragment>
+ <fragment
+ android:id="@+id/SecondFragment"
+ android:name="xyz.adjutor.aniki.SecondFragment"
+ android:label="@string/second_fragment_label"
+ tools:layout="@layout/fragment_second">
+
+ <action
+ android:id="@+id/action_SecondFragment_to_FirstFragment"
+ app:destination="@id/FirstFragment" />
+ </fragment>
+</navigation> \ No newline at end of file