diff options
author | Android Dialer <noreply@google.com> | 2018-05-22 15:00:50 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-22 15:32:22 -0700 |
commit | 97308c9593ca8f5a5eace8eda5551857ed28499c (patch) | |
tree | 7974589a192b12ed2941aa955dc8546c5af4ef34 /java | |
parent | 0956d35903f49a3985a05fd7ea64869555d477b3 (diff) |
Use new dialer base theme instead of AppCompat theme for spam blocking promo
dialog.
Test: N/A
PiperOrigin-RevId: 197629283
Change-Id: Ia1765cb42f08002c671a5ac4a774d9b69dfaeda0
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/incallui/theme/res/values/styles.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/java/com/android/incallui/theme/res/values/styles.xml b/java/com/android/incallui/theme/res/values/styles.xml index 6bbad4e87..086d12e19 100644 --- a/java/com/android/incallui/theme/res/values/styles.xml +++ b/java/com/android/incallui/theme/res/values/styles.xml @@ -62,9 +62,12 @@ <item name="dialpad_text_color_secondary">?android:attr/textColorSecondaryInverse</item> </style> - <style name="AfterCallNotificationTheme" parent="@android:style/Theme.Material.Light.Dialog"> - <!-- This colorAccent is to style checkboxes in the dialogs --> - <item name="colorAccent">?android:attr/colorPrimary</item> + <style name="AfterCallNotificationTheme" parent="Dialer.ThemeBase.NoActionBar"> + <item name="android:windowNoTitle">true</item> + <item name="android:windowBackground">@android:color/transparent</item> + <item name="android:colorBackgroundCacheHint">@null</item> + <item name="android:windowIsTranslucent">true</item> + <item name="android:windowAnimationStyle">@android:style/Animation</item> </style> <style name="AfterCallDialogStyle" parent="@android:style/Theme.Material.Light.Dialog"> |