summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2018-06-01 17:20:36 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2018-06-01 18:42:20 +0530
commitaf814951f3692a9e34e184d779fb7fb1f11a0425 (patch)
treee897a979d35b2ab8b2826c7d855119fa7849638e /app/src/main/res/values
parenta54a03aa2fac50c997546ea23a3f7f91e6d64c23 (diff)
fab: Make label responsive to night mode
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/colors.xml2
-rw-r--r--app/src/main/res/values/styles.xml2
2 files changed, 3 insertions, 1 deletions
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 @@
<color name="list_item_activated">#cfd8dc</color> <!-- Blue Grey 200 -->
<color name="list_item_ripple">#808e95</color> <!-- Blue Grey 200 dark -->
<color name="accent">#2196F3</color>
+ <color name="fab_label_text_color">#ffffff</color>
+ <color name="fab_label_background_color">#444444</color>
</resources>
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 @@
<style name="fab_label" parent="android:TextAppearance.DeviceDefault.Inverse">
<item name="android:background">@drawable/fab_label_background</item>
- <item name="android:textColor">#ffffff</item> <!-- TODO(msf): themeify this -->
+ <item name="android:textColor">@color/fab_label_text_color</item>
</style>
</resources>