From a50f6ac8f89431a53d190bd6f24a27f4485b3c7d Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 22 Oct 2020 22:38:18 +0200 Subject: [PATCH] Set text color of buttons in settings dialog to same color as in Android settings app --- ui/BankingAndroidApp/src/main/res/layout/dialog_settings.xml | 4 ++-- ui/BankingAndroidApp/src/main/res/values/colors.xml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/BankingAndroidApp/src/main/res/layout/dialog_settings.xml b/ui/BankingAndroidApp/src/main/res/layout/dialog_settings.xml index c8330b86..838be146 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/dialog_settings.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/dialog_settings.xml @@ -102,7 +102,7 @@ android:textAlignment="gravity" style="?android:attr/buttonBarButtonStyle" android:textAllCaps="false" - android:textColor="@color/materialDesignTextColorPrimary" + android:textColor="@color/formButtonsTextColor" android:textSize="@dimen/dialog_settings_navigate_to_sub_dialog_button_text_size" android:text="@string/dialog_settings_secure_app_data" /> @@ -126,7 +126,7 @@ android:gravity="start|center_vertical" android:textAlignment="gravity" android:textAllCaps="false" - android:textColor="@color/materialDesignTextColorPrimary" + android:textColor="@color/formButtonsTextColor" android:textSize="@dimen/dialog_settings_navigate_to_sub_dialog_button_text_size" android:text="@string/dialog_settings_send_message_log_title" /> diff --git a/ui/BankingAndroidApp/src/main/res/values/colors.xml b/ui/BankingAndroidApp/src/main/res/values/colors.xml index 8cf07541..979d02a6 100644 --- a/ui/BankingAndroidApp/src/main/res/values/colors.xml +++ b/ui/BankingAndroidApp/src/main/res/values/colors.xml @@ -19,6 +19,7 @@ #494949 #999999 + @color/formLabelTextColor @color/formLabelTextColor @color/primaryTextColor_Dark