diff options
author | Harsh Shandilya <harsh@prjkt.io> | 2018-06-01 17:20:36 +0530 |
---|---|---|
committer | Harsh Shandilya <harsh@prjkt.io> | 2018-06-01 18:42:20 +0530 |
commit | 86d0db6c30a17c60db94823864071f748243b46b (patch) | |
tree | e897a979d35b2ab8b2826c7d855119fa7849638e /app/src/main/res/values | |
parent | ec92769588186e147462a02078041bca1588987d (diff) |
fab: Make label responsive to night mode
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/colors.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 2 |
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> |