diff options
author | Tor Norbye <tnorbye@google.com> | 2012-05-22 22:09:35 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-05-24 11:32:58 -0700 |
commit | 5ae903bf8670f40e9eb40ebbd0a25c15eaac5962 (patch) | |
tree | 94f1e3eb3a911a292705f4bf55b80f5a3e1eb653 /eclipse/plugins/com.android.ide.eclipse.adt/icons | |
parent | eaa58fb5b20b4fe9a1b7354391d8afe49de65104 (diff) | |
download | sdk-5ae903bf8670f40e9eb40ebbd0a25c15eaac5962.zip sdk-5ae903bf8670f40e9eb40ebbd0a25c15eaac5962.tar.gz sdk-5ae903bf8670f40e9eb40ebbd0a25c15eaac5962.tar.bz2 |
Improved lint integration in the layout editor
This changeset improves the lint integration in the layout editor in
the following ways:
- The outline now shows error or warning indicators in the bottom left
corners of the icons for any specific views that have one or more
lint warnings associated with them. There is a tooltip if you hover
over the icon which displays the lint message.
- The layout editor canvas displays little warning indicators in the
bottom right corner of the views (provided the views are larger than
the icons; e.g. empty layouts, as well as views that are zoomed out
very far will not show lint indicators).
- There is a tooltip hover in the canvas as well. In order to avoid
obscuring content, it shows up at the bottom of the view. It might
also show multiple lines: one for each lint warning in a view near
the cursor. (This is important if you for example have a warning
both on a layout and a widget inside that layout.)
- The error indicator in the upper right corner, which used to be a
(too small) warning icon is instead an issue count now. Clicking on
the issue count opens up the lint file dialog.
- The lint file dialog now contains a button to suppress issues by
attributes (and fixed some other minor bugs related to keeping
expanded categories expanded across refreshes and setting an initial
selection).
- Lint is run automatically when the layout is opened up (3 seconds
after the first successful render). This makes the error indicators
show up (until now, it would only run single-file-lint after the
first edit operation).
Change-Id: I306aca390d70bf025f5e86fc21ae7b6bc0036d8d
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/icons')
12 files changed, 0 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/error-badge.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/error-badge.png Binary files differnew file mode 100644 index 0000000..2e63c35 --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/error-badge.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint1.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint1.png Binary files differnew file mode 100644 index 0000000..aa6f067 --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint1.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint2.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint2.png Binary files differnew file mode 100644 index 0000000..8434b78 --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint2.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint3.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint3.png Binary files differnew file mode 100644 index 0000000..43ab63e --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint3.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint4.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint4.png Binary files differnew file mode 100644 index 0000000..67fee2d --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint4.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint5.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint5.png Binary files differnew file mode 100644 index 0000000..3d0c188 --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint5.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint6.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint6.png Binary files differnew file mode 100644 index 0000000..42a9767 --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint6.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint7.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint7.png Binary files differnew file mode 100644 index 0000000..743aabc --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint7.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint8.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint8.png Binary files differnew file mode 100644 index 0000000..927067a --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint8.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint9.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint9.png Binary files differnew file mode 100644 index 0000000..44e66a0 --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint9.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint9p.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint9p.png Binary files differnew file mode 100644 index 0000000..853ace9 --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/lint9p.png diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/warning-badge.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/warning-badge.png Binary files differnew file mode 100644 index 0000000..d71d6e3 --- /dev/null +++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/warning-badge.png |