From 46d0ebd2126fad6b1480fa5c8121e4638c463c73 Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Sun, 15 May 2011 13:14:19 -0700 Subject: Basic fragment support This changeset adds preliminary support for fragments: * Add to the palette, along with a drop handler which pops up a class chooser to pick the Fragment class; all project implementations of android.app.Fragment and android.support.v4.app.Fragment are listed. * Adds a fragment descriptor such that code completion works for elements * Fix project callback such that it does not complain about a missing class "fragment". * Fix outline to display the name of the fragment rather than the fragment tag name. * This changeset also centers the label in MockViews since those are still used to render fragments Change-Id: I6e062970b335d9c95870f181ed408960978c423e --- .../com.android.ide.eclipse.adt/icons/fragment.png | Bin 0 -> 473 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 eclipse/plugins/com.android.ide.eclipse.adt/icons/fragment.png (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/icons') diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/icons/fragment.png b/eclipse/plugins/com.android.ide.eclipse.adt/icons/fragment.png new file mode 100644 index 0000000..35b62b6 Binary files /dev/null and b/eclipse/plugins/com.android.ide.eclipse.adt/icons/fragment.png differ -- cgit v1.1