If the parent container for both the button and list view is a linear layout, you should be able to set the list view's layout_height="0dpi" and layout_weight="1"
G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do On Friday, June 22, 2012 2:07:41 PM UTC-7, bob wrote: > > Am I the only one who is continuously baffled by Android layouts? > > Can someone help me with this layout problem I'm struggling with? > > Basically, I have a ListView that's on top of a button. The button's > height should be wrap_content. The ListView height should be whatever's > left. Anyone know how to do this? > > > Thanks. > > > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en