ytdlnis/app/src/main/res/navigation/nav_graph.xml
2024-07-01 20:20:58 +02:00

207 lines
No EOL
9.9 KiB
XML

<?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/homeFragment">
<action
android:id="@+id/action_mainSettingsFragment_to_folderSettingsFragment"
app:destination="@id/settingsNav" />
<action
android:id="@+id/action_mainSettingsFragment_to_updateSettingsFragment"
app:destination="@id/settingsNav" />
<action
android:id="@+id/action_mainSettingsFragment_to_processingSettingsFragment"
app:destination="@id/settingsNav" />
<action
android:id="@+id/action_mainSettingsFragment_to_appearanceSettingsFragment"
app:destination="@id/settingsNav" />
<action
android:id="@+id/action_mainSettingsFragment_to_downloadSettingsFragment"
app:destination="@id/settingsNav" />
<fragment
android:id="@+id/homeFragment"
android:name="com.deniscerri.ytdl.ui.HomeFragment"
android:label="@string/app_name"
tools:layout="@layout/fragment_home" >
<action
android:id="@+id/action_homeFragment_to_resultCardDetailsDialog"
app:destination="@id/resultCardDetailsDialog" />
<action
android:id="@+id/action_homeFragment_to_downloadBottomSheetDialog"
app:destination="@id/downloadBottomSheetDialog" />
<action
android:id="@+id/action_homeFragment_to_downloadMultipleBottomSheetDialog2"
app:destination="@id/downloadMultipleBottomSheetDialog2" />
<action
android:id="@+id/action_homeFragment_to_downloadsAlreadyExistDialog"
app:destination="@id/downloadsAlreadyExistDialog" />
<action
android:id="@+id/action_homeFragment_to_terminalActivity"
app:destination="@id/terminalActivity" />
</fragment>
<fragment
android:id="@+id/historyFragment"
android:name="com.deniscerri.ytdl.ui.downloads.HistoryFragment"
android:label="@string/downloads"
tools:layout="@layout/fragment_history" >
<action
android:id="@+id/action_historyFragment_to_downloadQueueMainFragment"
app:destination="@id/downloadQueueMainFragment" />
<action
android:id="@+id/action_historyFragment_to_downloadsAlreadyExistDialog"
app:destination="@id/downloadsAlreadyExistDialog" />
</fragment>
<fragment
android:id="@+id/moreFragment"
android:name="com.deniscerri.ytdl.ui.more.MoreFragment"
android:label="More"
tools:layout="@layout/fragment_more" >
<action
android:id="@+id/action_moreFragment_to_settingsActivity2"
app:destination="@id/activitySettings" />
<action
android:id="@+id/action_moreFragment_to_cookiesFragment"
app:destination="@id/cookiesFragment" />
<action
android:id="@+id/action_moreFragment_to_commandTemplatesFragment"
app:destination="@id/commandTemplatesFragment" />
<action
android:id="@+id/action_moreFragment_to_downloadQueueMainFragment"
app:destination="@id/downloadQueueMainFragment" />
<action
android:id="@+id/action_moreFragment_to_downloadLogListFragment2"
app:destination="@id/downloadLogListFragment" />
<action
android:id="@+id/action_moreFragment_to_settingsNav"
app:destination="@id/settingsNav" />
<action
android:id="@+id/action_moreFragment_to_terminalActivity"
app:destination="@id/terminalActivity" />
<action
android:id="@+id/action_moreFragment_to_observeSourcesFragment"
app:destination="@id/observeSourcesFragment" />
</fragment>
<activity
android:id="@+id/terminalActivity"
android:name="com.deniscerri.ytdl.ui.more.terminal.TerminalActivity"
android:label="activity_terminal"
tools:layout="@layout/fragment_terminal" />
<fragment
android:id="@+id/cookiesFragment"
android:name="com.deniscerri.ytdl.ui.more.CookiesFragment"
tools:layout="@layout/fragment_cookies"
android:label="CookiesFragment" />
<fragment
android:id="@+id/commandTemplatesFragment"
android:name="com.deniscerri.ytdl.ui.more.CommandTemplatesFragment"
tools:layout="@layout/fragment_command_templates"
android:label="CommandTemplatesFragment" />
<fragment
android:id="@+id/downloadQueueMainFragment"
android:name="com.deniscerri.ytdl.ui.downloads.DownloadQueueMainFragment"
tools:layout="@layout/fragment_download_queue_main_screen"
android:label="DownloadQueueMainFragment" >
<action
android:id="@+id/action_downloadQueueMainFragment_to_downloadLogFragment"
app:destination="@id/downloadLogFragment" />
</fragment>
<fragment
android:id="@+id/downloadLogListFragment"
android:name="com.deniscerri.ytdl.ui.more.downloadLogs.DownloadLogListFragment"
android:label="DownloadLogListFragment" >
<action
android:id="@+id/action_downloadLogListFragment2_to_downloadLogFragment2"
app:destination="@id/downloadLogFragment" />
</fragment>
<fragment
android:id="@+id/downloadLogFragment"
android:name="com.deniscerri.ytdl.ui.more.downloadLogs.DownloadLogFragment"
android:label="DownloadLogFragment" />
<dialog
android:id="@+id/resultCardDetailsDialog"
android:name="com.deniscerri.ytdl.ui.downloadcard.ResultCardDetailsDialog"
android:label="ResultCardDetailsDialog" />
<navigation android:id="@+id/settingsNav">
<fragment
android:id="@+id/folderSettingsFragment"
android:name="com.deniscerri.ytdl.ui.more.settings.FolderSettingsFragment"
android:label="FolderSettingsFragment" />
<fragment
android:id="@+id/processingSettingsFragment"
android:name="com.deniscerri.ytdl.ui.more.settings.ProcessingSettingsFragment"
android:label="ProcessingSettingsFragment" />
<fragment
android:id="@+id/downloadSettingsFragment"
android:name="com.deniscerri.ytdl.ui.more.settings.DownloadSettingsFragment"
android:label="DownloadSettingsFragment" />
<fragment
android:id="@+id/updateSettingsFragment"
android:name="com.deniscerri.ytdl.ui.more.settings.UpdateSettingsFragment"
android:label="UpdateSettingsFragment" />
<fragment
android:id="@+id/mainSettingsFragment"
android:name="com.deniscerri.ytdl.ui.more.settings.MainSettingsFragment"
android:label="MainSettingsFragment">
<action
android:id="@+id/action_mainSettingsFragment_to_appearanceSettingsFragment"
app:destination="@id/appearanceSettingsFragment" />
<action
android:id="@+id/action_mainSettingsFragment_to_folderSettingsFragment"
app:destination="@id/folderSettingsFragment" />
<action
android:id="@+id/action_mainSettingsFragment_to_downloadSettingsFragment"
app:destination="@id/downloadSettingsFragment" />
<action
android:id="@+id/action_mainSettingsFragment_to_processingSettingsFragment"
app:destination="@id/processingSettingsFragment" />
<action
android:id="@+id/action_mainSettingsFragment_to_updateSettingsFragment"
app:destination="@id/updateSettingsFragment" />
</fragment>
<fragment
android:id="@+id/appearanceSettingsFragment"
android:name="com.deniscerri.ytdl.ui.more.settings.GeneralSettingsFragment"
android:label="AppearanceSettingsFragment" />
</navigation>
<dialog
android:id="@+id/downloadBottomSheetDialog"
android:name="com.deniscerri.ytdl.ui.downloadcard.DownloadBottomSheetDialog"
android:label="DownloadBottomSheetDialog" >
<action
android:id="@+id/action_downloadBottomSheetDialog_to_cutVideoBottomSheetDialog"
app:destination="@id/cutVideoBottomSheetDialog" />
</dialog>
<dialog
android:id="@+id/downloadMultipleBottomSheetDialog2"
android:name="com.deniscerri.ytdl.ui.downloadcard.DownloadMultipleBottomSheetDialog"
android:label="DownloadMultipleBottomSheetDialog" >
<action
android:id="@+id/action_downloadMultipleBottomSheetDialog2_to_configureDownloadBottomSheetDialog"
app:destination="@id/configureDownloadBottomSheetDialog" />
</dialog>
<dialog
android:id="@+id/cutVideoBottomSheetDialog"
android:name="com.deniscerri.ytdl.ui.downloadcard.CutVideoBottomSheetDialog"
android:label="CutVideoBottomSheetDialog" />
<dialog
android:id="@+id/configureDownloadBottomSheetDialog"
android:name="com.deniscerri.ytdl.ui.downloadcard.ConfigureDownloadBottomSheetDialog"
android:label="ConfigureDownloadBottomSheetDialog" />
<fragment
android:id="@+id/observeSourcesFragment"
android:name="com.deniscerri.ytdl.ui.more.ObserveSourcesFragment"
android:label="ObserveSourcesFragment" >
<action
android:id="@+id/action_observeSourcesFragment_to_observeSourcesBottomSheetDialog"
app:destination="@id/observeSourcesBottomSheetDialog" />
</fragment>
<dialog
android:id="@+id/observeSourcesBottomSheetDialog"
android:name="com.deniscerri.ytdl.ui.downloadcard.ObserveSourcesBottomSheetDialog"
android:label="ObserveSourcesBottomSheetDialog" />
<dialog
android:id="@+id/downloadsAlreadyExistDialog"
android:name="com.deniscerri.ytdl.ui.downloadcard.DownloadsAlreadyExistDialog"
android:label="DownloadsAlreadyExistDialog" />
</navigation>