diff options
author | Jiaquan He <hejq@google.com> | 2017-02-06 15:59:26 -0800 |
---|---|---|
committer | Jiaquan He <hejq@google.com> | 2017-04-12 18:24:52 +0000 |
commit | 8062949ece210df7c7a61478448d05c8ad286d58 (patch) | |
tree | a2453e8c7b3eea624dd7c353a16bbae2cef5479a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b7daaf8b5f9a41f92da58d86bf4be758ac27df6c (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