OSDN Git Service

Use config_headlineFontFamilyMedium for actionBar/toolbar.
authorAndrew Sapperstein <asapperstein@google.com>
Wed, 24 Jan 2018 01:31:29 +0000 (17:31 -0800)
committerAndrew Sapperstein <asapperstein@google.com>
Sun, 8 Apr 2018 20:50:28 +0000 (13:50 -0700)
commit569bfdda6c17440dff38b37a5cba89815cd00739
tree428f2fd41cfabd3c1f9f45ed04ff5a8ce504563a
parent4f9d750e91061923da90ef174a592fc59d0eff9e
Use config_headlineFontFamilyMedium for actionBar/toolbar.

Updates the fontFamily used for Theme.DeviceDefault.Settings's
actionBarStyle's titleTextStyle to be config_headlineFontFamilyMedium.

Also updates the toolbarStyle for DeviceDefault themes to use a new
DeviceDefault version that sets titleTextAppearance to a DeviceDefault
version that picks up the fontFamily change made above.

This allows greater customization of system surfaces for OEMs.

Bug: 69314526
Test: visual inspection
Change-Id: Ida9bfaba1e136f29ae80715d1648f13f7b2f2126
core/res/res/values/styles_device_defaults.xml
core/res/res/values/themes_device_defaults.xml