From ec22f92d53f4bb74313b91aa491acbfbbb6dc9ce Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Fri, 13 May 2011 13:25:15 -0700 Subject: Custom View handling improvements First and foremost, allow custom views to accept children such that you can drag & drop children into the custom view in the outline. Second, prevent an NPE which can occur if you drag into a layout where the root element is a custom view. Third, handle (not ) better: provide a custom icon, and inline the view class name in the outline label. Fourth, allow double clicks (in addition to ctrl-click which is already supported) on the custom views in the palette to allow jumping to the custom view code. Change-Id: I13c2bf2f4169185c9fcc893ce487f2abdac46802 --- .../plugins/com.android.ide.eclipse.adt/icons/view.png | Bin 0 -> 394 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 eclipse/plugins/com.android.ide.eclipse.adt/icons/view.png (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/icons') diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/view.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/view.png new file mode 100644 index 0000000..35c4d8f Binary files /dev/null and b/eclipse/plugins/com.android.ide.eclipse.adt/icons/view.png differ -- cgit v1.1