summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Attwell <brianattwell@google.com>2014-08-21 11:36:55 -0700
committerBrian Attwell <brianattwell@google.com>2014-08-21 11:36:55 -0700
commit558ee7471eedbd366ead18c99c33a0b1f37f5db4 (patch)
tree01e824c5a7e7c405c2f572080ebc34abdd7b8f9f
parente7005cbfeb69825c8fa3db81f30122b046d04cbf (diff)
downloadandroid_packages_apps_Dialer-558ee7471eedbd366ead18c99c33a0b1f37f5db4.tar.gz
android_packages_apps_Dialer-558ee7471eedbd366ead18c99c33a0b1f37f5db4.tar.bz2
android_packages_apps_Dialer-558ee7471eedbd366ead18c99c33a0b1f37f5db4.zip
Change default alert dialog theme's accentColor
Bug: 17164053 Change-Id: I3ccdb6a8e31a83a42d6b294e5b41aa9d3cd1632a
-rw-r--r--res/values/styles.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 3fb590a96..9d0fcd0ea 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -29,6 +29,7 @@
<item name="android:windowContentOverlay">@null</item>
<item name="android:listViewStyle">@style/ListViewStyle</item>
<item name="android:overlapAnchor">true</item>
+ <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
<item name="activated_background">@drawable/list_item_activated_background</item>
<item name="section_header_background">@drawable/list_title_holo</item>
<item name="list_section_header_height">32dip</item>
@@ -167,4 +168,10 @@
<item name="android:colorAccent">@color/dialtacts_theme_color</item>
<item name="android:textColorLink">@color/dialtacts_theme_color</item>
</style>
+
+ <!-- Inherit from Theme.Material.Light.Dialog instead of Theme.Material.Light.Dialog.Alert
+ since the Alert dialog is private. They are identical anyway. -->
+ <style name="AlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
+ <item name="android:colorAccent">@color/dialtacts_theme_color</item>
+ </style>
</resources>