diff options
Diffstat (limited to 'wallet/src/main/res/layout')
-rw-r--r-- | wallet/src/main/res/layout/fragment_transaction_payment.xml | 19 | ||||
-rw-r--r-- | wallet/src/main/res/layout/fragment_transaction_withdrawal.xml | 19 |
2 files changed, 36 insertions, 2 deletions
diff --git a/wallet/src/main/res/layout/fragment_transaction_payment.xml b/wallet/src/main/res/layout/fragment_transaction_payment.xml index b57315f..5b674bd 100644 --- a/wallet/src/main/res/layout/fragment_transaction_payment.xml +++ b/wallet/src/main/res/layout/fragment_transaction_payment.xml @@ -122,11 +122,28 @@ app:backgroundTint="?colorError" app:icon="@drawable/ic_delete" app:iconTint="?colorOnError" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintBottom_toTopOf="@id/showErrorButton" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/orderIdView" /> + <com.google.android.material.button.MaterialButton + android:id="@+id/showErrorButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginVertical="10dp" + android:visibility="gone" + android:text="@string/nav_error" + app:backgroundTint="?colorError" + app:icon="@drawable/ic_error" + android:textColor="?colorOnError" + app:iconTint="?colorOnError" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/deleteButton" + tools:visibility="visible" /> + </androidx.constraintlayout.widget.ConstraintLayout> </ScrollView> diff --git a/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml b/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml index 100ddbc..87530a4 100644 --- a/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml +++ b/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml @@ -149,11 +149,28 @@ app:icon="@drawable/ic_delete" android:textColor="?colorOnError" app:iconTint="?colorOnError" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintBottom_toTopOf="@id/showErrorButton" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/exchangeView" /> + <com.google.android.material.button.MaterialButton + android:id="@+id/showErrorButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginVertical="10dp" + android:visibility="gone" + android:text="@string/nav_error" + app:backgroundTint="?colorError" + app:icon="@drawable/ic_error" + android:textColor="?colorOnError" + app:iconTint="?colorOnError" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/deleteButton" + tools:visibility="visible" /> + </androidx.constraintlayout.widget.ConstraintLayout> </ScrollView> |