diff options
author | Robert Carr <racarr@google.com> | 2015-12-02 16:53:18 -0800 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2015-12-03 15:19:07 -0800 |
commit | 31e2848cc0dcb13ae0d8244a917fb2a4b1c73fbc (patch) | |
tree | 373fffaa6aef09860000ea884350316d715fc3e5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 353ad63fe13037f36253629655d89b4c7777fd1b (diff) |
Fix repositionChild positioning.
Two seperate issues corrected. First top and left
were swapped as parameters to repositionChild. Second
the recent change to update attributes was incomplete.
Updating the attributes fixes the size and scaling
but its also necessary to update the frame in order
to trigger an update to mShownPosition. Extract and
use a method applyGravityAndUpdateFrame to do so.
Bug: 25791641
Change-Id: Id0b98d587e8acf163121b28eb377c4cf83ebc58b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions