diff options
author | Tor Norbye <tnorbye@google.com> | 2012-11-29 16:18:19 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-11-29 16:20:40 -0800 |
commit | 4c2c7f656cc57c1f12d0efa1a753ab372b6b69de (patch) | |
tree | 7bdd01af267305330f3d0d3033699c149cfefee4 /screenshot | |
parent | e36c788c93fc115415241e31d0d4ea2107aef19b (diff) | |
download | sdk-4c2c7f656cc57c1f12d0efa1a753ab372b6b69de.zip sdk-4c2c7f656cc57c1f12d0efa1a753ab372b6b69de.tar.gz sdk-4c2c7f656cc57c1f12d0efa1a753ab372b6b69de.tar.bz2 |
Make inefficient weight detector identify more candidates
The inefficient weight detector looks for horizontal layouts with
weights where all the children are layouts. It didn't have a very good
heuristic for finding out whether all children are layouts; it just
looked for whether the tag name contains "Layout".
This changeset generalizes this a bit, adding other layouts, as well
as <fragment> tags to the lint check.
It also updates the Master/Detail template to set the baseline
alignment attribute to false (to avoid triggering the updated lint
check), as well as android:textIsSelectable to clear another recent
new lint rule.
Change-Id: I887962b5e29a9ad0c5b5c01970b0c66f884125d8
Diffstat (limited to 'screenshot')
0 files changed, 0 insertions, 0 deletions