summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/theme
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2018-05-24 14:21:14 -0700
committerEric Erfanian <erfanian@google.com>2018-05-30 14:03:54 +0000
commite70ef90dda54b30fb3ed4db35f35f875f4a47500 (patch)
tree0998a32525d89f0967d49705e24c14142b9395d0 /java/com/android/dialer/theme
parente3146e09656add2e586455657bc83f12e8dd3f9c (diff)
Fix a few UI bugs.
- clear call log dialog no longer crashes - phone account selector dialog now has a visible title - dialpad text in the incall ui is now visible. Bug: 80144855,80146941,80175230 Test: tap PiperOrigin-RevId: 197952658 Change-Id: Ifaea9b798fef7e36d681a83269e4f65df33f1193
Diffstat (limited to 'java/com/android/dialer/theme')
-rw-r--r--java/com/android/dialer/theme/private/res/values/styles.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/java/com/android/dialer/theme/private/res/values/styles.xml b/java/com/android/dialer/theme/private/res/values/styles.xml
index 158cd190d..90e452993 100644
--- a/java/com/android/dialer/theme/private/res/values/styles.xml
+++ b/java/com/android/dialer/theme/private/res/values/styles.xml
@@ -26,6 +26,7 @@
<!-- Used to automatically style AlertDialogs -->
<item name="alertDialogTheme">@style/AlertDialogTheme</item>
+ <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
</style>
<style name="Dialer.Dark" parent="Theme.AppCompat">
@@ -38,6 +39,7 @@
<!-- Used to automatically style AlertDialogs -->
<item name="alertDialogTheme">@style/AlertDialogTheme</item>
+ <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
</style>
<!-- Used to style all Dialer's button's text. Every button is awarded this for free if the parent
@@ -49,7 +51,9 @@
<!-- Used to style all Dialer's AlertDialogs. Every button is awarded this for free if the parent
activity's theme extends from Dialer.ThemeBase(.NoActionBar) or doesn't specify a theme. -->
<style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
+ <item name="android:textColorPrimary">@color/dialer_primary_text_color</item>
<!-- TODO(a bug): figure out why ?android:attr/colorPrimary doesn't work here -->
+ <item name="android:colorAccent">@color/dialer_theme_color</item>
<item name="colorAccent">@color/dialer_theme_color</item>
</style>
-</resources> \ No newline at end of file
+</resources>