cloudstream/app/src/main/res/navigation/mobile_navigation.xml

238 lines
9.3 KiB
XML
Raw Normal View History

2021-04-30 17:20:15 +00:00
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
2022-03-03 11:26:26 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/mobile_navigation"
app:startDestination="@+id/navigation_home">
2021-04-30 17:20:15 +00:00
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_results"
2021-09-20 21:11:36 +00:00
app:destination="@id/navigation_results"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
2022-03-03 11:26:26 +00:00
app:popExitAnim="@anim/exit_anim">
2021-09-20 21:11:36 +00:00
<argument
android:name="url"
2022-03-03 11:26:26 +00:00
app:argType="string" />
2021-09-20 21:11:36 +00:00
<argument
android:name="apiName"
2022-03-03 11:26:26 +00:00
app:argType="string" />
2021-09-20 21:11:36 +00:00
<argument
android:name="startAction"
app:argType="integer"
2022-03-03 11:26:26 +00:00
android:defaultValue="0" />
2021-09-20 21:11:36 +00:00
<argument
android:name="startValue"
app:argType="integer"
2022-03-03 11:26:26 +00:00
android:defaultValue="0" />
2021-09-20 21:11:36 +00:00
<argument
android:name="restart"
app:argType="boolean"
2022-03-03 11:26:26 +00:00
android:defaultValue="false" />
2021-09-20 21:11:36 +00:00
</action>
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_player"
2021-09-20 21:11:36 +00:00
app:destination="@id/navigation_player"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
2022-03-03 11:26:26 +00:00
app:popExitAnim="@anim/exit_anim">
2021-09-20 21:11:36 +00:00
<argument
android:name="data"
app:argType="string"
2022-03-03 11:26:26 +00:00
android:defaultValue="@null" />
2021-09-20 21:11:36 +00:00
<argument
android:name="uriData"
app:argType="string"
2022-03-03 11:26:26 +00:00
android:defaultValue="@null" />
2021-09-20 21:11:36 +00:00
<argument
android:name="resumePosition"
app:argType="long"
2022-03-03 11:26:26 +00:00
android:defaultValue="0L" />
2021-09-20 21:11:36 +00:00
</action>
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_home"
2021-09-20 21:11:36 +00:00
app:destination="@id/navigation_home"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
2022-03-03 11:26:26 +00:00
app:popExitAnim="@anim/exit_anim" />
2021-09-20 21:11:36 +00:00
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_subtitles"
2021-09-20 21:11:36 +00:00
app:destination="@id/navigation_subtitles"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim">
<argument
android:name="hide"
app:argType="boolean"
2022-03-03 11:26:26 +00:00
android:defaultValue="true" />
2021-09-20 21:11:36 +00:00
</action>
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_chrome_subtitles"
2022-02-12 20:20:56 +00:00
app:destination="@id/navigation_chrome_subtitles"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim">
<argument
android:name="hide"
app:argType="boolean"
2022-03-03 11:26:26 +00:00
android:defaultValue="true" />
2022-02-12 20:20:56 +00:00
</action>
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_quick_search"
2021-11-20 00:41:37 +00:00
app:destination="@id/navigation_quick_search"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim">
<argument
android:name="mainapi"
app:argType="boolean"
2022-03-03 11:26:26 +00:00
android:defaultValue="true" />
2021-11-20 00:41:37 +00:00
<argument
2022-03-03 11:26:26 +00:00
android:name="autosearch"
app:argType="string"
android:defaultValue="@null" />
2021-11-20 00:41:37 +00:00
</action>
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_settings"
2021-09-20 21:11:36 +00:00
app:destination="@id/navigation_settings"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
2022-03-03 11:26:26 +00:00
app:popExitAnim="@anim/exit_anim" />
2021-09-20 21:11:36 +00:00
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_downloads"
2021-09-20 21:11:36 +00:00
app:destination="@id/navigation_downloads"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
2022-03-03 11:26:26 +00:00
app:popExitAnim="@anim/exit_anim" />
2021-09-20 21:11:36 +00:00
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/global_to_navigation_search"
2021-09-20 21:11:36 +00:00
app:destination="@id/navigation_search"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
2022-03-03 11:26:26 +00:00
app:popExitAnim="@anim/exit_anim" />
2021-09-20 21:11:36 +00:00
<fragment
2021-04-30 17:20:15 +00:00
android:id="@+id/navigation_home"
android:name="com.lagradost.cloudstream3.ui.home.HomeFragment"
android:label="@string/title_home"
2022-03-03 11:26:26 +00:00
tools:layout="@layout/fragment_home"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim" />
2021-04-30 17:20:15 +00:00
<fragment
2021-05-12 21:51:02 +00:00
android:id="@+id/navigation_search"
android:name="com.lagradost.cloudstream3.ui.search.SearchFragment"
android:label="@string/title_search"
2022-03-03 11:26:26 +00:00
tools:layout="@layout/fragment_search"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim" />
2021-04-30 17:20:15 +00:00
<fragment
2021-07-19 13:19:47 +00:00
android:id="@+id/navigation_downloads"
2021-07-15 16:45:25 +00:00
android:name="com.lagradost.cloudstream3.ui.download.DownloadFragment"
2021-05-12 21:51:02 +00:00
android:label="@string/title_downloads"
2022-03-03 11:26:26 +00:00
tools:layout="@layout/fragment_downloads"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim">
2021-09-20 21:11:36 +00:00
2022-03-03 11:26:26 +00:00
<action
android:id="@+id/action_navigation_downloads_to_navigation_download_child"
2021-09-20 21:11:36 +00:00
app:destination="@id/navigation_download_child">
<argument
android:name="name"
2022-03-03 11:26:26 +00:00
app:argType="string" />
2021-09-20 21:11:36 +00:00
<argument
android:name="folder"
2022-03-03 11:26:26 +00:00
app:argType="string" />
2021-09-20 21:11:36 +00:00
</action>
</fragment>
2021-06-10 23:00:22 +00:00
<fragment
android:id="@+id/navigation_settings"
android:layout_height="match_parent"
android:name="com.lagradost.cloudstream3.ui.settings.SettingsFragment"
2022-03-03 11:26:26 +00:00
android:label="@string/title_settings"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim" />
2021-07-19 13:19:47 +00:00
2021-09-20 21:11:36 +00:00
<fragment
android:id="@+id/navigation_subtitles"
android:layout_height="match_parent"
android:name="com.lagradost.cloudstream3.ui.subtitles.SubtitlesFragment"
2022-03-03 11:26:26 +00:00
android:label="@string/subtitles_settings"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim" />
2021-09-20 21:11:36 +00:00
2022-02-12 20:20:56 +00:00
<fragment
android:id="@+id/navigation_chrome_subtitles"
android:layout_height="match_parent"
android:name="com.lagradost.cloudstream3.ui.subtitles.ChromecastSubtitlesFragment"
2022-03-03 11:26:26 +00:00
android:label="@string/chromecast_subtitles_settings"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim" />
2022-02-12 20:20:56 +00:00
2021-11-20 00:41:37 +00:00
<fragment
android:id="@+id/navigation_quick_search"
android:layout_height="match_parent"
android:name="com.lagradost.cloudstream3.ui.quicksearch.QuickSearchFragment"
2022-03-03 11:26:26 +00:00
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim"
android:label="@string/search" />
2021-11-20 00:41:37 +00:00
2021-07-19 13:19:47 +00:00
<fragment
android:id="@+id/navigation_download_child"
android:layout_height="match_parent"
android:name="com.lagradost.cloudstream3.ui.download.DownloadChildFragment"
2022-03-03 11:26:26 +00:00
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim"
android:label="@string/title_settings" />
2021-09-20 21:11:36 +00:00
<fragment
android:id="@+id/navigation_results"
android:layout_height="match_parent"
2022-03-03 11:26:26 +00:00
android:name="com.lagradost.cloudstream3.ui.result.ResultFragment"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim" />
2021-09-20 21:11:36 +00:00
<fragment
android:id="@+id/navigation_player"
android:layout_height="match_parent"
2022-03-03 11:26:26 +00:00
android:name="com.lagradost.cloudstream3.ui.player.GeneratorPlayer"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim" />
2021-04-30 17:20:15 +00:00
</navigation>