title: Android difficulty with linearlayout inside scrollview
body: <p>I have a problem with my layout, the last linearlayout doesn't seem to expand fully. FYI this is my xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/scrollView1"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" &gt;
  
  
  &lt;LinearLayout
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:background="@drawable/ihealthfirst"
  android:orientation="vertical" &gt;
  
  &lt;include
      android:layout_width="fill_parent"
      android:layout_height="match_parent"
      layout="@layout/tabsfornutrition" /&gt;
  
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
  
      &lt;ImageView
          android:id="@+id/imagefruits"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:contentDescription="@string/vegetables"
          android:paddingBottom="15dp"
          android:paddingLeft="15dp"
          android:paddingRight="15dp"
          android:paddingTop="15dp"
          android:src="@drawable/fruits_logo" /&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:paddingRight="15dp"
          android:paddingTop="35dp" &gt;
  
          &lt;TextView
              android:id="@+id/txtApples"
              style="@style/NutritionText"
              android:layout_width="fill_parent"
              android:layout_height="0dp"
              android:layout_gravity="fill_vertical"
              android:layout_weight="0.50" /&gt;
  
          &lt;Button
              android:id="@+id/btViewApples"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:text="@string/viewnutritionalfacts" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  
  
  &lt;LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical"
      android:layout_gravity="bottom" &gt;
  
  &lt;TextView
      android:id="@+id/descheader"
      style="@style/DescriptionHeader"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:paddingLeft="15dp"
      android:paddingRight="15dp"
      android:text="@string/description" /&gt;
  
  
  &lt;TextView
      android:id="@+id/fruitDesc"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_gravity="center_vertical|right"
      android:paddingLeft="15dp"
      android:paddingTop="10dp" /&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ZuKey.png" alt="enter image description here"></p>
  
  <p>If you could help me, I'd appreciate it. Thanks</p>