diff options
author | Jiaquan He <hejq@google.com> | 2017-02-06 15:59:26 -0800 |
---|---|---|
committer | Jiaquan He <hejq@google.com> | 2017-03-30 13:30:45 -0700 |
commit | 801353e7c5358d6c3bf6f7f294dac4ed72bc5214 (patch) | |
tree | 9caad1890b1054610e8dcbe7a6c185e2c928fc63 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 617077851db7b80486366f6e221dfa8f615d315f (diff) |
Draw a default focus highlight if needed.
This commit draws a default highlight for a focused
View if it's detected to have no state_focused defined
and its useDefaultFocusHighlight attribute is true.
When we detect a default highlight is needed, we show it
on top of the view to. Once we detect that it's no longer
needed, we remove it.
Test: Check that views without a focused_state in its
state spec have a default highlight when they get focused.
Bug: 35096940
Change-Id: Ifbe4bb9e1297d98845314e24d8b758f14e5987a9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions