diff options
author | Raph Levien <raph@google.com> | 2016-04-04 12:34:06 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2016-04-04 12:34:06 -0700 |
commit | 07e6c237d3f19b98bbec237892a785fd3895368a (patch) | |
tree | 74b62281e7880d65aa3e87d32a8ed444e454fde9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7eb716c0f4a024e2673f6fce442005abd4dc19f5 (diff) |
Apply correct bottom padding to layouts
The returned descender value for BoringLayout and StaticLayout should
be equal to the font's "bottom" metric in the includePadding case.
Previously, the calculation incorrectly included an addition
mBottomPadding value in some cases (which was an attempt to work
around the case where maxLines was set on TextView but not the
corresponding StaticLayout, no longer the case).
Bug: 27901763
Change-Id: I008c5974b979087725a9bb9104e4771b0caac01c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions