title: Linear Layout Height and Weight
body: <p>I have the following</p>
  
  <pre><code>&lt;linearLayout&gt;
  &lt;RelativeLayout&gt;
      &lt;!-- Header --&gt;
  &lt;/RelativeLayout&gt;
  
  &lt;linearLayout
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:weightSum="6"&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="1"&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/linearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>However the layouts are not assuming to fill the height properly I wish to for the desired effect of one linearLayout below another and to take up 1/6th of the parent space.</p>
  
  <p>Instead it seems to be applying the weight to the width of the element.</p>
  
  <p>What is the correct method to assume percentage height in Android?  Width seems to be a breeze with Weight but I can't seem to get it correct on Height.</p>