diff options
author | Daniel U <uda@google.com> | 2015-12-23 10:43:46 +0000 |
---|---|---|
committer | Daniel U <uda@google.com> | 2016-01-27 14:37:44 +0000 |
commit | b138e2877823a0e9f9d834059a64d4035556562b (patch) | |
tree | 74c74fef1e1156c90599773b28e1aabc005e1ce9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5c02d7374f36672e8c3bab8c7cf519ed4a4d8ead (diff) |
Enhance support to text size spans in toHtml()
Convert AbsoluteSizeSpan to <span> with CSS font-size property with CSS
px as the unit of measurement. Sizes measured in Android px are converted
to dip, since there is no CSS unit which conveys the idea of a device
pixel.
Add support to RelativeSizeSpan, which converts to <span> with CSS
font-size property with em as the unit of measurement.
Change-Id: I9104cc5f9b00ab1a31929565dc49e0026466cc75
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions