title: How to strech one RelativeLayout inside another?
body: <p>I've got one RelativeLayout inside another one and I want the inside layout to have the same width as the outside.</p>
  
  <p>What I have:</p>
  
  <p><img src="https://i.stack.imgur.com/qc9vG.png" alt="one"></p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/main_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin" 
      android:visibility="visible"
      tools:context=".MainActivity" &gt;    
  
      &lt;RelativeLayout
          android:id="@+id/fragment_container"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentRight="true"
          android:layout_below="@+id/lady"
          android:visibility="visible" &gt;
      &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>What I need:</p>
  
  <p><img src="https://i.stack.imgur.com/47vMc.png" alt="two"></p>