diff options
author | Hidehiko Tsuchiya <hidehiko.xa.tsuchiya@sonymobile.com> | 2017-11-13 10:52:23 +0900 |
---|---|---|
committer | Takamasa Kuramitsu <takamasa.kuramitsu@sony.com> | 2017-11-16 21:55:45 +0900 |
commit | a0c8c1cfc81e33435687a3bc030621e3d4fe5f95 (patch) | |
tree | ac807d09bb29aa7be0405eba9907978ddd4fa4d7 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d88abc7b607ffb41581b5621c955d1e1ffc687ef (diff) |
Fix an incorrect display position of error popup in RTL layout
Symptom:
The display position of error popup is incorrect in RTL layout such as
Arabic language.
Root cause:
In LTR layout, a popup window is anchored to the bottom-left corner of
the anchor view. But in RTL layout, it's anchored to the bottom-right.
showError calculates a position for RTL by itself and it gets a wrong
result.
Solution:
Set the base alignment of the error popup to the bottom-left even though
it's in RTL.
Bug: 69402857
Change-Id: Iae099984e6c47feca078658ddc44ab905995fe0d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions