From 5345befd9bbaded79c6ae4fda01a4f66079c492e Mon Sep 17 00:00:00 2001 From: Wiktor Date: Mon, 25 Jun 2018 19:40:37 +0200 Subject: [PATCH] Set navigation bar color to dark on dark theme (#3091) * Allow overriding ConversationsTheme.Dark This change splits the dark theme style into two styles - base that stays the same in all configurations and Dark - the original - that can be overridden in specific configurations to add version specific styles. * Set navigation bar color to dark on dark theme Use secondary background color as navigation bar color when using dark theme. This avoids mismatched white colors on certain system themes. --- src/main/res/values-v21/themes.xml | 6 ++++++ src/main/res/values/themes.xml | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/main/res/values-v21/themes.xml diff --git a/src/main/res/values-v21/themes.xml b/src/main/res/values-v21/themes.xml new file mode 100644 index 0000000000000000000000000000000000000000..5fda8f5149a655a2e8c85e7961e1c8b7bc06cc0b --- /dev/null +++ b/src/main/res/values-v21/themes.xml @@ -0,0 +1,6 @@ + + + + diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index a1a7999029a2727f5d792a53ac6d169ad2ba1750..532214c81fe6a9e94430628a27b55d1802164489 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -99,7 +99,9 @@ @drawable/ic_new_releases_black_24dp -