summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-06-03 16:22:01 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2014-06-03 16:34:17 -0700
commit31335eafbe552f0d9ca91ac9dd5f489a04a7ced3 (patch)
treea4d0d6b99f9292c0166d75925b379fe1976a9ae5 /res
parentf541710a34576bb75428dc77b3b1c514763a33b3 (diff)
downloadpackages_apps_Settings-31335eafbe552f0d9ca91ac9dd5f489a04a7ced3.zip
packages_apps_Settings-31335eafbe552f0d9ca91ac9dd5f489a04a7ced3.tar.gz
packages_apps_Settings-31335eafbe552f0d9ca91ac9dd5f489a04a7ced3.tar.bz2
Fix bug #15410103 Wi-Fi Dialog needs theme updates
- apply the correct Theme to the AlertDialog Change-Id: I39a33b6a6630b6ba89f60a5a28fd8295687a86d1
Diffstat (limited to 'res')
-rw-r--r--res/values/themes.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/values/themes.xml b/res/values/themes.xml
index a42697d..6b0b957 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -81,6 +81,8 @@
<item name="android:colorAccent">@color/quantum_accent_color_light</item>
<!-- Redefine the ActionBar style for contentInsetStart -->
<item name="android:actionBarStyle">@style/Theme.ActionBar</item>
+
+ <item name="android:alertDialogTheme">@style/Theme.AlertDialog</item>
</style>
<style name="Theme.ActionBar" parent="@android:style/Widget.Quantum.Light.ActionBar.Solid">
@@ -102,4 +104,16 @@
<item name="android:actionBarTheme">@android:style/ThemeOverlay.Quantum.Dark</item>
</style>
+ <style name="Theme.AlertDialog" parent="@*android:style/Theme.Quantum.Light.Dialog.Alert">
+ <item name="android:windowSoftInputMode">adjustResize</item>
+
+ <item name="android:colorPrimary">@color/actionbar_background_color</item>
+ <!-- Used by the StatusBar and NavBar -->
+ <item name="android:colorPrimaryDark">@color/actionbar_background_color</item>
+ <!-- Redefine control activited color for progress bars and the like -->
+ <item name="android:colorAccent">@color/quantum_accent_color_light</item>
+ <!-- Redefine the ActionBar style for contentInsetStart -->
+ <item name="android:actionBarStyle">@style/Theme.ActionBar</item>
+ </style>
+
</resources>