summaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/navigation')
-rw-r--r--app/src/main/res/navigation/nav_graph.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml
index 4ceeab2..89cbc89 100644
--- a/app/src/main/res/navigation/nav_graph.xml
+++ b/app/src/main/res/navigation/nav_graph.xml
@@ -17,6 +17,12 @@
<action
android:id="@+id/action_HomePage_to_TopAnimePage"
app:destination="@id/TopAnimePage" />
+ <action
+ android:id="@+id/action_HomePage_to_SearchMangaPage"
+ app:destination="@id/SearchMangaPage" />
+ <action
+ android:id="@+id/action_HomePage_to_SearchAnimePage"
+ app:destination="@id/SearchAnimePage" />
</fragment>
@@ -40,5 +46,25 @@
android:id="@+id/action_TopAnimePage_to_HomePage"
app:destination="@id/HomePage" />
</fragment>
+ <fragment
+ android:id="@+id/SearchMangaPage"
+ android:name="xyz.adjutor.aniki.manga.search.SearchMangaPage"
+ android:label="@string/search_manga_page_label"
+ tools:layout="@layout/search_manga_page">
+
+ <action
+ android:id="@+id/action_SearchMangaPage_to_HomePage"
+ app:destination="@id/HomePage" />
+ </fragment>
+ <fragment
+ android:id="@+id/SearchAnimePage"
+ android:name="xyz.adjutor.aniki.anime.search.SearchAnimePage"
+ android:label="@string/search_anime_page_label"
+ tools:layout="@layout/search_anime_page">
+
+ <action
+ android:id="@+id/action_SearchAnimePage_to_HomePage"
+ app:destination="@id/HomePage" />
+ </fragment>
</navigation> \ No newline at end of file