nav_moca.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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_moca"
  6. app:startDestination="@id/alternatingconnectionFragment"
  7. tools:ignore="ResourceName">
  8. <fragment
  9. android:id="@+id/alternatingconnectionFragment"
  10. android:name="com.yingyangfly.moca.alternatingconnection.AlternatingConnectionFragment"
  11. android:label="alternatingconnectionFragment"
  12. tools:layout="@layout/fragment_alternating_connection">
  13. <action
  14. android:id="@+id/action_alternatingconnectionFragment_to_signatureFragment"
  15. app:destination="@id/signatureFragment" />
  16. </fragment>
  17. <fragment
  18. android:id="@+id/signatureFragment"
  19. android:name="com.yingyangfly.moca.signature.SignatureFragment"
  20. android:label="signatureFragment">
  21. <action
  22. android:id="@+id/action_signatureFragment_to_alternatingconnectionFragment"
  23. app:destination="@id/alternatingconnectionFragment" />
  24. <action
  25. android:id="@+id/action_signatureFragment_to_designsChoiceFragment"
  26. app:destination="@id/designsChoiceFragment" />
  27. </fragment>
  28. <fragment
  29. android:id="@+id/designsChoiceFragment"
  30. android:name="com.yingyangfly.moca.signature.DesignsChoiceFragment"
  31. android:label="designsChoiceFragment">
  32. <action
  33. android:id="@+id/action_designsChoiceFragment_to_signatureFragment"
  34. app:destination="@id/signatureFragment" />
  35. <action
  36. android:id="@+id/action_designsChoiceFragment_to_drawDesignFragment"
  37. app:destination="@id/drawDesignFragment" />
  38. </fragment>
  39. <fragment
  40. android:id="@+id/drawDesignFragment"
  41. android:name="com.yingyangfly.moca.drawdesign.DrawDesignFragment"
  42. android:label="drawDesignFragment">
  43. <action
  44. android:id="@+id/action_drawDesignFragment_to_designsChoiceFragment"
  45. app:destination="@id/designsChoiceFragment" />
  46. <action
  47. android:id="@+id/action_drawDesignFragment_to_verifyAnswersFragment"
  48. app:destination="@id/verifyAnswersFragment" />
  49. </fragment>
  50. <fragment
  51. android:id="@+id/verifyAnswersFragment"
  52. android:name="com.yingyangfly.moca.drawdesign.VerifyAnswersFragment"
  53. android:label="verifyAnswersFragment">
  54. <action
  55. android:id="@+id/action_verifyAnswersFragment_to_drawDesignFragment"
  56. app:destination="@id/drawDesignFragment" />
  57. <action
  58. android:id="@+id/action_verifyAnswersFragment_to_identifyPictureFragment"
  59. app:destination="@id/identifyPictureFragment" />
  60. </fragment>
  61. <fragment
  62. android:id="@+id/identifyPictureFragment"
  63. android:name="com.yingyangfly.moca.identify.IdentifyPictureFragment"
  64. android:label="identifyPictureFragment">
  65. <action
  66. android:id="@+id/action_identifyPictureFragment_to_verifyAnswersFragment"
  67. app:destination="@id/verifyAnswersFragment" />
  68. <action
  69. android:id="@+id/action_identifyPictureFragment_to_identifyResultFragment"
  70. app:destination="@id/identifyResultFragment" />
  71. </fragment>
  72. <fragment
  73. android:id="@+id/identifyResultFragment"
  74. android:name="com.yingyangfly.moca.identify.IdentifyResultFragment"
  75. android:label="identifyResultFragment">
  76. <action
  77. android:id="@+id/action_identifyResultFragment_to_identifyPictureFragment"
  78. app:destination="@id/identifyPictureFragment" />
  79. <action
  80. android:id="@+id/action_identifyResultFragment_to_listenRecordFragment"
  81. app:destination="@id/listenRecordFragment" />
  82. </fragment>
  83. <fragment
  84. android:id="@+id/listenRecordFragment"
  85. android:name="com.yingyangfly.moca.record.ListenRecordFragment"
  86. android:label="listenRecordFragment">
  87. <action
  88. android:id="@+id/action_listenRecordFragment_to_identifyResultFragment"
  89. app:destination="@id/identifyResultFragment" />
  90. <action
  91. android:id="@+id/action_listenRecordFragment_to_recordResultFragment"
  92. app:destination="@id/recordResultFragment" />
  93. </fragment>
  94. <fragment
  95. android:id="@+id/recordResultFragment"
  96. android:name="com.yingyangfly.moca.record.RecordResultFragment"
  97. android:label="recordResultFragment">
  98. <action
  99. android:id="@+id/action_recordResultFragment_to_listenRecordFragment"
  100. app:destination="@id/listenRecordFragment" />
  101. <action
  102. android:id="@+id/action_recordResultFragment_to_memorizeNumbersFragment"
  103. app:destination="@id/memorizeNumbersFragment" />
  104. </fragment>
  105. <fragment
  106. android:id="@+id/memorizeNumbersFragment"
  107. android:name="com.yingyangfly.moca.memorizenumbers.MemorizeNumbersFragment"
  108. android:label="memorizeNumbersFragment">
  109. <action
  110. android:id="@+id/action_memorizeNumbersFragment_to_recordResultFragment"
  111. app:destination="@id/recordResultFragment" />
  112. <action
  113. android:id="@+id/action_memorizeNumbersFragment_to_memorizeResultFragment"
  114. app:destination="@id/memorizeResultFragment" />
  115. <action
  116. android:id="@+id/action_memorizeNumbersFragment_to_numberRecordsFragment"
  117. app:destination="@id/numberRecordsFragment" />
  118. </fragment>
  119. <fragment
  120. android:id="@+id/memorizeResultFragment"
  121. android:name="com.yingyangfly.moca.memorizenumbers.MemorizeResultFragment"
  122. android:label="memorizeResultFragment">
  123. <action
  124. android:id="@+id/action_memorizeResultFragment_to_memorizeNumbersFragment"
  125. app:destination="@id/memorizeNumbersFragment" />
  126. </fragment>
  127. <fragment
  128. android:id="@+id/numberRecordsFragment"
  129. android:name="com.yingyangfly.moca.numberrecords.NumberRecordsFragment"
  130. android:label="numberRecordsFragment">
  131. <action
  132. android:id="@+id/action_numberRecordsFragment_to_memorizeNumbersFragment"
  133. app:destination="@id/memorizeNumbersFragment" />
  134. <action
  135. android:id="@+id/action_numberRecordsFragment_to_computationFragment"
  136. app:destination="@id/computationFragment" />
  137. </fragment>
  138. <fragment
  139. android:id="@+id/computationFragment"
  140. android:name="com.yingyangfly.moca.omputation.ComputationFragment"
  141. android:label="computationFragment">
  142. <action
  143. android:id="@+id/action_computationFragment_to_numberRecordsFragment"
  144. app:destination="@id/numberRecordsFragment" />
  145. </fragment>
  146. </navigation>