From a1bee0aaa0dfc8d0c3d861cef9eb8dafff9bc77c Mon Sep 17 00:00:00 2001 From: dankito Date: Sat, 12 Sep 2020 23:17:34 +0200 Subject: [PATCH] Set textColorSecondary to a different gray (left textColorPrimary at the same value) and using them consequently throughout the app to make a more pleasant view --- .../src/main/res/layout/list_item_account_transaction.xml | 2 ++ .../src/main/res/layout/list_item_bank_info.xml | 7 +++++-- .../src/main/res/layout/list_item_remittee.xml | 7 +++++-- ui/BankingAndroidApp/src/main/res/values/colors.xml | 4 ++++ ui/BankingAndroidApp/src/main/res/values/styles.xml | 3 +++ 5 files changed, 19 insertions(+), 4 deletions(-) diff --git a/ui/BankingAndroidApp/src/main/res/layout/list_item_account_transaction.xml b/ui/BankingAndroidApp/src/main/res/layout/list_item_account_transaction.xml index 42f94b58..5cd5ecd4 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/list_item_account_transaction.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/list_item_account_transaction.xml @@ -32,6 +32,7 @@ android:ellipsize="end" android:textSize="@dimen/list_item_account_transaction_label_text_size" android:textStyle="bold" + android:textColor="@color/textColorPrimary" /> diff --git a/ui/BankingAndroidApp/src/main/res/layout/list_item_bank_info.xml b/ui/BankingAndroidApp/src/main/res/layout/list_item_bank_info.xml index d623eab0..c94a8ea5 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/list_item_bank_info.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/list_item_bank_info.xml @@ -44,6 +44,7 @@ style="@style/TextAppearance.AppCompat.Medium" android:gravity="center_vertical" android:textSize="@dimen/list_item_bank_info_bank_name_text_size" + android:textColor="@color/textColorPrimary" /> diff --git a/ui/BankingAndroidApp/src/main/res/layout/list_item_remittee.xml b/ui/BankingAndroidApp/src/main/res/layout/list_item_remittee.xml index 929f7272..d2919517 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/list_item_remittee.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/list_item_remittee.xml @@ -14,6 +14,7 @@ style="@style/TextAppearance.AppCompat.Medium" android:gravity="center_vertical" android:textSize="@dimen/list_item_bank_info_bank_name_text_size" + android:textColor="@color/textColorPrimary" /> \ No newline at end of file diff --git a/ui/BankingAndroidApp/src/main/res/values/colors.xml b/ui/BankingAndroidApp/src/main/res/values/colors.xml index 4fa4cada..a35a041a 100644 --- a/ui/BankingAndroidApp/src/main/res/values/colors.xml +++ b/ui/BankingAndroidApp/src/main/res/values/colors.xml @@ -10,6 +10,10 @@ #303030 #FFFFFF + + #000000 + + #8a8a8e @color/primaryTextColor_Dark diff --git a/ui/BankingAndroidApp/src/main/res/values/styles.xml b/ui/BankingAndroidApp/src/main/res/values/styles.xml index 67778839..cf0393ec 100644 --- a/ui/BankingAndroidApp/src/main/res/values/styles.xml +++ b/ui/BankingAndroidApp/src/main/res/values/styles.xml @@ -7,6 +7,9 @@ @color/colorPrimaryDark @color/colorAccent + @color/textColorPrimary + @color/textColorSecondary + @color/fabTextColor @color/fabLabelBackgroundColor @color/fabShadowColor