title: How to arrange two linear layouts inside a relative layout in android?
body: <p>The attached image contain <strong>3</strong> layouts </p>
  
  <ol>
  <li><strong>Relative layout</strong> <br></li>
  <li><strong>Linear layout</strong> <br></li>
  <li><strong>Linear layout</strong><br></li>
  </ol>
  
  <p>Both the linear layouts are of <em>same size</em> and are <em>overlapped</em>.</p>
  
  <p>All i want to know is how to arrange those two linear layouts inside the relative layout so that Linear <strong>layout 1</strong> &amp; <strong>Linear layout 2</strong> will have <strong>90%</strong> of parent height. Also <strong>linear layout 1</strong> must be aligned to the <strong>top</strong> of relative layout while <strong>linear layout 2</strong> to the <strong>bottom</strong> of relative layout.</p>
  
  <p>Any simple working solution will be appreciated.( I'm a <em>newbie</em> to android studio)</p>
  
  <p><a href="https://i.stack.imgur.com/dSSnK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dSSnK.jpg" alt="enter image description here"></a></p>