522 lines
18 KiB
XML
522 lines
18 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright 2022 Dash Core Group.
|
|
~
|
|
~ This program 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 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program 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 this program. 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/nav_home"
|
|
app:startDestination="@id/walletFragment">
|
|
|
|
<fragment
|
|
android:id="@+id/walletFragment"
|
|
android:name="de.schildbach.wallet.ui.main.WalletFragment"
|
|
android:label="Home"
|
|
tools:layout="@layout/home_content">
|
|
|
|
<argument
|
|
android:name="ShowNavBar"
|
|
android:defaultValue="true" />
|
|
|
|
<action
|
|
android:id="@+id/home_to_buySell"
|
|
app:destination="@id/buySellFragment"
|
|
app:enterAnim="@anim/slide_in_bottom"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/home_to_contacts"
|
|
app:destination="@id/contactsFragment" />
|
|
|
|
<action
|
|
android:id="@+id/home_to_notifications"
|
|
app:destination="@id/showNotificationsFragment">
|
|
|
|
<argument
|
|
android:name="mode"
|
|
android:defaultValue="2" />
|
|
</action>
|
|
|
|
<action
|
|
android:id="@+id/home_to_transaction_metadata_settings"
|
|
app:destination="@id/transaction_metadata_info_dialog" >
|
|
|
|
<argument
|
|
android:name="first_time"
|
|
android:defaultValue="true" />
|
|
<argument
|
|
android:name="use_navigation"
|
|
android:defaultValue="true" />
|
|
</action>
|
|
|
|
<action
|
|
android:id="@+id/home_to_addressInput"
|
|
app:destination="@id/addressInputFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/home_to_search"
|
|
app:destination="@id/nav_explore"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left">
|
|
|
|
<argument
|
|
android:name="type"
|
|
android:defaultValue="Merchants"
|
|
app:argType="org.dash.wallet.features.exploredash.ui.explore.ExploreTopic" />
|
|
</action>
|
|
|
|
<action
|
|
android:id="@+id/home_to_uphold"
|
|
app:destination="@id/upholdPortalFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/home_to_BuySellOverview"
|
|
app:destination="@id/integrationOverviewFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/home_to_coinbase"
|
|
app:destination="@id/nav_coinbase"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/paymentsFragment"
|
|
android:name="de.schildbach.wallet.ui.payments.PaymentsFragment"
|
|
android:label="Payments"
|
|
tools:layout="@layout/fragment_payments">
|
|
|
|
<argument
|
|
android:name="active_tab"
|
|
app:argType="integer" />
|
|
|
|
<deepLink app:uri="android-app://hashengineering.darkcoin.wallet/payments/{active_tab}/{source}"/>
|
|
|
|
<action
|
|
android:id="@+id/payments_to_contacts"
|
|
app:destination="@id/contactsFragment" />
|
|
|
|
<action
|
|
android:id="@+id/payments_to_receive"
|
|
app:destination="@id/receiveFragment"
|
|
app:enterAnim="@anim/slide_in_bottom"
|
|
app:popExitAnim="@anim/fade_out" />
|
|
|
|
<action
|
|
android:id="@+id/payments_to_addressInput"
|
|
app:destination="@id/addressInputFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/contactsFragment"
|
|
android:name="de.schildbach.wallet.ui.dashpay.ContactsFragment"
|
|
android:label="Contacts"
|
|
tools:layout="@layout/fragment_contacts_root">
|
|
|
|
<action
|
|
android:id="@+id/contacts_to_evoUpgrade"
|
|
app:popUpTo="@id/contactsFragment"
|
|
app:popUpToInclusive="true"
|
|
app:destination="@id/evoUpgradeFragment" />
|
|
|
|
<action
|
|
android:id="@+id/contacts_to_contacts"
|
|
app:destination="@id/contactsFragment" />
|
|
|
|
<argument
|
|
android:name="ShowNavBar"
|
|
android:defaultValue="true" />
|
|
|
|
<argument
|
|
android:name="mode"
|
|
app:argType="de.schildbach.wallet.ui.dashpay.ContactsScreenMode"
|
|
android:defaultValue="SEARCH_CONTACTS" />
|
|
|
|
<argument
|
|
android:name="source"
|
|
app:argType="string"
|
|
android:defaultValue="" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/evoUpgradeFragment"
|
|
android:name="de.schildbach.wallet.ui.dashpay.UpgradeToEvolutionFragment"
|
|
android:label="UpgradeToEvolution"
|
|
tools:layout="@layout/fragment_upgrade_to_evolution">
|
|
|
|
<argument
|
|
android:name="ShowNavBar"
|
|
android:defaultValue="true" />
|
|
</fragment>
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/TransactionFragment"
|
|
android:name="de.schildbach.wallet.ui.transactions.TransactionDetailsDialogFragment"
|
|
android:label="Payments"
|
|
tools:layout="@layout/transaction_details_dialog">
|
|
|
|
<argument
|
|
android:name="tx_id"
|
|
app:argType="string" />
|
|
|
|
<deepLink app:uri="android-app://hashengineering.darkcoin.wallet/transactions/{tx_id}"/>
|
|
</dialog>
|
|
|
|
<fragment
|
|
android:id="@+id/receiveFragment"
|
|
android:name="de.schildbach.wallet.ui.payments.ReceiveFragment"
|
|
android:label="Receive"
|
|
tools:layout="@layout/fragment_receive"/>
|
|
|
|
<fragment
|
|
android:id="@+id/exploreFragment"
|
|
android:name="de.schildbach.wallet.ui.explore.ExploreFragment"
|
|
android:label="Explore"
|
|
tools:layout="@layout/fragment_explore">
|
|
|
|
<argument
|
|
android:name="ShowNavBar"
|
|
android:defaultValue="true" />
|
|
|
|
<action
|
|
android:id="@+id/explore_to_search"
|
|
app:destination="@id/nav_explore"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left">
|
|
|
|
<argument
|
|
android:name="type"
|
|
android:defaultValue="Merchants"
|
|
app:argType="org.dash.wallet.features.exploredash.ui.explore.ExploreTopic" />
|
|
</action>
|
|
|
|
<action
|
|
android:id="@+id/explore_to_buySell"
|
|
app:destination="@id/buySellFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/explore_to_faucet"
|
|
app:destination="@id/exploreTestNetFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/exploreTestNetFragment"
|
|
android:name="org.dash.wallet.features.exploredash.ui.ExploreTestNetFragment"
|
|
android:label="fragment_testnet"
|
|
tools:layout="@layout/fragment_explore_testnet">
|
|
|
|
<argument
|
|
android:name="ShowNavBar"
|
|
android:defaultValue="true" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/moreFragment"
|
|
android:name="de.schildbach.wallet.ui.more.MoreFragment"
|
|
android:label="More"
|
|
tools:layout="@layout/fragment_more">
|
|
|
|
<argument
|
|
android:name="ShowNavBar"
|
|
android:defaultValue="true" />
|
|
|
|
<action
|
|
android:id="@+id/more_to_buySell"
|
|
app:destination="@id/buySellFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/more_to_usernameVoting"
|
|
app:destination="@id/nav_voting"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/more_to_security"
|
|
app:destination="@id/securityFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/more_to_tools"
|
|
app:destination="@id/toolsFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/more_to_settings"
|
|
app:destination="@id/settingsFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/toolsFragment"
|
|
android:name="de.schildbach.wallet.ui.more.ToolsFragment"
|
|
android:label="Tools"
|
|
tools:layout="@layout/fragment_more">
|
|
|
|
<action
|
|
android:id="@+id/tools_to_masternode_keys"
|
|
app:destination="@id/masternodeKeyTypeFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/settingsFragment"
|
|
android:name="de.schildbach.wallet.ui.SettingsFragment"
|
|
android:label="Settings"
|
|
tools:layout="@layout/fragment_more">
|
|
|
|
<action
|
|
android:id="@+id/settings_to_transaction_metadata"
|
|
app:destination="@id/transaction_metadata_settings_fragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/settings_to_transaction_metadata_info"
|
|
app:destination="@id/transaction_metadata_info_dialog"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/transaction_metadata_settings_fragment"
|
|
android:name="de.schildbach.wallet.ui.more.TransactionMetadataSettingsFragment"
|
|
android:label="Transaction Metadata Settings"
|
|
tools:layout="@layout/fragment_transaction_metadata_settings">
|
|
|
|
<action
|
|
android:id="@+id/to_info_dialog"
|
|
app:destination="@id/transaction_metadata_info_dialog"
|
|
app:enterAnim="@anim/activity_stay"
|
|
app:exitAnim="@anim/slide_out_right"/>
|
|
|
|
</fragment>
|
|
|
|
<dialog
|
|
android:id="@+id/transaction_metadata_info_dialog"
|
|
android:name="de.schildbach.wallet.ui.more.TransactionMetadataDialog"
|
|
android:label="Transaction Metadata Info"
|
|
tools:layout="@layout/dialog_transaction_metadata"
|
|
android:theme="@style/My.Theme.Dialog">
|
|
<action
|
|
android:id="@+id/to_cost_dialog"
|
|
app:destination="@id/transaction_metadata_cost_dialog"
|
|
app:enterAnim="@anim/activity_stay"
|
|
app:exitAnim="@anim/slide_out_right"/>
|
|
|
|
<action
|
|
android:id="@+id/to_settings_fragment"
|
|
app:destination="@id/transaction_metadata_settings_fragment"
|
|
app:enterAnim="@anim/activity_stay"
|
|
app:exitAnim="@anim/slide_out_right"/>
|
|
<argument
|
|
android:name="first_time"
|
|
app:argType="boolean"
|
|
app:defaultValue="false" />
|
|
<argument
|
|
android:name="use_navigation"
|
|
app:argType="boolean"
|
|
app:defaultValue="false" />
|
|
</dialog>
|
|
|
|
<dialog
|
|
android:id="@+id/transaction_metadata_cost_dialog"
|
|
android:name="de.schildbach.wallet.ui.more.TransactionMetadataCostDialog"
|
|
android:label="Transaction Metadata Cost Info"
|
|
tools:layout="@layout/dialog_transaction_metadata_costs"
|
|
/>
|
|
|
|
<fragment
|
|
android:id="@+id/masternodeKeyTypeFragment"
|
|
android:name="de.schildbach.wallet.ui.more.masternode_keys.MasternodeKeysFragment"
|
|
android:label="Masternode Keys"
|
|
tools:layout="@layout/fragment_masternode_key_types">
|
|
|
|
<action
|
|
android:id="@+id/masternode_key_type_to_masternode_keychain"
|
|
app:destination="@id/masternodeKeyChainFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" >
|
|
|
|
<argument
|
|
android:name="type"
|
|
android:defaultValue="OWNER"
|
|
app:argType="de.schildbach.wallet.ui.more.masternode_keys.MasternodeKeyType" />
|
|
</action>
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/masternodeKeyChainFragment"
|
|
android:name="de.schildbach.wallet.ui.more.masternode_keys.MasternodeKeyChainFragment"
|
|
android:label="Masternode KeyChain"
|
|
tools:layout="@layout/fragment_masternode_key_chain"/>
|
|
|
|
<fragment
|
|
android:id="@+id/buySellFragment"
|
|
android:name="de.schildbach.wallet.ui.buy_sell.BuyAndSellIntegrationsFragment"
|
|
android:label="BuyAndSell"
|
|
tools:layout="@layout/fragment_buy_sell_integrations">
|
|
|
|
<action
|
|
android:id="@+id/buySell_to_overview"
|
|
app:destination="@id/integrationOverviewFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/buySell_to_coinbase"
|
|
app:destination="@id/nav_coinbase"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/buySell_to_uphold"
|
|
app:destination="@id/upholdPortalFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/integrationOverviewFragment"
|
|
android:name="de.schildbach.wallet.ui.buy_sell.IntegrationOverviewFragment"
|
|
android:label="IntegrationOverview"
|
|
tools:layout="@layout/fragment_integration_overview">
|
|
|
|
<argument
|
|
android:name="service"
|
|
android:defaultValue="COINBASE"
|
|
app:argType="de.schildbach.wallet.data.ServiceType" />
|
|
|
|
<action
|
|
android:id="@+id/overview_to_coinbase"
|
|
app:popUpTo="@id/buySellFragment"
|
|
app:destination="@id/nav_coinbase"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/upholdPortalFragment"
|
|
android:name="org.dash.wallet.integrations.uphold.ui.UpholdPortalFragment"
|
|
android:label="upholdPortalFragment"
|
|
tools:layout="@layout/fragment_integration_portal" />
|
|
|
|
<fragment
|
|
android:id="@+id/securityFragment"
|
|
android:name="de.schildbach.wallet.ui.more.SecurityFragment"
|
|
android:label="Security"
|
|
tools:layout="@layout/fragment_security">
|
|
|
|
<action
|
|
android:id="@+id/security_to_showSeed"
|
|
app:destination="@id/showSeedFragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
|
|
<action
|
|
android:id="@+id/security_to_transaction_metadata"
|
|
app:destination="@id/transaction_metadata_settings_fragment"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/activity_stay"
|
|
app:popExitAnim="@anim/slide_out_left" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/showSeedFragment"
|
|
android:name="de.schildbach.wallet.ui.verify.ShowSeedFragment"
|
|
android:label="ShowSeed"
|
|
tools:layout="@layout/fragment_show_seed">
|
|
|
|
<argument
|
|
android:name="seed"
|
|
app:argType="string[]"
|
|
app:nullable="true"
|
|
android:defaultValue="@null" />
|
|
|
|
<argument
|
|
android:name="standalone"
|
|
app:argType="boolean"
|
|
android:defaultValue="false" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/showNotificationsFragment"
|
|
android:name="de.schildbach.wallet.ui.dashpay.NotificationsFragment"
|
|
android:label="ShowSeed"
|
|
tools:layout="@layout/fragment_notifications">
|
|
|
|
<argument
|
|
android:name="mode"
|
|
app:argType="integer"
|
|
android:defaultValue="2" />
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/addressInputFragment"
|
|
android:name="de.schildbach.wallet.ui.send.AddressInputFragment"
|
|
android:label="Address Input"
|
|
tools:layout="@layout/fragment_address_input" />
|
|
|
|
<include app:graph="@navigation/nav_explore" />
|
|
<include app:graph="@navigation/nav_coinbase" />
|
|
<include app:graph="@navigation/nav_voting" />
|
|
<!--include app:graph="@navigation/nav_settings" /-->
|
|
<!--include app:graph="@navigation/nav_metadata_settings" /-->
|
|
</navigation> |