Files
APKDownloader/app/src/main/res/navigation/mobile_navigation.xml
2025-12-08 13:50:51 +08:00

244 lines
10 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!--
~ Aurora Store
~ Copyright (C) 2021, Rahul Kumar Patel <whyorean@gmail.com>
~
~ Aurora Store is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 2 of the License, or
~ (at your option) any later version.
~
~ Aurora Store is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with Aurora Store. If not, see <http://www.gnu.org/licenses/>.
~
-->
<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/splashFragment">
<action
android:id="@+id/action_global_categoryBrowseFragment"
app:destination="@id/categoryBrowseFragment" />
<action
android:id="@+id/action_global_expandedStreamBrowseFragment"
app:destination="@id/expandedStreamBrowseFragment" />
<action
android:id="@+id/action_global_devProfileFragment"
app:destination="@id/devProfileFragment" />
<action
android:id="@+id/action_global_streamBrowseFragment"
app:destination="@id/streamBrowseFragment" />
<action
android:id="@+id/action_global_appMenuSheet"
app:destination="@id/appMenuSheet" />
<action
android:id="@+id/action_global_moreDialogFragment"
app:destination="@id/moreDialogFragment" />
<fragment
android:id="@+id/appsContainerFragment"
android:name="com.aurora.store.view.ui.apps.AppsContainerFragment"
android:label="@string/title_apps"
tools:layout="@layout/fragment_apps_games" />
<fragment
android:id="@+id/gamesContainerFragment"
android:name="com.aurora.store.view.ui.games.GamesContainerFragment"
android:label="@string/title_games"
tools:layout="@layout/fragment_apps_games" />
<fragment
android:id="@+id/updatesFragment"
android:name="com.aurora.store.view.ui.updates.UpdatesFragment"
android:label="@string/title_updates"
tools:layout="@layout/fragment_updates" />
<fragment
android:id="@+id/appsGamesFragment"
android:name="com.aurora.store.view.ui.all.AppsGamesFragment"
android:label="@string/title_apps_games"
tools:layout="@layout/fragment_generic_with_search" />
<fragment
android:id="@+id/settingsFragment"
android:name="com.aurora.store.view.ui.preferences.SettingsFragment"
android:label="@string/title_settings"
tools:layout="@layout/fragment_setting" />
<fragment
android:id="@+id/installationPreference"
android:name="com.aurora.store.view.ui.preferences.installation.InstallationPreference"
android:label="InstallationPreference"
tools:layout="@layout/fragment_setting" />
<fragment
android:id="@+id/networkPreference"
android:name="com.aurora.store.view.ui.preferences.network.NetworkPreference"
android:label="NetworkPreference"
tools:layout="@layout/fragment_setting" />
<fragment
android:id="@+id/UIPreference"
android:name="com.aurora.store.view.ui.preferences.UIPreference"
android:label="UIPreference"
tools:layout="@layout/fragment_setting" />
<fragment
android:id="@+id/updatesPreference"
android:name="com.aurora.store.view.ui.preferences.updates.UpdatesPreference"
android:label="UpdatesPreference"
tools:layout="@layout/fragment_setting" />
<fragment
android:id="@+id/categoryBrowseFragment"
android:name="com.aurora.store.view.ui.commons.CategoryBrowseFragment"
tools:layout="@layout/fragment_generic_with_toolbar">
<argument
android:name="title"
app:argType="string" />
<argument
android:name="browseUrl"
app:argType="string" />
</fragment>
<fragment
android:id="@+id/expandedStreamBrowseFragment"
android:name="com.aurora.store.view.ui.commons.ExpandedStreamBrowseFragment"
tools:layout="@layout/fragment_generic_with_toolbar">
<argument
android:name="title"
app:argType="string" />
<argument
android:name="expandedStreamUrl"
app:argType="string" />
</fragment>
<fragment
android:id="@+id/devProfileFragment"
android:name="com.aurora.store.view.ui.details.DevProfileFragment"
android:label="fragment_dev_profile"
tools:layout="@layout/fragment_dev_profile">
<argument
android:name="devId"
app:argType="string" />
<argument
android:name="title"
android:defaultValue=""
app:argType="string"
app:nullable="true" />
<deepLink
app:action="android.intent.action.VIEW"
app:uri="play.google.com/store/apps/dev?id={devId}" />
</fragment>
<fragment
android:id="@+id/streamBrowseFragment"
android:name="com.aurora.store.view.ui.commons.StreamBrowseFragment"
tools:layout="@layout/fragment_generic_with_toolbar">
<argument
android:name="cluster"
app:argType="com.aurora.gplayapi.data.models.StreamCluster" />
</fragment>
<fragment
android:id="@+id/splashFragment"
android:name="com.aurora.store.view.ui.splash.SplashFragment"
tools:layout="@layout/fragment_splash">
<argument
android:name="packageName"
android:defaultValue=""
app:argType="string" />
<!-- Android Market (deprecated) -->
<deepLink
app:action="android.intent.action.VIEW"
app:uri="market:///details?id={packageName}" />
<deepLink
app:action="android.intent.action.VIEW"
app:uri="market.android.com/details?id={packageName}" />
<!-- Google Play (formerly Android Market) -->
<deepLink
app:action="android.intent.action.VIEW"
app:uri="play.google.com/store/apps/details?id={packageName}" />
<deepLink
app:action="android.intent.action.VIEW"
app:uri="play.google.com/store/search?q={query}" />
<action
android:id="@+id/action_splashFragment_to_navigation_apps"
app:destination="@id/appsContainerFragment"
app:launchSingleTop="true"
app:popUpTo="@id/mobile_navigation"
app:popUpToInclusive="true" />
<action
android:id="@+id/action_splashFragment_to_gamesContainerFragment"
app:destination="@id/gamesContainerFragment"
app:launchSingleTop="true"
app:popUpTo="@id/mobile_navigation"
app:popUpToInclusive="true" />
<action
android:id="@+id/action_splashFragment_to_updatesFragment"
app:destination="@id/updatesFragment"
app:launchSingleTop="true"
app:popUpTo="@id/mobile_navigation"
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/googleFragment"
android:name="com.aurora.store.view.ui.account.GoogleFragment"
tools:layout="@layout/fragment_google">
<action
android:id="@+id/action_googleFragment_to_splashFragment"
app:destination="@id/splashFragment"
app:popUpTo="@id/splashFragment"
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/installerFragment"
android:name="com.aurora.store.view.ui.preferences.installation.InstallerFragment"
android:label="InstallerFragment"
tools:layout="@layout/fragment_installer" />
<fragment
android:id="@+id/dispenserFragment"
android:name="com.aurora.store.view.ui.dispenser.DispenserFragment"
android:label="DispenserFragment"
tools:layout="@layout/fragment_dispenser">
<action
android:id="@+id/action_dispenserFragment_to_removeDispenserDialog"
app:destination="@id/removeDispenserDialog" />
</fragment>
<dialog
android:id="@+id/appMenuSheet"
android:name="com.aurora.store.view.ui.sheets.AppMenuSheet"
android:label="AppMenuSheet"
tools:layout="@layout/sheet_app_menu">
<argument
android:name="app"
app:argType="com.aurora.store.data.model.MinimalApp" />
</dialog>
<dialog
android:id="@+id/deviceMiuiSheet"
android:name="com.aurora.store.view.ui.sheets.DeviceMiuiSheet"
android:label="DeviceMiuiSheet"
tools:layout="@layout/sheet_device_miui" />
<dialog
android:id="@+id/moreDialogFragment"
android:name="com.aurora.store.view.ui.commons.MoreDialogFragment"
android:label="MoreDialogFragment" />
<dialog
android:id="@+id/inputDispenserDialog"
android:name="com.aurora.store.view.ui.dispenser.InputDispenserDialog"
android:label="@string/add_dispenser_title" />
<dialog
android:id="@+id/removeDispenserDialog"
android:name="com.aurora.store.view.ui.dispenser.RemoveDispenserDialog"
android:label="@string/remove_dispenser_title">
<argument
android:name="url"
app:argType="string" />
</dialog>
<dialog
android:id="@+id/proxyURLDialog"
android:name="com.aurora.store.view.ui.preferences.network.ProxyURLDialog"
android:label="@string/pref_network_proxy_url" />
<dialog
android:id="@+id/forceRestartDialog"
android:name="com.aurora.store.view.ui.commons.ForceRestartDialog"
android:label="@string/force_restart_title" />
<dialog
android:id="@+id/updatesRestrictionsDialog"
android:name="com.aurora.store.view.ui.preferences.updates.UpdatesRestrictionsDialog"
android:label="@string/pref_updates_restrictions_title" />
</navigation>