Thursday, June 3, 2010

[android-developers] Re: Layout margin left/right issue in 2.2?

Ah, so I /am/ doing something wrong. What is the proper way to center
align with an offset? I've yet to find anything in the docs.


On Jun 3, 12:35 pm, Romain Guy <romain...@android.com> wrote:
> They're not going too far. From what I can tell, your layout was
> relying on a broken behavior in previous versions of Android.
>
>
>
>
>
> On Thu, Jun 3, 2010 at 9:33 AM, mp6800 <mport...@gmail.com> wrote:
> > Thanks for the reply.  What about the positive margins?  They're doing
> > the same thing (going too far in 2.2)
>
> > On Jun 3, 12:26 pm, Romain Guy <romain...@android.com> wrote:
> >> You are using negative margins, which has an unspecified behavior.
>
> >> On Thu, Jun 3, 2010 at 5:48 AM, mp6800 <mport...@gmail.com> 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 android-developers@googlegroups.com
> >> > To unsubscribe from this group, send email to
> >> > android-developers+unsubscribe@googlegroups.com
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/android-developers?hl=en
>
> >> --
> >> Romain Guy
> >> Android framework engineer
> >> romain...@android.com
>
> >> 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
>
> > --
> > 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+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> 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

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment