summaryrefslogtreecommitdiffstats
path: root/src/android/app/src/main/res/navigation/home_navigation.xml
blob: cf70b4bc42758d3fe42e44ca09db7a137dd7d955 (plain) (blame)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?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"
    android:id="@+id/home_navigation"
    app:startDestination="@id/gamesFragment">

    <fragment
        android:id="@+id/gamesFragment"
        android:name="org.yuzu.yuzu_emu.ui.GamesFragment"
        android:label="PlatformGamesFragment" />

    <fragment
        android:id="@+id/homeSettingsFragment"
        android:name="org.yuzu.yuzu_emu.fragments.HomeSettingsFragment"
        android:label="HomeSettingsFragment" >
        <action
            android:id="@+id/action_homeSettingsFragment_to_aboutFragment"
            app:destination="@id/aboutFragment" />
        <action
            android:id="@+id/action_homeSettingsFragment_to_earlyAccessFragment"
            app:destination="@id/earlyAccessFragment" />
        <action
            android:id="@+id/action_homeSettingsFragment_to_installableFragment"
            app:destination="@id/installableFragment" />
        <action
            android:id="@+id/action_homeSettingsFragment_to_driverManagerFragment"
            app:destination="@id/driverManagerFragment" />
        <action
            android:id="@+id/action_homeSettingsFragment_to_appletLauncherFragment"
            app:destination="@id/appletLauncherFragment" />
        <action
            android:id="@+id/action_homeSettingsFragment_to_gameFoldersFragment"
            app:destination="@id/gameFoldersFragment" />
    </fragment>

    <fragment
        android:id="@+id/firstTimeSetupFragment"
        android:name="org.yuzu.yuzu_emu.fragments.SetupFragment"
        android:label="FirstTimeSetupFragment" >
        <action
            android:id="@+id/action_firstTimeSetupFragment_to_gamesFragment"
            app:destination="@id/gamesFragment"
            app:popUpTo="@id/firstTimeSetupFragment"
            app:popUpToInclusive="true" />
    </fragment>

    <fragment
        android:id="@+id/searchFragment"
        android:name="org.yuzu.yuzu_emu.fragments.SearchFragment"
        android:label="SearchFragment" />

    <fragment
        android:id="@+id/aboutFragment"
        android:name="org.yuzu.yuzu_emu.fragments.AboutFragment"
        android:label="AboutFragment" >
        <action
            android:id="@+id/action_aboutFragment_to_licensesFragment"
            app:destination="@id/licensesFragment" />
    </fragment>

    <fragment
        android:id="@+id/earlyAccessFragment"
        android:name="org.yuzu.yuzu_emu.fragments.EarlyAccessFragment"
        android:label="EarlyAccessFragment" />

    <fragment
        android:id="@+id/licensesFragment"
        android:name="org.yuzu.yuzu_emu.fragments.LicensesFragment"
        android:label="LicensesFragment" />

    <activity
        android:id="@+id/emulationActivity"
        android:name="org.yuzu.yuzu_emu.activities.EmulationActivity"
        android:label="EmulationActivity">
        <argument
            android:name="game"
            app:argType="org.yuzu.yuzu_emu.model.Game"
            app:nullable="true"
            android:defaultValue="@null" />
    </activity>

    <action
        android:id="@+id/action_global_emulationActivity"
        app:destination="@id/emulationActivity"
        app:launchSingleTop="true" />

    <activity
        android:id="@+id/settingsActivity"
        android:name="org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity"
        android:label="SettingsActivity">
        <argument
            android:name="game"
            app:argType="org.yuzu.yuzu_emu.model.Game"
            app:nullable="true" />
        <argument
            android:name="menuTag"
            app:argType="org.yuzu.yuzu_emu.features.settings.model.Settings$MenuTag" />
    </activity>

    <action
        android:id="@+id/action_global_settingsActivity"
        app:destination="@id/settingsActivity" />
    <fragment
        android:id="@+id/installableFragment"
        android:name="org.yuzu.yuzu_emu.fragments.InstallableFragment"
        android:label="InstallableFragment" />
    <fragment
        android:id="@+id/driverManagerFragment"
        android:name="org.yuzu.yuzu_emu.fragments.DriverManagerFragment"
        android:label="DriverManagerFragment" />
    <fragment
        android:id="@+id/appletLauncherFragment"
        android:name="org.yuzu.yuzu_emu.fragments.AppletLauncherFragment"
        android:label="AppletLauncherFragment" >
        <action
            android:id="@+id/action_appletLauncherFragment_to_cabinetLauncherDialogFragment"
            app:destination="@id/cabinetLauncherDialogFragment" />
    </fragment>
    <dialog
        android:id="@+id/cabinetLauncherDialogFragment"
        android:name="org.yuzu.yuzu_emu.fragments.CabinetLauncherDialogFragment"
        android:label="CabinetLauncherDialogFragment" />
    <fragment
        android:id="@+id/gameFoldersFragment"
        android:name="org.yuzu.yuzu_emu.fragments.GameFoldersFragment"
        android:label="GameFoldersFragment" />

</navigation>