summaryrefslogtreecommitdiff
path: root/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml
diff options
context:
space:
mode:
Diffstat (limited to 'wallet/src/main/res/layout/fragment_transaction_withdrawal.xml')
-rw-r--r--wallet/src/main/res/layout/fragment_transaction_withdrawal.xml23
1 files changed, 16 insertions, 7 deletions
diff --git a/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml b/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml
index 78d1667..d4de099 100644
--- a/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml
+++ b/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml
@@ -62,12 +62,26 @@
android:drawableLeft="@drawable/ic_account_balance"
android:text="@string/withdraw_button_confirm_bank"
app:drawableTint="?attr/colorOnPrimarySurface"
- app:layout_constraintBottom_toTopOf="@+id/chosenAmountLabel"
+ app:layout_constraintBottom_toTopOf="@+id/actionButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/effectiveAmountView"
tools:ignore="RtlHardcoded" />
+ <Button
+ android:id="@+id/actionButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginVertical="10dp"
+ android:backgroundTint="@color/colorAccent"
+ android:visibility="gone"
+ app:layout_constraintBottom_toTopOf="@id/chosenAmountLabel"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/confirmWithdrawalButton"
+ tools:text="@string/transaction_action_kyc"
+ tools:visibility="visible" />
+
<TextView
android:id="@+id/chosenAmountLabel"
style="@style/TransactionLabel"
@@ -80,7 +94,6 @@
<TextView
android:id="@+id/chosenAmountView"
style="@style/TransactionContent"
- app:layout_constraintBottom_toTopOf="@+id/feeLabel"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/chosenAmountLabel"
@@ -90,7 +103,6 @@
android:id="@+id/feeLabel"
style="@style/TransactionLabel"
android:text="@string/withdraw_fees"
- app:layout_constraintBottom_toTopOf="@+id/feeView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/chosenAmountView" />
@@ -99,7 +111,6 @@
android:id="@+id/feeView"
style="@style/TransactionContent"
android:textColor="@color/red"
- app:layout_constraintBottom_toTopOf="@+id/exchangeLabel"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/feeLabel"
@@ -109,7 +120,6 @@
android:id="@+id/exchangeLabel"
style="@style/TransactionLabel"
android:text="@string/withdraw_exchange"
- app:layout_constraintBottom_toTopOf="@+id/exchangeView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/feeView" />
@@ -117,7 +127,6 @@
<TextView
android:id="@+id/exchangeView"
style="@style/TransactionContent"
- app:layout_constraintBottom_toTopOf="@+id/deleteButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/exchangeLabel"
@@ -127,10 +136,10 @@
android:id="@+id/deleteButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginVertical="10dp"
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" />