From cf2aa7869a79b21458cb31ed8562b77acb77511c Mon Sep 17 00:00:00 2001 From: Moez Bhatti Date: Sun, 6 Dec 2015 21:27:44 -0500 Subject: [PATCH] Improve colors for dark AMOLED theme --- QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java | 7 ++++++- QKSMS/src/main/res/values/themes.xml | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java b/QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java index ecd25eaf..08ce3924 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/ui/ThemeManager.java @@ -519,10 +519,15 @@ public class ThemeManager { switch (sTheme) { case WHITE: return sResources.getColor(R.color.grey_light_mega_ultra); + case OFFWHITE: return sResources.getColor(R.color.white_pure); - default: + + case GREY: return sResources.getColor(R.color.grey_dark); + + default: + return sResources.getColor(R.color.grey_material); } } diff --git a/QKSMS/src/main/res/values/themes.xml b/QKSMS/src/main/res/values/themes.xml index 50dfe48d..257e1eba 100644 --- a/QKSMS/src/main/res/values/themes.xml +++ b/QKSMS/src/main/res/values/themes.xml @@ -38,11 +38,11 @@ @style/ActionBarTheme - +