diff options
author | Torsten Grote <t@grobox.de> | 2022-08-17 15:40:16 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2022-08-17 15:40:16 -0300 |
commit | d1163e31e904ac59d0739169257a8e3fdc7986a7 (patch) | |
tree | 44dfc439444d0ed5e004147c79b3dcf6ff0b5efb /wallet/src/main/res/layout/fragment_transaction_withdrawal.xml | |
parent | 326b1bdf62a687aa40d32994c14c792fcbf113fc (diff) | |
download | taler-android-d1163e31e904ac59d0739169257a8e3fdc7986a7.tar.gz taler-android-d1163e31e904ac59d0739169257a8e3fdc7986a7.tar.bz2 taler-android-d1163e31e904ac59d0739169257a8e3fdc7986a7.zip |
[wallet] Add ability to cancel/delete transactions
Diffstat (limited to 'wallet/src/main/res/layout/fragment_transaction_withdrawal.xml')
-rw-r--r-- | wallet/src/main/res/layout/fragment_transaction_withdrawal.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml b/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml index 8fe3247..78d1667 100644 --- a/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml +++ b/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml @@ -117,12 +117,24 @@ <TextView android:id="@+id/exchangeView" style="@style/TransactionContent" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintBottom_toTopOf="@+id/deleteButton" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/exchangeLabel" tools:text="exchange.demo.taler.net" /> + <com.google.android.material.button.MaterialButton + android:id="@+id/deleteButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/transactions_delete" + app:backgroundTint="@color/red" + app:icon="@drawable/ic_delete" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/exchangeView" /> + </androidx.constraintlayout.widget.ConstraintLayout> </ScrollView> |