OSDN Git Service

Add hooks to configure system button text styling.
authorAndrew Sapperstein <asapperstein@google.com>
Tue, 14 Nov 2017 00:08:46 +0000 (16:08 -0800)
committerAndrew Sapperstein <asapperstein@google.com>
Tue, 28 Nov 2017 15:26:56 +0000 (07:26 -0800)
commit32ce9f76d7febd168c261dc6846358430df23cce
tree33ab0fd357becc243677c02550db6b542d91e99c
parent178dfc661de3c0c19502a615c44f9695204c552f
Add hooks to configure system button text styling.

Adds configuration values to change the styling of buttons on system
surfaces. Specifically, adds config_fontFamilyButton and
config_buttonTextAllCaps to control the default font and whether text
is all caps.

Additionally, adds plumbing so that these configs are utilized by
Theme.DeviceDefault (and descendent) themes. Some styles are added/updated
for this support.

Bug: 64122537
Bug: 69314526
Test: ag/3228846
Change-Id: I08406633bd744c6f58d5144d035aa27bf9c175df
api/current.txt
core/res/res/values/config.xml
core/res/res/values/dimens.xml
core/res/res/values/public.xml
core/res/res/values/styles_device_defaults.xml
core/res/res/values/styles_material.xml
core/res/res/values/themes_device_defaults.xml