diff options
author | Seigo Nonaka <nona@google.com> | 2017-04-01 16:28:11 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2017-04-04 10:12:55 -0700 |
commit | fe04aa840e0682e9813e1ac4958772f898eb02ca (patch) | |
tree | abd6da7e100e79b0954123d47e93a904133d9019 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2ac969827115c1b8bc86d9017eb1c7c1d5421b10 (diff) |
Pass weight/italic pair instead of style.
Typeface.NORMAL/BOLD/ITALIC/ITALIC_BOLD is used for specifying relative
from current Typeface. For example
Typeface face = Typeface.create("serif");
Typeface thickerFace = Typeface.create(face, Typeface.BOLD);
Typeface moreThickerFace = Typeface.create(tickerFace, Typface.BOLD);
For the purpose of providing font information, we should use weight/italic
value instead of style in Typeface.
The Columns.STYLE field was kept for preventing runtime crash of demo
apps.
Test: Manually
Change-Id: I732e8ee04a66f61321fc0a98dbfb8fdc0a4dd7a4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions