diff options
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 |