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+
8+ <fragment
9+ android : id =" @+id/homeFragment"
10+ android : name =" app.callgate.android.ui.HomeFragment"
11+ android : label =" Home"
12+ tools : layout =" @layout/fragment_home" >
13+
14+ <action
15+ android : id =" @+id/action_home_to_settings"
16+ app : destination =" @id/settingsFragment"
17+ app : enterAnim =" @android:anim/fade_in"
18+ app : exitAnim =" @android:anim/fade_out" />
19+ </fragment >
20+
21+ <fragment
22+ android : id =" @+id/settingsFragment"
23+ android : name =" app.callgate.android.ui.settings.SettingsFragment"
24+ android : label =" Settings" >
25+
26+ <action
27+ android : id =" @+id/action_settings_to_server_settings"
28+ app : destination =" @id/serverSettingFragment" />
29+
30+ <action
31+ android : id =" @+id/action_settings_to_webhooks_settings"
32+ app : destination =" @id/webhooksSettingsFragment" />
33+ </fragment >
34+
35+ <fragment
36+ android : id =" @+id/serverSettingFragment"
37+ android : name =" app.callgate.android.ui.settings.ServerSettingsFragment"
38+ android : label =" Server Settings" />
39+
40+ <fragment
41+ android : id =" @+id/webhooksSettingsFragment"
42+ android : name =" app.callgate.android.ui.settings.WebhooksSettingsFragment"
43+ android : label =" Webhooks Settings" />
44+ </navigation >
0 commit comments