taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

nav_graph.xml (12675B)


      1 <?xml version="1.0" encoding="utf-8"?><!--
      2   ~ This file is part of GNU Taler
      3   ~ (C) 2020 Taler Systems S.A.
      4   ~
      5   ~ GNU Taler is free software; you can redistribute it and/or modify it under the
      6   ~ terms of the GNU General Public License as published by the Free Software
      7   ~ Foundation; either version 3, or (at your option) any later version.
      8   ~
      9   ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
     10   ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     11   ~ A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     12   ~
     13   ~ You should have received a copy of the GNU General Public License along with
     14   ~ GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
     15   -->
     16 
     17 <navigation xmlns:android="http://schemas.android.com/apk/res/android"
     18     xmlns:app="http://schemas.android.com/apk/res-auto"
     19     xmlns:tools="http://schemas.android.com/tools"
     20     android:id="@+id/nav_graph"
     21     app:startDestination="@id/main">
     22 
     23     <action
     24         android:id="@+id/action_global_main"
     25         app:destination="@id/main"
     26         app:popUpTo="@id/main" />
     27 
     28     <action
     29         android:id="@+id/action_global_handleUri"
     30         app:destination="@id/handleUri"
     31         app:popUpTo="@id/main" />
     32 
     33     <action
     34         android:id="@+id/action_global_paytoUri"
     35         app:destination="@id/paytoUri"
     36         app:popUpTo="@id/main" />
     37 
     38     <action
     39         android:id="@+id/action_global_deposit"
     40         app:destination="@id/deposit"
     41         app:popUpTo="@id/main" />
     42 
     43     <action
     44         android:id="@+id/action_global_wireTransferDetails"
     45         app:destination="@id/wireTransferDetails" />
     46 
     47     <action
     48         android:id="@+id/action_global_bankAccounts"
     49         app:destination="@id/bankAccounts" />
     50 
     51     <action
     52         android:id="@+id/action_global_reviewExchangeTOS"
     53         app:destination="@id/reviewExchangeTOS" />
     54 
     55     <action
     56         android:id="@+id/action_global_outgoingPull"
     57         app:destination="@id/outgoingPull" />
     58 
     59     <action
     60         android:id="@+id/action_global_outgoingPush"
     61         app:destination="@id/outgoingPush" />
     62 
     63     <action
     64         android:id="@+id/action_global_promptPayment"
     65         app:destination="@id/promptPayment"
     66         app:popUpTo="@id/main" />
     67 
     68     <action
     69         android:id="@+id/action_global_promptWithdraw"
     70         app:destination="@id/promptWithdraw"
     71         app:popUpTo="@id/main" />
     72 
     73     <action
     74         android:id="@+id/action_global_promptPullPayment"
     75         app:destination="@id/promptPullPayment"
     76         app:popUpTo="@id/main" />
     77 
     78     <action
     79         android:id="@+id/action_global_promptPushPayment"
     80         app:destination="@id/promptPushPayment"
     81         app:popUpTo="@id/main" />
     82 
     83     <action
     84         android:id="@+id/action_global_promptPayTemplate"
     85         app:destination="@id/promptPayTemplate"
     86         app:popUpTo="@id/main" />
     87 
     88     <action
     89         android:id="@+id/action_global_transactionWithdrawal"
     90         app:destination="@id/transactionWithdrawal"
     91         app:popUpTo="@id/main"/>
     92 
     93     <action
     94         android:id="@+id/action_global_transactionPayment"
     95         app:destination="@id/transactionPayment"
     96         app:popUpTo="@id/main" />
     97 
     98     <action
     99         android:id="@+id/action_global_transactionRefund"
    100         app:destination="@id/transactionRefund"
    101         app:popUpTo="@id/main" />
    102 
    103     <action
    104         android:id="@+id/action_global_transactionRefresh"
    105         app:destination="@id/transactionRefresh"
    106         app:popUpTo="@id/main" />
    107 
    108     <action
    109         android:id="@+id/action_global_transactionDeposit"
    110         app:destination="@id/transactionDeposit"
    111         app:popUpTo="@id/main" />
    112 
    113     <action
    114         android:id="@+id/action_global_transactionPeer"
    115         app:destination="@id/transactionPeer"
    116         app:popUpTo="@id/main" />
    117 
    118     <fragment
    119         android:id="@+id/main"
    120         android:name="net.taler.wallet.main.MainFragment"
    121         android:label="@string/balances_title">
    122         <action
    123             android:id="@+id/action_main_to_uriInput"
    124             app:destination="@id/uriInput" />
    125         <action
    126             android:id="@+id/action_main_to_exchangeShopping"
    127             app:destination="@id/exchangeShopping" />
    128         <action
    129             android:id="@+id/action_main_to_performanceStats"
    130             app:destination="@id/performanceStats" />
    131         <action
    132             android:id="@+id/action_main_to_exchangeList"
    133             app:destination="@id/exchangeList" />
    134         <action
    135             android:id="@+id/action_main_to_bankAccounts"
    136             app:destination="@id/bankAccounts" />
    137         <action
    138             android:id="@+id/action_main_to_donauStatement"
    139             app:destination="@id/donauStatement" />
    140         <action
    141             android:id="@+id/action_main_to_setDonau"
    142             app:destination="@id/setDonau" />
    143     </fragment>
    144 
    145     <fragment
    146         android:id="@+id/handleUri"
    147         android:name="net.taler.wallet.HandleUriFragment"
    148         android:label="@string/loading">
    149         <argument
    150             android:name="uri"
    151             app:argType="string"
    152             app:nullable="false" />
    153         <argument
    154             android:name="from"
    155             app:argType="string"
    156             app:nullable="false" />
    157     </fragment>
    158 
    159     <fragment
    160         android:id="@+id/paytoUri"
    161         android:name="net.taler.wallet.deposit.PayToUriFragment"
    162         android:label="@string/transactions_send_funds">
    163         <argument
    164             android:name="uri"
    165             app:argType="string" />
    166     </fragment>
    167 
    168     <fragment
    169         android:id="@+id/promptPayment"
    170         android:name="net.taler.wallet.payment.PromptPaymentFragment"
    171         android:label="@string/payment_prompt_title"
    172         tools:layout="@layout/fragment_prompt_payment" />
    173 
    174     <fragment
    175         android:id="@+id/exchangeList"
    176         android:name="net.taler.wallet.exchanges.ExchangeListFragment"
    177         android:label="@string/exchange_list_title" />
    178 
    179     <fragment
    180         android:id="@+id/setDonau"
    181         android:name="net.taler.wallet.donau.SetDonauFragment"
    182         android:label="@string/donau_title">
    183         <argument
    184             android:name="donauBaseUrl"
    185             app:argType="string"
    186             app:nullable="true" />
    187     </fragment>
    188 
    189     <fragment
    190         android:id="@+id/donauStatement"
    191         android:name="net.taler.wallet.donau.DonauStatementFragment"
    192         android:label="@string/donau_statement_title">
    193         <argument
    194             android:name="host"
    195             app:argType="string"
    196             app:nullable="false" />
    197     </fragment>
    198 
    199     <fragment
    200         android:id="@+id/wireTransferDetails"
    201         android:name="net.taler.wallet.transfer.WireTransferDetailsFragment"
    202         android:label="@string/wire_transfer" />
    203 
    204     <fragment
    205         android:id="@+id/deposit"
    206         android:name="net.taler.wallet.deposit.DepositFragment"
    207         android:label="@string/send_deposit_title">
    208         <argument
    209             android:name="amount"
    210             app:argType="string"
    211             app:nullable="false" />
    212         <argument
    213             android:name="receiverName"
    214             android:defaultValue="@null"
    215             app:argType="string"
    216             app:nullable="true" />
    217         <argument
    218             android:name="receiverPostalCode"
    219             android:defaultValue="@null"
    220             app:argType="string"
    221             app:nullable="true" />
    222         <argument
    223             android:name="receiverTown"
    224             android:defaultValue="@null"
    225             app:argType="string"
    226             app:nullable="true" />
    227         <argument
    228             android:name="IBAN"
    229             android:defaultValue="@null"
    230             app:argType="string"
    231             app:nullable="true" />
    232     </fragment>
    233 
    234     <fragment
    235         android:id="@+id/outgoingPull"
    236         android:name="net.taler.wallet.peer.OutgoingPullFragment"
    237         android:label="@string/receive_peer_title" />
    238 
    239     <fragment
    240         android:id="@+id/outgoingPush"
    241         android:name="net.taler.wallet.peer.OutgoingPushFragment"
    242         android:label="@string/send_peer_title" />
    243 
    244     <fragment
    245         android:id="@+id/promptPullPayment"
    246         android:name="net.taler.wallet.peer.IncomingPullPaymentFragment"
    247         android:label="@string/pay_peer_title" />
    248 
    249     <fragment
    250         android:id="@+id/promptPushPayment"
    251         android:name="net.taler.wallet.peer.IncomingPushPaymentFragment"
    252         android:label="@string/receive_peer_payment_title" />
    253 
    254     <fragment
    255         android:id="@+id/promptPayTemplate"
    256         android:name="net.taler.wallet.payment.PayTemplateFragment"
    257         android:label="@string/payment_pay_template_title">
    258         <argument
    259             android:name="uri"
    260             app:argType="string" />
    261     </fragment>
    262 
    263     <fragment
    264         android:id="@+id/transactionWithdrawal"
    265         android:name="net.taler.wallet.transactions.TransactionWithdrawalFragment"
    266         android:label="@string/withdraw_title" />
    267 
    268     <fragment
    269         android:id="@+id/transactionPayment"
    270         android:name="net.taler.wallet.transactions.TransactionPaymentFragment"
    271         android:label="@string/payment_title" />
    272 
    273     <fragment
    274         android:id="@+id/transactionRefund"
    275         android:name="net.taler.wallet.transactions.TransactionRefundFragment"
    276         android:label="@string/refund_title" />
    277 
    278     <fragment
    279         android:id="@+id/transactionRefresh"
    280         android:name="net.taler.wallet.transactions.TransactionRefreshFragment"
    281         android:label="@string/transaction_refresh" />
    282 
    283     <fragment
    284         android:id="@+id/transactionDeposit"
    285         android:name="net.taler.wallet.transactions.TransactionDepositFragment"
    286         android:label="@string/transaction_deposit" />
    287 
    288     <fragment
    289         android:id="@+id/transactionPeer"
    290         android:name="net.taler.wallet.transactions.TransactionPeerFragment"
    291         android:label="@string/transactions_detail_title" />
    292 
    293     <fragment
    294         android:id="@+id/transactionLoss"
    295         android:name="net.taler.wallet.transactions.TransactionLossFragment"
    296         android:label="@string/transaction_denom_loss" />
    297 
    298     <fragment
    299         android:id="@+id/transactionDummy"
    300         android:name="net.taler.wallet.transactions.TransactionDummyFragment"
    301         android:label="@string/transaction_dummy_title" />
    302 
    303     <fragment
    304         android:id="@+id/promptWithdraw"
    305         android:name="net.taler.wallet.withdraw.PromptWithdrawFragment"
    306         android:label="@string/nav_prompt_withdraw">
    307         <argument
    308             android:name="withdrawUri"
    309             app:nullable="true"
    310             app:argType="string" />
    311         <argument
    312             android:name="withdrawExchangeUri"
    313             app:nullable="true"
    314             app:argType="string" />
    315         <argument
    316             android:name="editableCurrency"
    317             android:defaultValue="true"
    318             app:argType="boolean" />
    319         <argument
    320             android:name="exchangeBaseUrl"
    321             app:nullable="true"
    322             app:argType="string" />
    323         <argument
    324             android:name="amount"
    325             app:nullable="true"
    326             app:argType="string" />
    327     </fragment>
    328 
    329     <fragment
    330         android:id="@+id/reviewExchangeTOS"
    331         android:name="net.taler.wallet.withdraw.ReviewExchangeTosFragment"
    332         android:label="@string/nav_exchange_tos" />
    333 
    334     <fragment
    335         android:id="@+id/uriInput"
    336         android:name="net.taler.wallet.UriInputFragment"
    337         android:label="@string/enter_uri"
    338         tools:layout="@layout/fragment_uri_input" />
    339 
    340     <fragment
    341         android:id="@+id/bankAccounts"
    342         android:name="net.taler.wallet.accounts.BankAccountsFragment"
    343         android:label="@string/send_deposit_known_bank_accounts">
    344         <argument
    345             android:name="currency"
    346             app:nullable="true"
    347             app:argType="string" />
    348         <action
    349             android:id="@+id/action_bankAccounts_to_addBankAccount"
    350             app:destination="@id/addBankAccount" />
    351     </fragment>
    352 
    353     <fragment
    354         android:id="@+id/addBankAccount"
    355         android:name="net.taler.wallet.accounts.AddAccountFragment"
    356         android:label="@string/send_deposit_account_add">
    357         <argument
    358             android:name="bankAccountId"
    359             app:nullable="true"
    360             app:argType="string" />
    361     </fragment>
    362 
    363     <fragment
    364         android:id="@+id/exchangeShopping"
    365         android:name="net.taler.wallet.exchanges.ExchangeShoppingFragment"
    366         android:label="@string/exchange_shopping_title" />
    367 
    368     <fragment
    369         android:id="@+id/performanceStats"
    370         android:name="net.taler.wallet.settings.PerformanceFragment"
    371         android:label="@string/performance_stats_title" />
    372 </navigation>