Update action bar dark theme style

Sets the background colors for action bars in the dark theme
style for DeviceDefault to use a black background. Settings
was overriding it locally so other apps weren't getting the
correct color.

Test: visual inspection
Bug: 120422008
Change-Id: Ic2b0235b7825a5651d1db52265dea5e74af7c2fe
This commit is contained in:
Salvador Martinez
2019-03-28 15:14:54 -07:00
parent da8ecc5154
commit 8f3087bd2e

View File

@@ -98,7 +98,11 @@ easier.
<style name="Widget.DeviceDefault.ActionBar.TabView" parent="Widget.Material.ActionBar.TabView"/>
<style name="Widget.DeviceDefault.ActionBar.TabText" parent="Widget.Material.ActionBar.TabText"/>
<style name="Widget.DeviceDefault.ActionBar.TabBar" parent="Widget.Material.ActionBar.TabBar"/>
<style name="Widget.DeviceDefault.ActionBar.Solid" parent="Widget.Material.ActionBar.Solid"/>
<style name="Widget.DeviceDefault.ActionBar.Solid" parent="Widget.Material.ActionBar.Solid">
<item name="background">?attr/colorPrimaryDark</item>
<item name="backgroundStacked">?attr/colorPrimaryDark</item>
<item name="backgroundSplit">?attr/colorPrimaryDark</item>
</style>
<style name="Widget.DeviceDefault.Button.Borderless.Small" parent="Widget.Material.Button.Borderless.Small"/>
<style name="Widget.DeviceDefault.AbsListView" parent="Widget.Material.AbsListView"/>
<style name="Widget.DeviceDefault.Spinner.DropDown.ActionBar" parent="Widget.Material.Spinner.DropDown.ActionBar"/>