aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.adt/icons
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-04-16 13:52:02 -0700
committerTor Norbye <tnorbye@google.com>2012-04-19 14:07:57 -0700
commit5cae1eabc82d4fcd106897abb9acbd482ad2f849 (patch)
treefa6fa5ee6b661eedba52bcee188f79d02b6f28b8 /eclipse/plugins/com.android.ide.eclipse.adt/icons
parent1f59a8c5333ad020b391dd9d6d065a7ec51164d1 (diff)
downloadsdk-5cae1eabc82d4fcd106897abb9acbd482ad2f849.zip
sdk-5cae1eabc82d4fcd106897abb9acbd482ad2f849.tar.gz
sdk-5cae1eabc82d4fcd106897abb9acbd482ad2f849.tar.bz2
Improved layout window management
This changeset improves the way the layout editor handles windows. In particular, it attempts to make the property sheet and the outline more visible. Specifically: * It adds the WindowBuilder docking support, which offers several new features: (1) You can collapse and expand the palette and structure views. If you hover over a collapsed palette (for example) it temporarily opens, and when you drag from it over to the canvas it collapses again. (2) The initial size is pixel based rather than percentage based, so the default palette size is more reasonable on large displays (it used to always take 20%, which was fine on a small screen but a waste on larger screens). (3) You can drag & drop to reconfigure the layout a bit. (This is fairly limited though; in particular, you cannot drag these views out of the editor area and mix them with Eclipse views.) * When the property sheet view is not shown anywhere else, it is shown as part of the outline instead (sharing the vertical space). This works better for the new property sheet implementation since it works better as a vertical window than a horizontal window. * When the outline is not shown anywhere else, it is shown in a new composite window *inside* the editor area. This mode is also entered when you temporarily maximize the layout editor window. * The layout canvas is auto-fit-zoomed when you enter and exit maximized mode, as well as when you open or close docked windows within the editor. The goal is for these changes to offer a good layout editing experience with the outline views and property sheets *without* using a new perspective for layout editing. Note that this is not identical to what WindowBuilder does; they always embed both the palette and the structure views within the editor area, which means the structure view is typically redundant with the outline view on the right unless you maximize the view. With the approach above hopefully we'll avoid that case and you'll always see the views without redundancy (and therefore with more available space for the layouts). Change-Id: I0d338b2781b9732e992f088fcc4e1ba46ff0954f
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/icons')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/icons/components_view.pngbin0 -> 340 bytes
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.pngbin430 -> 0 bytes
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/icons/palette.pngbin0 -> 804 bytes
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/icons/properties_view.pngbin0 -> 454 bytes
4 files changed, 0 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/components_view.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/components_view.png
new file mode 100644
index 0000000..9f9755f
--- /dev/null
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/components_view.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.png
deleted file mode 100644
index c682f57..0000000
--- a/eclipse/plugins/com.android.ide.eclipse.adt/icons/editor_palette.png
+++ /dev/null
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/palette.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/palette.png
new file mode 100644
index 0000000..fd7ca1c
--- /dev/null
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/palette.png
Binary files differ
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/properties_view.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/properties_view.png
new file mode 100644
index 0000000..8df5d2d
--- /dev/null
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/icons/properties_view.png
Binary files differ