aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-05-31 15:15:39 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-05-31 15:15:39 +0200
commitfc2156374611421c242ff7d65315f52fe57ceecf (patch)
treebbc122054ed71e1032dfbc2e022f202cae28e0c2 /app/src/main/res/navigation
parenteea218eda48b3a35a4940d2525b8b7a9fa316ee7 (diff)
Adding the base of bottom navigation.
Also changing the the prev and next button for top manga
Diffstat (limited to 'app/src/main/res/navigation')
-rw-r--r--app/src/main/res/navigation/mobile_navigation.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/src/main/res/navigation/mobile_navigation.xml b/app/src/main/res/navigation/mobile_navigation.xml
new file mode 100644
index 0000000..8d197c0
--- /dev/null
+++ b/app/src/main/res/navigation/mobile_navigation.xml
@@ -0,0 +1,25 @@
+<?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/mobile_navigation"
+ app:startDestination="@+id/navigation_home">
+
+ <fragment
+ android:id="@+id/navigation_manga"
+ android:name="xyz.adjutor.aniki.presentation.view.fragment.TopMangaFragment"
+ android:label="@string/title_manga"
+ tools:layout="@layout/top_manga_page" />
+
+ <fragment
+ android:id="@+id/navigation_home"
+ android:name="xyz.adjutor.aniki.presentation.view.fragment.HomePage"
+ android:label="@string/title_home"
+ tools:layout="@layout/home_page" />
+
+ <fragment
+ android:id="@+id/navigation_anime"
+ android:name="xyz.adjutor.aniki.presentation.view.fragment.TopAnimeFragment"
+ android:label="@string/title_anime"
+ tools:layout="@layout/top_anime_page" />
+</navigation> \ No newline at end of file