nav_graph.xml 2.1 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. </fragment>
  16. <fragment
  17. android:id="@+id/optionsFragment"
  18. android:name="com.sduduzog.slimlauncher.ui.options.OptionsFragment"
  19. android:label="options_fragment"
  20. tools:layout="@layout/options_fragment">
  21. <action
  22. android:id="@+id/action_optionsFragment_to_customiseAppsFragment"
  23. app:destination="@id/customiseAppsFragment" />
  24. <action
  25. android:id="@+id/action_optionsFragment_to_customiseQuickButtonsFragment"
  26. app:destination="@id/customiseQuickButtonsFragment" />
  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/customiseQuickButtonsFragment"
  44. android:name="com.sduduzog.slimlauncher.ui.options.CustomizeQuickButtonsFragment"
  45. android:label="customise_quick_buttons_fragment"
  46. tools:layout="@layout/customize_quick_buttons_fragment" />
  47. </navigation>