Fix DeviceDefault theme/style bugs where parent styles were
incorrectly specified. This affected search bars and alert dialogs spawned from activities using Theme.DeviceDefault.Light as a base. Change-Id: I219d38d486498db5b4b283560256afd7d6051535
This commit is contained in:
@@ -687,7 +687,7 @@ easier.
|
||||
<style name="AlertDialog.DeviceDefault" parent="AlertDialog.Holo">
|
||||
|
||||
</style>
|
||||
<style name="AlertDialog.DeviceDefault.Light" parent="AlertDialog.DeviceDefault.Light" >
|
||||
<style name="AlertDialog.DeviceDefault.Light" parent="AlertDialog.Holo.Light" >
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
@@ -411,13 +411,13 @@ easier.
|
||||
<style name="Theme.DeviceDefault.Dialog.Alert" parent="Theme.Holo.Dialog.Alert">
|
||||
<item name="windowTitleStyle">@android:style/DialogWindowTitle.DeviceDefault</item>
|
||||
</style>
|
||||
<style name="Theme.DeviceDefault.Light.Dialog.Alert" parent="Theme.DeviceDefault.Light.Dialog.Alert">
|
||||
<style name="Theme.DeviceDefault.Light.Dialog.Alert" parent="Theme.Holo.Light.Dialog.Alert">
|
||||
<item name="windowTitleStyle">@android:style/DialogWindowTitle.DeviceDefault.Light</item>
|
||||
</style>
|
||||
<style name="Theme.DeviceDefault.SearchBar" parent="Theme.DeviceDefault.SearchBar">
|
||||
<style name="Theme.DeviceDefault.SearchBar" parent="Theme.Holo.SearchBar">
|
||||
|
||||
</style>
|
||||
<style name="Theme.DeviceDefault.Light.SearchBar" parent="Theme.DeviceDefault.Light.SearchBar">
|
||||
<style name="Theme.DeviceDefault.Light.SearchBar" parent="Theme.Holo.Light.SearchBar">
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user