Yes, this is due to the layout being empty. This is fixed for the next version where empty layout automatically expands to a non zero size during drag and drop.
Xav On Thu, Dec 9, 2010 at 5:06 PM, Prashast <prash...@gmail.com> wrote: > Hi Xavier, > > Unfortunately, the drag and drop feature as it is right now is not > good enough to warrant removing the up and down arrow keys. More often > than not I cannot get drag and drop to give me the option I want. Let > me give you a simple example > <?xml version="1.0" encoding="utf-8"?> > <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:id="@+id/TestRelativeLayout"> > <LinearLayout android:layout_alignParentTop="true" > android:layout_height="wrap_content" > android:layout_width="wrap_content" > android:id="@+id/TestLinearLayout"></LinearLayout> > </RelativeLayout> > > Try to add a view to the LinearLayout (within the RelativeLayout) > > Adding a view to RelativeLayout > On Dec 9, 10:12 am, Xavier Ducrohet <x...@android.com> wrote: >> hey all, >> >> We're actively working on the editor, so this is good feedback. >> >> The new editor in 8.x might look the same, but it's completely >> different underneath and we have added the +/- features back. >> the "-" button should be replaced by delete anyway. You can right >> click and choose delete or simply hit delete on your keyboard. >> >> The "+" option is indeed replaced by drag and drop. We've improved >> drag and drop significantly (and still improving it for the next >> version), and should be good enough that using "+" isn't needed. >> In some cases too, "+" isn't enough, you need more information to know >> where the item will be placed (like when dropping into a >> relativeLayout). >> (same thing with the up/down arrows) >> >> >> >> >> >> >> >> >> >> On Tue, Dec 7, 2010 at 11:52 PM, oriharel <ori.ha...@gmail.com> wrote: >> > Before the newest version I was able to create hierarchies using drag >> > n' drop, performed on the outline view. >> > Since the upgrade, I can't and the controls ('+', '-' and arrows) are >> > missing. >> >> > So how am I suppose to build view hierarchies now? >> >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Android Developers" group. >> > To post to this group, send email to android-developers@googlegroups.com >> > To unsubscribe from this group, send email to >> > android-developers+unsubscr...@googlegroups.com >> > For more options, visit this group at >> >http://groups.google.com/group/android-developers?hl=en >> >> -- >> Xavier Ducrohet >> Android SDK Tech Lead >> Google Inc. >> >> Please do not send me questions directly. Thanks! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en