summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2016-04-20 15:45:34 +0900
committerSeigo Nonaka <nona@google.com>2016-04-22 19:06:53 +0900
commit77972bbf2cc65a8ea961e3a1b84b4f631b87fdb8 (patch)
treeac3b091b77ce3eaf3342eee3dbbb1f36cb49492c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0fb51357afb64a034a59f68a926f79d18213c72c (diff)
Fix unexpected truncation again.
Unexpected truncation happens again after [1]. This is fixed by setting match_parent into the container LinearLayout. For the unexpected truncation of Holo Theme is came from other but related root cause. To calculate the window and container width, need to add container padding in addition to the maximum width of the text view. Otherwise the width of the container view will be shrunk and the contents will be truncated. This only happens on Holo Theme since the padding of the container is zero on Material Theme. I manually confirmed this CL doesn't revive following issues - 28034210 - 27341560 [1]: I67886a752ef110d3433dddd6aa8447a9027f8e19 [2]: I69b258687b4bf5510d9b2c3e690c88106bf893f5 Bug: 28266493 Bug: 28281740 Change-Id: Ie6d274714ac08080dc22aeb8ecd8b7729cb634cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions