By golly! This does work! Mark what's the theory - is this by design (weight vs fill_parent)? Are my expectations wrong? I mean - why then not really fill the whole parent but fill from the current position to the bottom?
Bo On Aug 1, 7:54 am, Mark Murphy <[email protected]> wrote: > droidin.net wrote: > > I have a vertical, set height (300px)LinearLayout(LL) with 3 nested > > LLs. 1 and 3rd are set with android:layout_height="wrap_content" and > > the middle one with android:layout_height="fill_parent". To my dismay, > > 3rd LL get's pushed out with 2nd one filling parent layout right to > > the bottom. How do I achieve desired effect since I want potentially > > resize the outside container with the middle portion expending and > > contracting to accommodate the change > > Use layout_height="0px" and layout_weight="1". > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

