I think centerHorizontal centers it w.r.t the parent.How does that matter? If both items are centered horizontally with respect to the parent and they have the same parent, they would, by definition, be centered horizontally with respect to themselves.
But my UI elements parent is the layout itself.
So?
And I did try "centerHorizontal" on the 2 UI child elements that I want to center align, and it didn't work.
What does your XML look like?
Maybe because those controls already have a horizontal-align flag set???
Did you set it? If so, then quite possibly. If not, then probably not... What does your XML look like?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Apr 9, 2012 at 2:29 AM, Put_tiMe <puttime@gmail.com> wrote:
I think centerHorizontal centers it w.r.t the parent.
--
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