From 4245dc7cc0fe66208f9b59956b63ac47be0ac649 Mon Sep 17 00:00:00 2001 From: serso Date: Sat, 23 Jan 2016 13:52:11 +0100 Subject: [PATCH] Fix text color in KeyboardUi --- .../main/java/org/solovyev/android/calculator/KeyboardUi.java | 4 ++-- app/src/main/res/values/colors.xml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/solovyev/android/calculator/KeyboardUi.java b/app/src/main/java/org/solovyev/android/calculator/KeyboardUi.java index 227b7408..2268ccda 100644 --- a/app/src/main/java/org/solovyev/android/calculator/KeyboardUi.java +++ b/app/src/main/java/org/solovyev/android/calculator/KeyboardUi.java @@ -56,8 +56,8 @@ public class KeyboardUi { this.parameterNames = parameterNames; this.dragListener = new SimpleDragListener(buttonHandler, user.getContext()); final Resources resources = user.getResources(); - textColor = resources.getColor(R.color.cpp_button_text); - textColorSecondary = resources.getColor(R.color.cpp_button_text); + textColor = resources.getColor(R.color.cpp_kb_button_text); + textColorSecondary = resources.getColor(R.color.cpp_kb_button_text); sidePadding = resources.getDimensionPixelSize(R.dimen.cpp_button_padding); buttonBackground = App.getTheme().light ? R.drawable.material_button_light : R.drawable.material_button_dark; } diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index c93a1422..9cffc0c2 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -26,6 +26,7 @@ #424242 @color/cpp_text + #ffd4d4d4 #ffffffff #ffffff99 #ffffff99