On Fri, Nov 26, 2010 at 2:17 PM, Daniel <[email protected]> wrote:

> I tried the following and it did work - I had a vertical linear layout
> object, added a TextView to it, and then added my other linear layout
> object with the images. In my LL object with images, I set the gravity
> to BOTTOM like this:
> optionsLayout.setGravity(Gravity.BOTTOM);
>
> However, the LL with images did not go to the bottom of the screen.
>

Note that setGravity sets the gravity of the child items of the view, so
what you did there was tell the image views to align to the bottom of the
containing linear layout.

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