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 -~----------~----~----~----~------~----~------~--~---

