>From my experience, within LinearLayouts, the behavior is the same, but RelativeLayouts behave differently. I have a layout which I tried to convert from LinearLayout to RelativeLayout to save one nesting level, but I couldn't make the RelativeLayout look the same on 2.2 as on previous versions. Since this was not too criticial for me, I just went back to a LinearLayout and it's all good.
On Jun 20, 7:19 pm, goosedroid <[email protected]> wrote: > I noticed that many Google apps use negative margins, just running the > grep > > $ grep -R 'margin[^ ]*="-' * > > on various git repositories reveals Music, Contacts, Settings ... even > stuff in base/core/res uses them. > > I'm confused. Are there certain places where it is acceptable, and > others where it is not? > > On Jun 3, 9:26 am, Romain Guy <[email protected]> wrote: > > > > > You are usingnegativemargins, which has an unspecified behavior. > > > On Thu, Jun 3, 2010 at 5:48 AM, mp6800 <[email protected]> wrote: > > > Some more info on this - Turns out it /does/ affect top & bottom as > > > well as left & right. I posted screenshots and a sample Eclipse > > > project here: > > > >http://www.anddev.org/view-layout-resource-problems-f27/layout-margin... > > > > -- > > > 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 > > > -- > > Romain Guy > > Android framework engineer > > [email protected] > > > Note: please don't send private questions to me, as I don't have time > > to provide private support. All such questions should be posted on > > public forums, where I and others can see and answer them- Hide quoted text > > - > > - Show quoted text - -- 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

