On Tue, Mar 22, 2011 at 11:43 AM, Tobiah <[email protected]> wrote:

> When I get enough items, the button gets pushed off of the bottom of the
> screen and disappears.  How can I avoid this?
>

Set the weight on the ListView to 1.


> I'm also not sure how to anchor the button to the bottom in the beginning
> when the ListView has only a few items.  As it is, it hugs the ListView and
> moves down as the list grows.
>

Set LinearLayout to fill parent and the button gravity to Bottom.


You really should be using XML to lay stuff out ....

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