summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ats Jenk <atsjenk@google.com> 2022-05-31 16:22:08 -0700
committer Ats Jenk <atsjenk@google.com> 2022-05-31 17:06:08 -0700
commitbe3b3cfd3c67512739618a26d7039a996cae18b4 (patch)
treee03aa9d9a90e51c775ca7e76a4c9102827a38fb5 /libs/androidfw/StringPool.cpp
parent2e83cb0c22d9d6832137e61ad1dc4029683b1577 (diff)
Position bubbles from right to left
When a RTL language is used, position bubbles from right to left when the stack is expanded. BubblePositioner uses view index to position bubbles on screen. Reverting the index in case of RTL languages so calculations are done with last bubble in the list landing on the left side etc. Bug: 234071989 Test: manual, on phone, set device language to Arabic, expand bubble stack, observe overflow icon on the left, top bubble on the right Test: manual, on tablet, set device language to Arabic, expand bubble stack, obserer top bubble on top, overflow at the bottom Change-Id: I297f1e653046d488e6de9ac81eb6bfb8d3afef1d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions