On Sun, Dec 12, 2010 at 1:55 PM, Tim H. <[email protected]> wrote: > a) For layouts to work in 1.5, you have to put them in a specific > order - To do this correctly, I can no longer move views up or down, I > have to manually edit the xml - the new drag-and-drop seems to prevent > you from making a mistake in this regard, but doesn't allow it to be > corrected (i.e. you get a Red box with the X across it)
Oh, is this with the issue what you cannot reference an item that's declared after? hmm yeah we're going to have to fix this. > b) The drag-and-drop method is very "align-happy" in RelativeLayout - > many times I have to go and remove alignments that it added > automatically - it reminds of of something akin to FrontPage creating > HTML.. throwing on properties that may or may not be necessary :) Well we certainly want to be able to add/remove links after drops. I think allowing any kind of alignment at drop is going to be very hard, and you can't have any links at all. It's probably going to be a necessary evil. > c) The new system makes it difficult if not impossible to align one > layout with another - for example, try to add two Linear Layouts > inside a RelativeLayout, one below the other. hmm how is that different from before? > d) Even with 'Display extra margins' turned on, it is sometimes > difficult to drag new views into an empty layout - particularly when > there is a number of other views nearby. This was not difficult > before, when I could just right-click and add a view to the empty > layout yeah I agree. I mentioned above that empty layouts are now automatically expanded during drag and drop, and it's a really nice workflow, imo. > There are improvements for sure, like I said, I'm ecstatic that they > are working to make it easier, but as bad as the old method was, I > find myself having more difficulties now than before.. maybe I just > need more time to get used to it. I don't think it's you. We decided to move to this one as it roughly reached the level of the previous one (since this is full rewrite). We obviously didn't expect some people relied a lot on the add/remove/move buttons in the outline. Hopefully we'll get to a point soon where you don't need them any more. Xav > On Dec 12, 3:51 pm, Bob Kerns <[email protected]> wrote: >> I thought I had this issue. But it turned out to be that I didn't know >> how to use the new RelativeLayout functionality. >> >> You can't just drop the new view anywhere, you have to drop it onto >> the specific locations that indicate what relationship the new view >> should have to what's there. Including the initial content view, which >> you need to relate to the parent. >> >> It's really quite slick, guiding you toward a "correct-by- >> construction" approach that really helps you get relative layouts >> right without thinking much about it. But it's baffling at first. >> >> On Dec 12, 12:19 pm, "Tim H." <[email protected]> wrote: >> >> > - After deleting some views, suddenly I can no longer add new views > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

