title: How to allow a layout to occupy all the space not used by other layouts
body: <p>I have a RelativeLayout</p>
  
  <pre><code>&lt;RelativeLayout
  
     &lt;RelativeLayout ID = TOP
       &lt;!--Height  = wrap_content --&gt;
     &lt;/RelativeLayot&gt;
  
  
     &lt;RelativeLayout ID = MIDDLE
  
          &lt;RelativeLayot ID = mid1
           &lt;!-- Placement Below TOP, allign ParentStart --&gt;
           &lt;!-- Height  = wrap_content --&gt;
          &lt;/RelativeLayout&gt;
  
         &lt;RelativeLayot ID = mid2
           &lt;!-- Placement Below TOP and right of mid1 --&gt;
           &lt;!-- Height  = wrap_content --&gt;
         &lt;/RelativeLayout&gt;
    &lt;/RelativeLayout&gt;
  
    &lt;RelativeLayout ID = BOTTOM
      &lt;!--Height  = wrap_content --&gt;
      &lt;!-- Placement below MIDDLE, alligne Parent Bottom
    &lt;/RelativeLayot&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>My requirement is this, Hight ofTOP and BOTTOM Layouts shout be of their content and the MIDDLE layout remaing space in the middle and its contents should be centered horizontaly and vertically. I tried height =0- and layout weight but anot able to achieve this.</p>