I\'ve seen several examples that use android:layout_height=\"0px\" or \"0dip\" but i do not understand the impact of this. It seems that would make the layout 0 pixels tall.
A relevant example from the official developer docs (http://developer.android.com/guide/topics/ui/layout/linear.html):
Equally weighted children
To create a linear layout in which each child uses the same amount of space on the screen, set the android:layout_height of each view to "0dp" (for a vertical layout) or the android:layout_width of each view to "0dp" (for a horizontal layout). Then set the android:layout_weight of each view to "1".