title: Android RelativeLayout stretch background
body: <p>all.
  this is my layout code:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      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:background="@mipmap/backgroung"
      tools:context=".MainScreen"&gt;
  
  
      &lt;Button
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="30pt"
          android:text="@string/level1"
          android:onClick="@string/level1"
          android:id="@+id/level1"/&gt;
      &lt;Button
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="60pt"
          android:text="@string/level2"
          android:id="@+id/level2"/&gt;
      &lt;Button
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="90pt"
          android:text="@string/level3"
          android:id="@+id/level3"/&gt;
  </code></pre>
  
  <p>It look like is:</p>
  
  <p><a href="https://i.stack.imgur.com/KlKNm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KlKNm.png" alt="enter image description here"></a></p>
  
  <p>I want that the punch photo will stretch all over the white background.</p>
  
  <p>Thanks for helpers!</p>