LinearLayout and android:layout_weight, or RelativeLayout and appropriate anchoring rules. I tend to prefer the RelativeLayout approach, because it's a bit more self-documenting IMHO, but they're equally valid.
On Thu, Nov 3, 2011 at 4:49 PM, bob <[email protected]> wrote: > I have a need for a layout where there is a top bar of a determined > size, a bottom bar of a determined size, and a middle that expands to > fill the remainder. What is the best way to do this on Android? > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

