diff options
author | Evan Rosky <erosky@google.com> | 2016-12-16 17:27:55 -0800 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2017-01-19 15:39:05 -0800 |
commit | 4c8c963eced8e145ecf314a41c8396c7df8e0a39 (patch) | |
tree | 6e1c75c4320d999355d418e9cfe5da2a6f745d13 /tools/aapt2/diff/Diff.cpp | |
parent | 2cddef3329c751262e9783f760c1761972278272 (diff) |
Add support for automatic focusability determination
New android:focusable attribute value "auto" and corresponding constant
FOCUSABLE_AUTO specifies that the framework can determine a view's
focusability. For now, the only "auto" logic is that focusable = clickable.
This has the effect of making clickable views focusable by default
unless the developer has explicitly set them focusable=false.
Bug: 31963283
Change-Id: Icce768fa701966970ea6b3469b33a4ef97ebc3ea
Test: Added CTS test, related CTS passes, made a test-app which
enumerates all clickable/focusable combinations to verify
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions