summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2021-09-21 17:19:11 +0200
committerDanny Baumann <dannybaumann@web.de>2021-09-21 17:19:11 +0200
commita32ed434b68823f66343a0b00bf52a3e32f45926 (patch)
tree4a1e129341130f9c213f6fefa8fd0cbc8bca6462 /java
parent087d382c17c17092820dea1300802dca5816a869 (diff)
Fix status bar colors in detail activities.
Change-Id: I0994bd1fd9922f18a08364a0d88426d88cb04b6a
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/main/impl/res/values/styles.xml2
-rw-r--r--java/com/android/dialer/theme/base/res/values/theme_dialer_light.xml2
2 files changed, 4 insertions, 0 deletions
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 63d4cad29..4b153b680 100644
--- a/java/com/android/dialer/main/impl/res/values/styles.xml
+++ b/java/com/android/dialer/main/impl/res/values/styles.xml
@@ -36,6 +36,8 @@
<item name="actionModeStyle">@style/MainActionModeStyle</item>
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
<item name="dialpad_style">@style/Dialpad.Themed</item>
+ <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item>
+ <item name="colorPrimaryDark">@color/dialer_theme_color_dark</item>
</style>
<style name="MainActivityThemeBase.Dark" parent="Dialer.Dark.ThemeBase.NoActionBar">
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 f0e7e6fad..61e0a1b7b 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
@@ -37,6 +37,8 @@
base style once none of our activities depend on ActionBar anymore. -->
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
+
+ <item name="android:colorPrimaryDark">@color/settings_primary_dark</item>
<item name="colorControlHighlight">@color/dialer_ripple_color</item>
</style>