diff options
author | Kirill Grouchnikov <kirillg@google.com> | 2017-04-26 17:45:28 -0400 |
---|---|---|
committer | Kirill Grouchnikov <kirillg@google.com> | 2017-04-26 17:45:28 -0400 |
commit | 3218a4e4f548a26e5783d3a56d150f07deeca448 (patch) | |
tree | 4e849b45e60528acd43f05ebd5fc168aee25fb0a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1c661d1943338f96bda3f0e83e8fa36066b83f53 (diff) |
Tweak initialization order of LinearLayout's dividers
In ag/969570 we've unified the treatment of divider logic
in LinearLayout. However, setDividerDrawable logic that was
calling setWillNotDraw added condition that the divider
position is not NONE. That made the initial flow effectively
not calling setWillNotDraw(false).
Changing the order to call setDividerDrawable() at the end
invokes the right logic.
Test: adb shell am instrument -e class 'android.widget.cts.LinearLayoutTest' -w 'android.widget.cts/android.support.test.runner.AndroidJUnitRunner'
Bug: 37698004
Change-Id: I8d95770b9f48277c402708fbc5279ba2ec56719f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions