diff options
author | Tor Norbye <tnorbye@google.com> | 2013-03-15 19:57:32 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2013-03-20 15:18:05 -0700 |
commit | 2ea2b907f5779cca05046238621d8961c6be9e03 (patch) | |
tree | 83ca6a6b7767cb5b15016539f6c90dba04a5355e /android/testData/render | |
parent | c34e8adcfdf5f24436b90abdd4867f93a35cc4ff (diff) | |
download | idea-2ea2b907f5779cca05046238621d8961c6be9e03.tar.gz |
New render error handling
This changeset replaces the error list in the layout render preview
with an error panel near the bottom which is overlaid on top of the
rendering (and is partially translucent). The error output is
formatted HTML (similar to the code analysis details pane). There are
hyperlinks to perform actions (also similar to e.g. how suppress works
in the code analysis panel).
The existing fixes were ported (e.g. configure SDK, or change
compilation target from 1.7 to 1.6) and new ones were added, such as
actions to insert all missing layout_width or layout_height
attributes, checking missing class names for typos and offering to
replace them with the correct spelling, building the project, creating
a custom view class from an unknown tag, show javadoc, as well
as diagnostic help such as identifying missing style errors and
suggesting that the wrong theme might be chosen.
Change-Id: I4f903af43473bf7f4b2e7d5b090d1ff385cb6f45
Diffstat (limited to 'android/testData/render')
-rw-r--r-- | android/testData/render/layout1.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/android/testData/render/layout1.xml b/android/testData/render/layout1.xml new file mode 100644 index 00000000000..d5b80e8a4d5 --- /dev/null +++ b/android/testData/render/layout1.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout/> + + <LinerLayout android:layout_width="match_parent" + android:layout_height="match_parent"/> +</RelativeLayout> |