Вы должны использовать layout_weight так:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
//....
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1" // use layout weight
android:orientation="vertical"
>