diff options
author | Matthew Ng <ngmatthew@google.com> | 2018-09-12 16:05:41 -0700 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2018-09-21 17:40:27 -0700 |
commit | 25593cc9b8e0fe13da8bf7bbf5683cc5f09c2a79 (patch) | |
tree | 44d1ce48ba6e0179c3f421fde0de2717d6211203 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c95add6ddc8902e6b5b30afccae1b16aa0f06a18 (diff) |
Refactored the contextual group of buttons that appear on the nav bar
Refactored NavigationBarView's contextual buttons to keep track of just
one button's visiblity with its container group. The visiblity is
determined by the priority of the buttons. For example, accessibility
has the highest priority, if that is visible, no other buttons can take
its place, however if menu button is visible, then rotation can appear
instead.
Bug: 116041410
Test: atest NavigationBarContextTest
Change-Id: Ic0762c7b7121a313b7c08989f9ab761426372c5c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions