summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2022-05-20 18:38:16 +0000
committer Matt Casey <mrcasey@google.com> 2022-05-26 17:32:21 +0000
commit2078d3125fd81b3ffe5a797a420bdd9ce3735bc8 (patch)
treead0db6dd43109b526ebaefde947094a818bc9016 /libs/androidfw/StringPool.cpp
parent811e3c9d08e9d54f8e31a5068bd65281477a589f (diff)
Minimize distance between text and pin in direct share row
When the TextView takes up multiple lines, the layout acts as if the full width is used, thus pushing the pin all the way to the left. This change measures the text itself and computes an ideal width for the TextView based upon the line measurements. Test: Visual inspection: pin several targets: single line, first line longer, second line longer, etc. Observe spacing. Bug: 232445263 Change-Id: Id7601c58aae1e28c66c5311ba66b288443d73272
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions