[android-developers] Fill-remainder layout?

2010-12-24 Thread John Lussmyer
I'm used to Java Swing layout managers (especially GridBagLayout), and I haven't been able to figure out to do something relatively simple with the Android layouts. I want to have a bar of controls at the top, and another bar of controls at the bottom. Then I want to have an area in the middle

Re: [android-developers] Fill-remainder layout?

2010-12-24 Thread Kostya Vasilyev
Here is a couple ways: 1 - RelativeLayout: RelativeLayout fill_parent, fill_parent LinearLayout id=@+id/top_bar layout_height=wrap_content *layout_alignParentTop=true* ... / LinearLayout id=@+id/bottom_bar layout_height=wrap_content *