From 9f5f0ee9b232f53a12d28a269b25b54af2406702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timi=20Rautam=C3=A4ki?= Date: Sun, 11 Jul 2021 19:56:07 +0200 Subject: Dialer: set statusbar color same as activity background * Keep styles that use actionBar as is because it uses normal actionbar * Set light statusbar attribute for some styles Change-Id: I8748aa4d12f8e0c68d14d514ea5a2bd4100ee3ca --- .../dialer/main/impl/res/values-night/styles.xml | 27 ++++++++++++++++++++++ .../android/dialer/main/impl/res/values/styles.xml | 1 + .../theme/base/res/values/theme_dialer_light.xml | 1 + .../theme/common/res/values-night/colors.xml | 21 +++++++++++++++++ .../hidden/res/values-night/colors_dialer_dark.xml | 2 +- .../hidden/res/values/colors_dialer_light.xml | 3 ++- 6 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 java/com/android/dialer/main/impl/res/values-night/styles.xml create mode 100644 java/com/android/dialer/theme/common/res/values-night/colors.xml (limited to 'java') diff --git a/java/com/android/dialer/main/impl/res/values-night/styles.xml b/java/com/android/dialer/main/impl/res/values-night/styles.xml new file mode 100644 index 000000000..63d4e9c1e --- /dev/null +++ b/java/com/android/dialer/main/impl/res/values-night/styles.xml @@ -0,0 +1,27 @@ + + + + + + + diff --git a/java/com/android/dialer/main/impl/res/values/styles.xml b/java/com/android/dialer/main/impl/res/values/styles.xml index 139b8b249..63d4cad29 100644 --- a/java/com/android/dialer/main/impl/res/values/styles.xml +++ b/java/com/android/dialer/main/impl/res/values/styles.xml @@ -21,6 +21,7 @@ @color/dialer_theme_color @color/dialer_theme_color_dark @color/dialer_theme_color_dark + true diff --git a/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml b/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml index 9a181b2f0..1d9ef699e 100644 --- a/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml +++ b/java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml @@ -28,6 +28,7 @@ @style/DialerActionBarBaseTheme @drawable/abc_list_selector_holo_dark + @color/settings_primary_dark @color/dialer_ripple_color diff --git a/java/com/android/dialer/theme/common/res/values-night/colors.xml b/java/com/android/dialer/theme/common/res/values-night/colors.xml new file mode 100644 index 000000000..aa42d8b88 --- /dev/null +++ b/java/com/android/dialer/theme/common/res/values-night/colors.xml @@ -0,0 +1,21 @@ + + + + + + #1C3AA9 + diff --git a/java/com/android/dialer/theme/hidden/res/values-night/colors_dialer_dark.xml b/java/com/android/dialer/theme/hidden/res/values-night/colors_dialer_dark.xml index 38a17c5ce..74cbb89c5 100644 --- a/java/com/android/dialer/theme/hidden/res/values-night/colors_dialer_dark.xml +++ b/java/com/android/dialer/theme/hidden/res/values-night/colors_dialer_dark.xml @@ -17,7 +17,7 @@ #5195EA #335195EA - #2374CE #5195EA #33ffffff + #2374CE diff --git a/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml b/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml index e688ee149..4aa0b121c 100644 --- a/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml +++ b/java/com/android/dialer/theme/hidden/res/values/colors_dialer_light.xml @@ -17,8 +17,9 @@ #2A56C6 #332A56C6 - #1C3AA9 + @color/dialer_background_color #F50057 #FAFAFA #1f000000 + #1C3AA9 -- cgit v1.2.3