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

211 lines
7.5 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"
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
2021-09-20 21:11:36 +00:00
<action android:id="@+id/global_to_navigation_results"
app:destination="@id/navigation_results"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim"
>
<argument
android:name="url"
app:argType="string"/>
<argument
android:name="apiName"
app:argType="string"
/>
<argument
android:name="startAction"
app:argType="integer"
android:defaultValue="0"
/>
<argument
android:name="startValue"
app:argType="integer"
android:defaultValue="0"
/>
<argument
android:name="restart"
app:argType="boolean"
android:defaultValue="false"
/>
</action>
<action android:id="@+id/global_to_navigation_player"
app:destination="@id/navigation_player"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim"
>
<argument
android:name="data"
app:argType="string"
android:defaultValue="@null"
/>
<argument
android:name="uriData"
app:argType="string"
android:defaultValue="@null"
/>
<argument
android:name="resumePosition"
app:argType="long"
android:defaultValue="0L"
/>
</action>
<action android:id="@+id/global_to_navigation_home"
app:destination="@id/navigation_home"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim"
>
</action>
<action android:id="@+id/global_to_navigation_subtitles"
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"
android:defaultValue="true"
/>
</action>
2022-02-12 20:20:56 +00:00
<action android:id="@+id/global_to_navigation_chrome_subtitles"
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"
android:defaultValue="true"
/>
</action>
2021-11-20 00:41:37 +00:00
<action android:id="@+id/global_to_navigation_quick_search"
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"
android:defaultValue="true"
/>
<argument
android:name="autosearch"
app:argType="string"
android:defaultValue="@null"
/>
</action>
2021-09-20 21:11:36 +00:00
<action android:id="@+id/global_to_navigation_settings"
app:destination="@id/navigation_settings"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim"
>
</action>
<action android:id="@+id/global_to_navigation_downloads"
app:destination="@id/navigation_downloads"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim"
>
</action>
<action android:id="@+id/global_to_navigation_search"
app:destination="@id/navigation_search"
app:enterAnim="@anim/enter_anim"
app:exitAnim="@anim/exit_anim"
app:popEnterAnim="@anim/enter_anim"
app:popExitAnim="@anim/exit_anim"
>
</action>
<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"
tools:layout="@layout/fragment_home"/>
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"
tools:layout="@layout/fragment_search"/>
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"
2021-09-20 21:11:36 +00:00
tools:layout="@layout/fragment_downloads">
<action android:id="@+id/action_navigation_downloads_to_navigation_download_child"
app:destination="@id/navigation_download_child">
<argument
android:name="name"
app:argType="string"/>
<argument
android:name="folder"
app:argType="string"
/>
</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"
android:label="@string/title_settings"/>
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"
android:label="@string/subtitles_settings"/>
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"
android:label="@string/chromecast_subtitles_settings"/>
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"
android:label="@string/search"/>
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"
android:label="@string/title_settings"/>
2021-09-20 21:11:36 +00:00
<fragment
android:id="@+id/navigation_results"
android:layout_height="match_parent"
android:name="com.lagradost.cloudstream3.ui.result.ResultFragment"/>
<fragment
android:id="@+id/navigation_player"
android:layout_height="match_parent"
2022-01-07 19:27:25 +00:00
android:name="com.lagradost.cloudstream3.ui.player.GeneratorPlayer"/>
2021-04-30 17:20:15 +00:00
</navigation>