-
Notifications
You must be signed in to change notification settings - Fork 122
/
nav_graph.xml
91 lines (73 loc) · 3.14 KB
/
nav_graph.xml
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
<?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"
xmlns:tools="http://schemas.android.com/tools"
app:startDestination="@id/taskListFragment">
<fragment
android:id="@+id/taskListFragment"
android:name="com.escodro.alkaa.ui.task.list.TaskListFragment"
tools:layout="@layout/fragment_task_list">
<action
android:id="@id/key_action_open_preference"
app:destination="@id/preferenceFragment"
app:enterAnim="@anim/nav_default_enter_anim"
app:exitAnim="@anim/nav_default_exit_anim"
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
<action
android:id="@+id/action_detail"
app:destination="@id/taskDetailFragment"
app:enterAnim="@anim/slide_enter_anim"
app:exitAnim="@anim/slide_exit_anim"
app:popEnterAnim="@anim/slide_pop_enter_anim"
app:popExitAnim="@anim/slide_pop_exit_name" />
</fragment>
<fragment
android:id="@+id/preferenceFragment"
android:name="com.escodro.alkaa.ui.preference.PreferenceFragment"
android:label="@string/preference_title">
<action
android:id="@+id/key_action_open_about"
app:destination="@id/aboutFragment"
app:enterAnim="@anim/slide_enter_anim"
app:exitAnim="@anim/nav_default_exit_anim"
app:popEnterAnim="@anim/slide_pop_enter_anim"
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
</fragment>
<fragment
android:id="@+id/taskDetailFragment"
android:name="com.escodro.alkaa.ui.task.detail.main.TaskDetailFragment"
android:label=""
tools:layout="@layout/fragment_task_detail">
<argument
android:name="taskId"
app:argType="long" />
</fragment>
<fragment
android:id="@+id/categoryFragment"
android:name="com.escodro.alkaa.ui.category.list.CategoryListFragment"
android:label="@string/category_list_label"
tools:layout="@layout/fragment_category_list">
<action
android:id="@+id/action_new_category"
app:destination="@id/newCategoryFragment"
app:enterAnim="@anim/nav_default_enter_anim"
app:exitAnim="@anim/nav_default_exit_anim"
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
</fragment>
<fragment
android:id="@+id/newCategoryFragment"
android:name="com.escodro.alkaa.ui.category.detail.CategoryDetailFragment"
android:label=""
tools:layout="@layout/fragment_category_new">
<argument
android:name="categoryId"
app:argType="long" />
</fragment>
<fragment
android:id="@+id/aboutFragment"
android:name="com.escodro.alkaa.ui.about.AboutFragment"
android:label="@string/about_detail_title"
tools:layout="@layout/fragment_about" />
</navigation>