diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-20 22:56:16 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-20 22:58:10 +0200 |
commit | eb9594079589a0126c3fb5f9a2f6ecd56950eebc (patch) | |
tree | 2ab7544f0230c78c1df15ac9e75ed5d47ac87bbf /app/src/main/res/navigation/nav_graph.xml | |
parent | e63f231bc8583db065213a07019223f7c122c9fd (diff) | |
download | merchant-terminal-android-eb9594079589a0126c3fb5f9a2f6ecd56950eebc.tar.gz merchant-terminal-android-eb9594079589a0126c3fb5f9a2f6ecd56950eebc.tar.bz2 merchant-terminal-android-eb9594079589a0126c3fb5f9a2f6ecd56950eebc.zip |
prototype of payment request flow
Diffstat (limited to 'app/src/main/res/navigation/nav_graph.xml')
-rw-r--r-- | app/src/main/res/navigation/nav_graph.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index eaa7bf9..b6345a1 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -5,8 +5,16 @@ app:startDestination="@id/createPayment"> <fragment android:id="@+id/createPayment" android:name="net.taler.merchantpos.CreatePayment" - android:label="fragment_create_payment" tools:layout="@layout/fragment_create_payment"/> + 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="fragment_process_payment" tools:layout="@layout/fragment_process_payment"/> - <action android:id="@+id/action_global_processPayment" app:destination="@id/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>
\ No newline at end of file |