Fix font for actionbar in device default

The font family was not being set on the action bar causing
it to revert to roboto. This simply overrides that to match the
light theme version (since they should use the same font).

Test: Manually observing title text in Settings > Accessibility >
      Text-to-speech output > cog icon
Bug: 129995075

Change-Id: Ic5415e3441a978e7af500549bfcca8083b704b39
This commit is contained in:
Salvador Martinez
2019-04-25 14:54:14 -07:00
parent f49ca51851
commit 8f34886215

View File

@@ -99,6 +99,7 @@ easier.
<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">
<item name="titleTextStyle">@style/TextAppearance.DeviceDefault.Widget.ActionBar.Title</item>
<item name="background">?attr/colorPrimaryDark</item>
<item name="backgroundStacked">?attr/colorPrimaryDark</item>
<item name="backgroundSplit">?attr/colorPrimaryDark</item>