home_navigation.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <navigation xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/home_navigation"
  5. app:startDestination="@id/gamesFragment">
  6. <fragment
  7. android:id="@+id/gamesFragment"
  8. android:name="org.yuzu.yuzu_emu.ui.GamesFragment"
  9. android:label="PlatformGamesFragment" />
  10. <fragment
  11. android:id="@+id/homeSettingsFragment"
  12. android:name="org.yuzu.yuzu_emu.fragments.HomeSettingsFragment"
  13. android:label="HomeSettingsFragment" >
  14. <action
  15. android:id="@+id/action_homeSettingsFragment_to_aboutFragment"
  16. app:destination="@id/aboutFragment" />
  17. <action
  18. android:id="@+id/action_homeSettingsFragment_to_earlyAccessFragment"
  19. app:destination="@id/earlyAccessFragment" />
  20. <action
  21. android:id="@+id/action_homeSettingsFragment_to_installableFragment"
  22. app:destination="@id/installableFragment" />
  23. <action
  24. android:id="@+id/action_homeSettingsFragment_to_driverManagerFragment"
  25. app:destination="@id/driverManagerFragment" />
  26. <action
  27. android:id="@+id/action_homeSettingsFragment_to_appletLauncherFragment"
  28. app:destination="@id/appletLauncherFragment" />
  29. <action
  30. android:id="@+id/action_homeSettingsFragment_to_gameFoldersFragment"
  31. app:destination="@id/gameFoldersFragment" />
  32. </fragment>
  33. <fragment
  34. android:id="@+id/firstTimeSetupFragment"
  35. android:name="org.yuzu.yuzu_emu.fragments.SetupFragment"
  36. android:label="FirstTimeSetupFragment" >
  37. <action
  38. android:id="@+id/action_firstTimeSetupFragment_to_gamesFragment"
  39. app:destination="@id/gamesFragment"
  40. app:popUpTo="@id/firstTimeSetupFragment"
  41. app:popUpToInclusive="true" />
  42. </fragment>
  43. <fragment
  44. android:id="@+id/searchFragment"
  45. android:name="org.yuzu.yuzu_emu.fragments.SearchFragment"
  46. android:label="SearchFragment" />
  47. <fragment
  48. android:id="@+id/aboutFragment"
  49. android:name="org.yuzu.yuzu_emu.fragments.AboutFragment"
  50. android:label="AboutFragment" >
  51. <action
  52. android:id="@+id/action_aboutFragment_to_licensesFragment"
  53. app:destination="@id/licensesFragment" />
  54. </fragment>
  55. <fragment
  56. android:id="@+id/earlyAccessFragment"
  57. android:name="org.yuzu.yuzu_emu.fragments.EarlyAccessFragment"
  58. android:label="EarlyAccessFragment" />
  59. <fragment
  60. android:id="@+id/licensesFragment"
  61. android:name="org.yuzu.yuzu_emu.fragments.LicensesFragment"
  62. android:label="LicensesFragment" />
  63. <activity
  64. android:id="@+id/emulationActivity"
  65. android:name="org.yuzu.yuzu_emu.activities.EmulationActivity"
  66. android:label="EmulationActivity">
  67. <argument
  68. android:name="game"
  69. app:argType="org.yuzu.yuzu_emu.model.Game"
  70. app:nullable="true"
  71. android:defaultValue="@null" />
  72. </activity>
  73. <action
  74. android:id="@+id/action_global_emulationActivity"
  75. app:destination="@id/emulationActivity"
  76. app:launchSingleTop="true" />
  77. <activity
  78. android:id="@+id/settingsActivity"
  79. android:name="org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity"
  80. android:label="SettingsActivity">
  81. <argument
  82. android:name="game"
  83. app:argType="org.yuzu.yuzu_emu.model.Game"
  84. app:nullable="true" />
  85. <argument
  86. android:name="menuTag"
  87. app:argType="org.yuzu.yuzu_emu.features.settings.model.Settings$MenuTag" />
  88. </activity>
  89. <action
  90. android:id="@+id/action_global_settingsActivity"
  91. app:destination="@id/settingsActivity" />
  92. <fragment
  93. android:id="@+id/installableFragment"
  94. android:name="org.yuzu.yuzu_emu.fragments.InstallableFragment"
  95. android:label="InstallableFragment" />
  96. <fragment
  97. android:id="@+id/driverManagerFragment"
  98. android:name="org.yuzu.yuzu_emu.fragments.DriverManagerFragment"
  99. android:label="DriverManagerFragment" />
  100. <fragment
  101. android:id="@+id/appletLauncherFragment"
  102. android:name="org.yuzu.yuzu_emu.fragments.AppletLauncherFragment"
  103. android:label="AppletLauncherFragment" >
  104. <action
  105. android:id="@+id/action_appletLauncherFragment_to_cabinetLauncherDialogFragment"
  106. app:destination="@id/cabinetLauncherDialogFragment" />
  107. </fragment>
  108. <dialog
  109. android:id="@+id/cabinetLauncherDialogFragment"
  110. android:name="org.yuzu.yuzu_emu.fragments.CabinetLauncherDialogFragment"
  111. android:label="CabinetLauncherDialogFragment" />
  112. <fragment
  113. android:id="@+id/gameFoldersFragment"
  114. android:name="org.yuzu.yuzu_emu.fragments.GameFoldersFragment"
  115. android:label="GameFoldersFragment" />
  116. </navigation>