On Fri, Dec 10, 2010 at 10:20 PM, darrinps <[email protected]> wrote:

> So how can I get this concoction to center?
>

For gravity on the top row use center_horizontal and bottom, then for the
bottom row use center_horizontal and top.

And if that doesn't work, try to simplify things and just use a single
RelativeLayout and align each of the four ImageViews relative to each other.

RANT: To me this is the hardest part of working with Android. Everything
> else is fairly straight forward in good old Java, but this layout stuff,
> IMHO, is not very intuitive to say it in the kindest way I know how.
>

It's not perfect, but it's not so bad once you get the hang of it. At some
point most of it just "clicks".

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to