aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation/nav_graph.xml
blob: d8d3b26d209ae696684b99bae5cf23caeaaace02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?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/HomePage">

    <fragment
        android:id="@+id/HomePage"
        android:name="xyz.adjutor.aniki.HomePage"
        android:label="@string/home_page_label"
        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>

    <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:label="@string/top_manga_page_label"
        tools:layout="@layout/top_manga_page">

        <action
            android:id="@+id/action_TopMangaPage_to_HomePage"
            app:destination="@id/HomePage" />
    </fragment>

</navigation>