diff options
author | Scott Warner <Tortel1210@gmail.com> | 2020-06-24 15:38:56 -0400 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-12-12 01:23:35 +0200 |
commit | f5251dc6b9f65a458114c266ce11757184fc22a1 (patch) | |
tree | 4db56aa3372c48e08d104d7aba3ab201554dc587 /java/com/android/dialer/main/impl/res | |
parent | 97cca091f467918df80ab0553365a0aff158d9c3 (diff) |
Dialer: Use a DayNight launch theme
This prevents the white launch screen from appearing when the system theme
is dark
Change-Id: I1ee8ff493910578b5e5c9de67ea1f7390178051a
Diffstat (limited to 'java/com/android/dialer/main/impl/res')
-rw-r--r-- | java/com/android/dialer/main/impl/res/values/styles.xml | 7 |
1 files changed, 7 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 25f247e15..139b8b249 100644 --- a/java/com/android/dialer/main/impl/res/values/styles.xml +++ b/java/com/android/dialer/main/impl/res/values/styles.xml @@ -16,6 +16,13 @@ --> <resources> + <style name="LaunchTheme" parent="Theme.AppCompat.DayNight.DarkActionBar"> + <item name="android:colorPrimary">@color/dialer_theme_color</item> + <item name="colorPrimary">@color/dialer_theme_color</item> + <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item> + <item name="colorPrimaryDark">@color/dialer_theme_color_dark</item> + </style> + <!-- Activities should use this theme as their style --> <style name="MainActivityTheme" parent="MainActivityThemeBase"/> |