gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-android] 02/06: [wallet] Top align transaction layouts for


From: gnunet
Subject: [taler-taler-android] 02/06: [wallet] Top align transaction layouts for consistency
Date: Mon, 23 Jan 2023 19:34:14 +0100

This is an automated email from the git hooks/post-receive script.

torsten-grote pushed a commit to branch master
in repository taler-android.

commit 878616ad4f1d77351e5b9893d03360d323e10b72
Author: Iván Ávalos <avalos@disroot.org>
AuthorDate: Tue Jan 17 13:08:28 2023 -0600

    [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(-)

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" />

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]