From 878616ad4f1d77351e5b9893d03360d323e10b72 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Tue, 17 Jan 2023 13:08:28 -0600 Subject: [wallet] Top align transaction layouts for consistency --- wallet/src/main/res/layout/fragment_transaction_payment.xml | 12 +----------- .../src/main/res/layout/fragment_transaction_withdrawal.xml | 2 -- 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'wallet/src/main/res/layout') 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" /> @@ -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 @@ @@ -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" /> -- cgit v1.2.3