summaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation/nav_graph.xml
blob: b6345a1f9bfe5b36dc454fdd8d80a290763a3709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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/nav_graph"
            app:startDestination="@id/createPayment">

    <fragment android:id="@+id/createPayment" android:name="net.taler.merchantpos.CreatePayment"
              android:label="Request Payment" tools:layout="@layout/fragment_create_payment">
        <action android:id="@+id/action_createPayment_to_processPayment" app:destination="@id/processPayment"/>
    </fragment>
    <fragment android:id="@+id/processPayment" android:name="net.taler.merchantpos.ProcessPayment"
              android:label="Payment Prompt" tools:layout="@layout/fragment_process_payment"/>
    <fragment android:id="@+id/merchantHistory" android:name="net.taler.merchantpos.MerchantHistory"
              android:label="Payment History" tools:layout="@layout/fragment_merchant_history"/>
    <action android:id="@+id/action_global_merchantHistory" app:destination="@id/merchantHistory"/>
    <action android:id="@+id/action_global_createPayment" app:destination="@id/createPayment"/>
    <fragment android:id="@+id/merchantSettings" android:name="net.taler.merchantpos.MerchantSettings"
              android:label="Merchant Settings" tools:layout="@layout/fragment_merchant_settings"/>
    <action android:id="@+id/action_global_merchantSettings" app:destination="@id/merchantSettings"/>
</navigation>