diff options
Diffstat (limited to 'app/src/main/res/navigation')
-rw-r--r-- | app/src/main/res/navigation/nav_graph.xml | 40 |
1 files changed, 13 insertions, 27 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index d8d3b26..132de49 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -12,41 +12,17 @@ tools:layout="@layout/home_page"> <action - android:id="@+id/action_HomePage_to_NewsPage" - app:destination="@id/NewsPage" /> - <action - android:id="@+id/action_HomePage_to_ArticlePage" - app:destination="@id/ArticlePage" /> - <action android:id="@+id/action_HomePage_to_TopMangaPage" app:destination="@id/TopMangaPage" /> - </fragment> - - <fragment - android:id="@+id/NewsPage" - android:name="xyz.adjutor.aniki.NewsPage" - android:label="@string/news_page_label" - tools:layout="@layout/news_page"> - <action - android:id="@+id/action_NewsPage_to_HomePage" - app:destination="@id/HomePage" /> - </fragment> + android:id="@+id/action_HomePage_to_TopAnimePage" + app:destination="@id/TopAnimePage" /> - <fragment - android:id="@+id/ArticlePage" - android:name="xyz.adjutor.aniki.ArticlePage" - android:label="@string/article_page_label" - tools:layout="@layout/article_page"> - - <action - android:id="@+id/action_ArticlePage_to_HomePage" - app:destination="@id/HomePage" /> </fragment> <fragment android:id="@+id/TopMangaPage" - android:name="xyz.adjutor.aniki.TopMangaPage" + android:name="xyz.adjutor.aniki.topmanga.TopMangaPage" android:label="@string/top_manga_page_label" tools:layout="@layout/top_manga_page"> @@ -54,5 +30,15 @@ android:id="@+id/action_TopMangaPage_to_HomePage" app:destination="@id/HomePage" /> </fragment> + <fragment + android:id="@+id/TopAnimePage" + android:name="xyz.adjutor.aniki.topanime.TopAnimePage" + android:label="@string/top_anime_page_label" + tools:layout="@layout/top_anime_page"> + + <action + android:id="@+id/action_TopAnimePage_to_HomePage" + app:destination="@id/HomePage" /> + </fragment> </navigation>
\ No newline at end of file |