diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-01-17 13:08:28 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-01-18 10:54:44 -0600 |
commit | 878616ad4f1d77351e5b9893d03360d323e10b72 (patch) | |
tree | 015be83e63cdc91143d0228b20811f021bfaf08f /wallet/src/main | |
parent | dc8cdc0fa2a04dea3bf5168fe84860000d0bfe28 (diff) | |
download | taler-android-878616ad4f1d77351e5b9893d03360d323e10b72.tar.gz taler-android-878616ad4f1d77351e5b9893d03360d323e10b72.tar.bz2 taler-android-878616ad4f1d77351e5b9893d03360d323e10b72.zip |
[wallet] Top align transaction layouts for consistency
Diffstat (limited to 'wallet/src/main')
-rw-r--r-- | wallet/src/main/res/layout/fragment_transaction_payment.xml | 12 | ||||
-rw-r--r-- | wallet/src/main/res/layout/fragment_transaction_withdrawal.xml | 2 |
2 files changed, 1 insertions, 13 deletions
diff --git a/wallet/src/main/res/layout/fragment_transaction_payment.xml b/wallet/src/main/res/layout/fragment_transaction_payment.xml index 32aa6ed..c5f5f81 100644 --- a/wallet/src/main/res/layout/fragment_transaction_payment.xml +++ b/wallet/src/main/res/layout/fragment_transaction_payment.xml @@ -33,14 +33,12 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintVertical_chainStyle="packed" tools:text="23 March 2020 23:42pm" /> <TextView android:id="@+id/amountPaidWithFeesLabel" style="@style/TransactionLabel" android:text="@string/transaction_paid" - app:layout_constraintBottom_toTopOf="@+id/amountPaidWithFeesView" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/timeView" /> @@ -49,7 +47,6 @@ android:id="@+id/amountPaidWithFeesView" style="@style/TransactionContent" android:textColor="@color/red" - app:layout_constraintBottom_toTopOf="@+id/orderAmountLabel" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/amountPaidWithFeesLabel" @@ -59,7 +56,6 @@ android:id="@+id/orderAmountLabel" style="@style/TransactionLabel" android:text="@string/transaction_order_total" - app:layout_constraintBottom_toTopOf="@+id/orderAmountView" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/amountPaidWithFeesView" /> @@ -67,7 +63,6 @@ <TextView android:id="@+id/orderAmountView" style="@style/TransactionContent" - app:layout_constraintBottom_toTopOf="@+id/feeLabel" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/orderAmountLabel" @@ -77,7 +72,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/orderAmountView" /> @@ -86,7 +80,6 @@ android:id="@+id/feeView" style="@style/TransactionContent" android:textColor="@color/red" - app:layout_constraintBottom_toTopOf="@+id/orderSummaryLabel" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/feeLabel" @@ -96,7 +89,6 @@ android:id="@+id/orderSummaryLabel" style="@style/TransactionLabel" android:text="@string/transaction_order" - app:layout_constraintBottom_toTopOf="@+id/orderSummaryView" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/feeView" /> @@ -105,7 +97,6 @@ android:id="@+id/orderSummaryView" style="@style/TransactionContent" android:textColor="?android:textColorPrimary" - app:layout_constraintBottom_toTopOf="@+id/orderIdView" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/orderSummaryLabel" @@ -116,7 +107,6 @@ style="@style/TransactionLabel" android:layout_marginBottom="16dp" android:text="@string/transaction_order_id" - app:layout_constraintBottom_toTopOf="@+id/deleteButton" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/orderSummaryView" /> @@ -125,10 +115,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/orderIdView" /> diff --git a/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml b/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml index 783b2d9..47dbafb 100644 --- a/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml +++ b/wallet/src/main/res/layout/fragment_transaction_withdrawal.xml @@ -33,7 +33,6 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintVertical_chainStyle="packed" tools:text="23 March 2020 23:42pm" /> <TextView @@ -145,7 +144,6 @@ 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" /> |