From 104b1869a8335987fd7d6fd18329c273ea761c28 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 9 Sep 2020 16:22:35 +0200 Subject: [PATCH] Reduced account transactions list items height, reduced horizontal margin and remove recycler view's top margin --- ui/BankingAndroidApp/src/main/res/layout/fragment_home.xml | 5 ++--- ui/BankingAndroidApp/src/main/res/values/dimens.xml | 6 ++++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ui/BankingAndroidApp/src/main/res/layout/fragment_home.xml b/ui/BankingAndroidApp/src/main/res/layout/fragment_home.xml index 9427e89f..22cad2eb 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/fragment_home.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/fragment_home.xml @@ -8,9 +8,8 @@ android:id="@+id/rcyvwAccountTransactions" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginStart="8dp" - android:layout_marginTop="8dp" - android:layout_marginEnd="8dp" + android:layout_marginStart="@dimen/fragment_account_transaction_margin_start_and_end" + android:layout_marginEnd="@dimen/fragment_account_transaction_margin_start_and_end" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" diff --git a/ui/BankingAndroidApp/src/main/res/values/dimens.xml b/ui/BankingAndroidApp/src/main/res/values/dimens.xml index ceac6e61..6cc3087b 100644 --- a/ui/BankingAndroidApp/src/main/res/values/dimens.xml +++ b/ui/BankingAndroidApp/src/main/res/values/dimens.xml @@ -14,8 +14,10 @@ 16dp 42dp - 80dp - 4dp + 4dp + + 74dp + 0dp 2dp 16sp 14sp