Use a veritcal LinearLayout and simply give the middle TextView the attribute android:layout_weight="1.0". That's all.
On Mon, Feb 2, 2009 at 12:17 PM, Mike <[email protected]> wrote: > > Let's say I want to make a layout that has 3 TextViews, one on top of > the other. But, I want the top TextView to always "stick" to the top > of the screen (regardless of orientation), and I want the bottom > TextView to always "stick" to the bottom of the screen. Then I want > the middle TextView to always fill the available space in between > (again, regardless of screen orientation). > > I've had no luck with LinearLayout and I've come close with > RelativeLayout but neither have provided by desired solution. > > Any ideas? > > Mike > > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

