Fix bug #15410103 Wi-Fi Dialog needs theme updates

- apply the correct Theme to the AlertDialog

Change-Id: I39a33b6a6630b6ba89f60a5a28fd8295687a86d1
This commit is contained in:
Fabrice Di Meglio
2014-06-03 16:22:01 -07:00
parent f541710a34
commit 31335eafbe

View File

@@ -81,6 +81,8 @@
<item name="android:colorAccent">@color/quantum_accent_color_light</item> <item name="android:colorAccent">@color/quantum_accent_color_light</item>
<!-- Redefine the ActionBar style for contentInsetStart --> <!-- Redefine the ActionBar style for contentInsetStart -->
<item name="android:actionBarStyle">@style/Theme.ActionBar</item> <item name="android:actionBarStyle">@style/Theme.ActionBar</item>
<item name="android:alertDialogTheme">@style/Theme.AlertDialog</item>
</style> </style>
<style name="Theme.ActionBar" parent="@android:style/Widget.Quantum.Light.ActionBar.Solid"> <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> <item name="android:actionBarTheme">@android:style/ThemeOverlay.Quantum.Dark</item>
</style> </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> </resources>