2019-01-15 02:42:58 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-01-30 21:02:11 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/nav_graph"
|
|
|
|
app:startDestination="@id/homeFragment">
|
2019-01-15 02:42:58 +01:00
|
|
|
|
2019-02-06 00:37:46 +01:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_browser"
|
2019-03-19 03:52:17 +01:00
|
|
|
app:destination="@id/browserFragment"
|
|
|
|
app:popUpTo="@id/nav_graph"
|
|
|
|
app:popUpToInclusive="true" />
|
2019-02-06 00:37:46 +01:00
|
|
|
|
2019-03-20 18:47:22 +01:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_crash_reporter"
|
|
|
|
app:destination="@id/crashReporterFragment" />
|
|
|
|
|
2019-01-30 21:02:11 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/homeFragment"
|
|
|
|
android:name="org.mozilla.fenix.home.HomeFragment"
|
|
|
|
android:label="fragment_home"
|
|
|
|
tools:layout="@layout/fragment_home">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_homeFragment_to_searchFragment"
|
|
|
|
app:destination="@id/searchFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_homeFragment_to_browserFragment"
|
|
|
|
app:destination="@id/browserFragment" />
|
|
|
|
<action
|
2019-02-08 00:37:52 +01:00
|
|
|
android:id="@+id/action_homeFragment_to_libraryFragment"
|
|
|
|
app:destination="@id/libraryFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_homeFragment_to_settingsFragment"
|
|
|
|
app:destination="@id/settingsFragment" />
|
2019-01-15 02:42:58 +01:00
|
|
|
</fragment>
|
2019-01-24 21:10:16 +01:00
|
|
|
|
2019-01-30 21:02:11 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/searchFragment"
|
|
|
|
android:name="org.mozilla.fenix.search.SearchFragment"
|
|
|
|
android:label="fragment_search"
|
|
|
|
tools:layout="@layout/fragment_search">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_searchFragment_to_browserFragment"
|
|
|
|
app:destination="@id/browserFragment"
|
|
|
|
app:popUpTo="@id/homeFragment" />
|
2019-02-08 19:35:48 +01:00
|
|
|
<argument android:name="session_id" app:argType="string" app:nullable="true"/>
|
2019-03-29 21:49:50 +01:00
|
|
|
<action android:id="@+id/action_searchFragment_to_searchEngineFragment"
|
|
|
|
app:destination="@id/searchEngineFragment" app:popUpTo="@+id/searchFragment"/>
|
2019-01-15 02:42:58 +01:00
|
|
|
</fragment>
|
2019-01-24 21:10:16 +01:00
|
|
|
|
2019-03-27 17:18:37 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/SitePermissionsManagePhoneFeature"
|
|
|
|
android:name="org.mozilla.fenix.settings.SitePermissionsManagePhoneFeature"
|
|
|
|
tools:layout="@layout/fragment_manage_site_permissions_feature_phone">
|
|
|
|
<argument
|
|
|
|
android:name="permission"
|
|
|
|
app:argType="integer"/>
|
|
|
|
</fragment>
|
|
|
|
|
2019-01-30 21:02:11 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/browserFragment"
|
|
|
|
android:name="org.mozilla.fenix.browser.BrowserFragment"
|
|
|
|
tools:layout="@layout/fragment_browser">
|
2019-01-23 23:48:15 +01:00
|
|
|
<action
|
2019-02-08 00:37:52 +01:00
|
|
|
android:id="@+id/action_browserFragment_to_homeFragment"
|
2019-03-14 22:58:49 +01:00
|
|
|
app:destination="@id/homeFragment"
|
2019-03-19 03:52:17 +01:00
|
|
|
app:popUpTo="@+id/nav_graph"
|
2019-03-14 22:58:49 +01:00
|
|
|
app:popUpToInclusive="true" />
|
2019-01-23 23:48:15 +01:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_searchFragment"
|
|
|
|
app:destination="@id/searchFragment" />
|
2019-02-08 00:37:52 +01:00
|
|
|
<argument
|
|
|
|
android:name="session_id"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_settingsFragment"
|
|
|
|
app:destination="@id/settingsFragment" />
|
2019-02-07 23:50:55 +01:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_libraryFragment"
|
|
|
|
app:destination="@id/libraryFragment" />
|
2019-04-04 22:40:39 +02:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_bookmarkEditFragment"
|
|
|
|
app:destination="@id/bookmarkEditFragment" />
|
2019-01-23 23:48:15 +01:00
|
|
|
</fragment>
|
2019-02-09 00:33:50 +01:00
|
|
|
|
2019-02-08 00:37:52 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/libraryFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.LibraryFragment"
|
|
|
|
android:label="@string/library_title"
|
2019-02-09 00:33:50 +01:00
|
|
|
tools:layout="@layout/fragment_library">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_libraryFragment_to_historyFragment"
|
|
|
|
app:destination="@+id/historyFragment" />
|
2019-03-21 20:41:41 +01:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_libraryFragment_to_bookmarksFragment"
|
|
|
|
app:destination="@+id/bookmarkFragment" />
|
2019-02-09 00:33:50 +01:00
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/historyFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.history.HistoryFragment"
|
|
|
|
android:label="@string/library_history"
|
2019-04-05 22:11:05 +02:00
|
|
|
tools:layout="@layout/fragment_history" >
|
|
|
|
<action android:id="@+id/action_historyFragment_to_browserFragment" app:destination="@id/browserFragment"/>
|
|
|
|
</fragment>
|
2019-02-09 00:33:50 +01:00
|
|
|
|
2019-03-21 20:41:41 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/bookmarkFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.bookmarks.BookmarkFragment"
|
|
|
|
android:label="@string/library_bookmarks"
|
|
|
|
tools:layout="@layout/fragment_bookmark">
|
|
|
|
<argument
|
|
|
|
android:name="currentRoot"
|
|
|
|
app:argType="string" />
|
|
|
|
<action android:id="@+id/action_bookmarkFragment_to_browserFragment"
|
|
|
|
app:destination="@id/browserFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkFragment_self"
|
|
|
|
app:destination="@id/bookmarkFragment" />
|
2019-04-04 22:40:39 +02:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkFragment_to_bookmarkEditFragment"
|
|
|
|
app:destination="@id/bookmarkEditFragment" />
|
2019-04-11 06:30:15 +02:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkFragment_to_homeFragment"
|
|
|
|
app:destination="@id/homeFragment" />
|
2019-04-04 22:40:39 +02:00
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/bookmarkEditFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.bookmarks.edit.EditBookmarkFragment"
|
|
|
|
android:label="@string/edit_bookmark_fragment_title"
|
|
|
|
tools:layout="@layout/fragment_edit_bookmark">
|
|
|
|
<argument
|
|
|
|
android:name="guidToEdit"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false"/>
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkEditFragment_to_bookmarkSelectFolderFragment"
|
|
|
|
app:destination="@id/bookmarkSelectFolderFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/bookmarkSelectFolderFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.bookmarks.selectfolder.SelectBookmarkFolderFragment"
|
|
|
|
android:label="@string/bookmark_select_folder_fragment_label"
|
|
|
|
tools:layout="@layout/fragment_select_bookmark_folder">
|
|
|
|
<argument
|
|
|
|
android:name="folderGuid"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true"/>
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkSelectFolderFragment_self"
|
|
|
|
app:destination="@id/bookmarkSelectFolderFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkSelectFolderFragment_to_bookmarkAddFolderFragment"
|
|
|
|
app:destination="@id/bookmarkAddFolderFragment" />
|
|
|
|
<argument
|
|
|
|
android:name="visitedAddBookmark"
|
|
|
|
app:argType="boolean"
|
|
|
|
android:defaultValue="false" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkSelectFolderFragment_to_browserFragment"
|
|
|
|
app:destination="@id/browserFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/bookmarkAddFolderFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.bookmarks.addfolder.AddBookmarkFolderFragment"
|
|
|
|
android:label="@string/bookmark_add_folder_fragment_label">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkAddFolderFragment_to_bookmarkSelectFolderFragment"
|
|
|
|
app:destination="@id/bookmarkSelectFolderFragment" />
|
2019-03-21 20:41:41 +01:00
|
|
|
</fragment>
|
2019-02-09 00:33:50 +01:00
|
|
|
|
2019-02-08 00:37:52 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/settingsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.SettingsFragment"
|
2019-02-25 23:05:19 +01:00
|
|
|
android:label="@string/settings_title" >
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_browserFragment"
|
|
|
|
app:destination="@id/browserFragment"
|
|
|
|
app:popUpTo="@+id/settingsFragment" />
|
|
|
|
<action android:id="@+id/action_settingsFragment_to_dataChoicesFragment"
|
|
|
|
app:destination="@id/dataChoicesFragment" app:popUpTo="@+id/settingsFragment"/>
|
|
|
|
<action android:id="@+id/action_settingsFragment_to_sitePermissionsFragment"
|
|
|
|
app:destination="@id/sitePermissionsFragment"/>
|
|
|
|
<action android:id="@+id/action_settingsFragment_to_accessibilityFragment"
|
|
|
|
app:destination="@id/accessibilityFragment"/>
|
2019-02-28 21:23:44 +01:00
|
|
|
<action android:id="@+id/action_settingsFragment_to_accountSettingsFragment"
|
|
|
|
app:destination="@id/accountSettingsFragment"/>
|
2019-03-06 20:39:38 +01:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_searchEngineFragment"
|
|
|
|
app:destination="@id/searchEngineFragment" />
|
2019-03-27 03:54:28 +01:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_aboutFragment"
|
|
|
|
app:destination="@id/aboutFragment" />
|
2019-04-02 02:53:37 +02:00
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_themeFragment"
|
|
|
|
app:destination="@id/themeFragment" />
|
2019-02-25 23:05:19 +01:00
|
|
|
</fragment>
|
|
|
|
<fragment android:id="@+id/dataChoicesFragment" android:name="org.mozilla.fenix.settings.DataChoicesFragment"
|
|
|
|
android:label="DataChoicesFragment"/>
|
2019-03-27 17:18:37 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/sitePermissionsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.SitePermissionsFragment"
|
|
|
|
android:label="@string/preferences_site_permissions">
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_site_permissions_to_manage_phone_features"
|
|
|
|
app:destination="@id/SitePermissionsManagePhoneFeature"
|
|
|
|
app:popUpTo="@id/sitePermissionsFragment"/>
|
|
|
|
</fragment>
|
|
|
|
|
2019-02-25 23:05:19 +01:00
|
|
|
<fragment android:id="@+id/accessibilityFragment" android:name="org.mozilla.fenix.settings.AccessibilityFragment"
|
|
|
|
android:label="AccessibilityFragment"/>
|
2019-02-28 21:23:44 +01:00
|
|
|
<fragment android:id="@+id/accountSettingsFragment" android:name="org.mozilla.fenix.settings.AccountSettingsFragment"
|
|
|
|
android:label="AccountSettingsFragment"/>
|
2019-03-06 20:39:38 +01:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/searchEngineFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.SearchEngineFragment"
|
|
|
|
android:label="SearchEngineFragment" />
|
2019-03-27 03:54:28 +01:00
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/aboutFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.AboutFragment"
|
|
|
|
android:label="AboutFragment" />
|
2019-03-20 18:47:22 +01:00
|
|
|
<fragment android:id="@+id/crashReporterFragment" android:name="org.mozilla.fenix.crashes.CrashReporterFragment"
|
|
|
|
android:label="CrashReporterFragment">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_crashReporterFragment_to_browserFragment"
|
|
|
|
app:destination="@id/browserFragment"
|
|
|
|
app:popUpTo="@id/homeFragment">
|
|
|
|
<argument android:name="session_id" app:argType="string" app:nullable="true"/>
|
|
|
|
</action>
|
|
|
|
<action android:id="@+id/action_crashReporterFragment_to_homeFragment" app:destination="@id/homeFragment"/>
|
|
|
|
<argument android:name="crashIntent" app:argType="android.content.Intent"/>
|
|
|
|
</fragment>
|
2019-04-02 02:53:37 +02:00
|
|
|
<fragment
|
|
|
|
android:id="@+id/themeFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.ThemeFragment"
|
|
|
|
android:label="ThemeFragment" />
|
2019-01-15 02:42:58 +01:00
|
|
|
</navigation>
|