From af814951f3692a9e34e184d779fb7fb1f11a0425 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 1 Jun 2018 17:20:36 +0530 Subject: fab: Make label responsive to night mode Signed-off-by: Harsh Shandilya --- app/src/main/res/drawable/fab_label_background.xml | 2 +- app/src/main/res/values-night/colors.xml | 5 +++++ app/src/main/res/values/colors.xml | 2 ++ app/src/main/res/values/styles.xml | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/values-night/colors.xml (limited to 'app') diff --git a/app/src/main/res/drawable/fab_label_background.xml b/app/src/main/res/drawable/fab_label_background.xml index d626f442..92c42569 100644 --- a/app/src/main/res/drawable/fab_label_background.xml +++ b/app/src/main/res/drawable/fab_label_background.xml @@ -6,5 +6,5 @@ android:left="8dp" android:right="8dp" android:top="4dp" /> - + diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml new file mode 100644 index 00000000..c890589a --- /dev/null +++ b/app/src/main/res/values-night/colors.xml @@ -0,0 +1,5 @@ + + + #000000 + #bbbbbb + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 09be7e8f..85a98e12 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -4,4 +4,6 @@ #cfd8dc #808e95 #2196F3 + #ffffff + #444444 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index ea2b1434..11696213 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -11,7 +11,7 @@ -- cgit v1.2.3