title: How do i set a layout which has a top,center, and bottom element?
body: <p>I have 2 LinearLayouts and a button within a relative layout.
  They should look like this:</p>
  
  <p>A LinearLayout with a top bar  (Approx. 20% of the screen)</p>
  
  <hr>
  
  <p>Lots of elements in a scrollview which takes up most of the screen (Approx. 60% of the screen)</p>
  
  <hr>
  
  <p>A Button at the bottom (Approx. 20% of the screen)</p>
  
  <p>I have tried this:</p>
  
  <pre><code>&lt;RelativeLayout
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"&gt;
  
     &lt;LinearLayout
     android:id="@+id/layoutTopBlack"
     android:layout_alignParentTop="true"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"&gt;
     &lt;include layout="@layout/top_black_bar_cancel_register_button"/&gt; 
  &lt;/LinearLayout&gt; 
  
      &lt;LinearLayout
     android:id="@+id/layoutCenter"
     android:layout_below="@id/layoutTopBlack"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"&gt;
     &lt;include layout="@layout/top_black_bar_cancel_register_button"/&gt; 
  &lt;/LinearLayout&gt; 
  
      &lt;Button 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:id="@+id/buttonNextStep"
      android:text="@string/next_step"
      style="@style/mainButtonStyle"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>This does not work. The layoutCenter lays itself over the button, so i never see the button.</p>
  
  <p>Any suggestions?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Edit:
  I found this from the editor:
  Couldn't resolve resource @id/layoutTopBlack</p>