>
> Look at LinearLayout and the weight attribute. In your case, the button
> with no weight and the ListView with weight set to 1 will tell the
> LinearLayout "give the button the room it needs, the fill the rest with the
> ListView.
>

That might work... I seem to recall a similar situation where I couldn't
get it to work until I used a RelativeLayout.  It had something to do with
the scrolling nature of ListView... But I may be completely wrong on that.


Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Jun 22, 2012 at 4:22 PM, TreKing <[email protected]> wrote:

> Look at LinearLayout and the weight attribute. In your case, the button
> with no weight and the ListView with weight set to 1 will tell the
> LinearLayout "give the button the room it needs, the fill the rest with the
> ListView.
>

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