diff options
author | Torsten Grote <t@grobox.de> | 2023-03-08 15:55:07 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2023-03-08 15:55:07 -0300 |
commit | e690df6d0eaacb60ca9edf1d4caf382711278b8b (patch) | |
tree | 2b07e0856413f482fe588d7956e6559a2f77dd3f /merchant-terminal/src/main/res/layout/fragment_order.xml | |
parent | 34954e4c0c730910ee45dec85a64117aa57023c2 (diff) | |
download | taler-android-e690df6d0eaacb60ca9edf1d4caf382711278b8b.tar.gz taler-android-e690df6d0eaacb60ca9edf1d4caf382711278b8b.tar.bz2 taler-android-e690df6d0eaacb60ca9edf1d4caf382711278b8b.zip |
[pos] add button for adding custom products
Diffstat (limited to 'merchant-terminal/src/main/res/layout/fragment_order.xml')
-rw-r--r-- | merchant-terminal/src/main/res/layout/fragment_order.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/merchant-terminal/src/main/res/layout/fragment_order.xml b/merchant-terminal/src/main/res/layout/fragment_order.xml index dc49db1..45f1aee 100644 --- a/merchant-terminal/src/main/res/layout/fragment_order.xml +++ b/merchant-terminal/src/main/res/layout/fragment_order.xml @@ -121,6 +121,17 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@+id/prevButton" /> + <ImageButton + android:id="@+id/customButton" + android:layout_width="48dp" + android:layout_height="48dp" + android:layout_marginStart="16dp" + android:backgroundTint="?colorPrimary" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toEndOf="@+id/nextButton" + app:srcCompat="@drawable/ic_dialpad" + android:contentDescription="@string/order_custom" /> + <Button android:id="@+id/completeButton" android:layout_width="wrap_content" @@ -132,6 +143,6 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0" - app:layout_constraintStart_toEndOf="@+id/nextButton" /> + app:layout_constraintStart_toEndOf="@+id/customButton" /> </androidx.constraintlayout.widget.ConstraintLayout> |