nav_graph.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/nav_graph"
  6. app:startDestination="@id/homeFragment">
  7. <fragment
  8. android:id="@+id/homeFragment"
  9. android:name="com.sduduzog.slimlauncher.ui.main.HomeFragment"
  10. android:label="home_fragment"
  11. tools:layout="@layout/home_fragment">
  12. <action
  13. android:id="@+id/action_homeFragment_to_optionsFragment"
  14. app:destination="@id/optionsFragment" />
  15. <action
  16. android:id="@+id/action_homeFragment_to_openAppsFragment"
  17. app:destination="@id/openAppsFragment" />
  18. </fragment>
  19. <fragment
  20. android:id="@+id/optionsFragment"
  21. android:name="com.sduduzog.slimlauncher.ui.options.OptionsFragment"
  22. android:label="options_fragment"
  23. tools:layout="@layout/options_fragment">
  24. <action
  25. android:id="@+id/action_optionsFragment_to_customiseAppsFragment"
  26. app:destination="@id/customiseAppsFragment" />
  27. </fragment>
  28. <fragment
  29. android:id="@+id/customiseAppsFragment"
  30. android:name="com.sduduzog.slimlauncher.ui.options.CustomiseAppsFragment"
  31. android:label="customise_apps_fragment"
  32. tools:layout="@layout/customise_apps_fragment">
  33. <action
  34. android:id="@+id/action_customiseAppsFragment_to_addAppFragment"
  35. app:destination="@id/addAppFragment" />
  36. </fragment>
  37. <fragment
  38. android:id="@+id/addAppFragment"
  39. android:name="com.sduduzog.slimlauncher.ui.options.AddAppFragment"
  40. android:label="add_app_fragment"
  41. tools:layout="@layout/add_app_fragment" />
  42. <fragment
  43. android:id="@+id/openAppsFragment"
  44. android:name="com.sduduzog.slimlauncher.ui.options.OpenAppsFragment"
  45. android:label="open_apps_fragment"
  46. tools:layout="@layout/open_apps_fragment" />
  47. </navigation>