title: Prevent layout to resize after background
body: <p>Im trying to set a backgound to a RelativeLayout. 
  The issue is that the layout is resized after the size of the image, which i don't want. I want the layout to be sized after the two textviews.</p>
  
  <p>Anyway to prevent the layout to be scaled to the size of the background? </p>
  
  <p>This is the xml-code</p>
  
  <pre><code>   &lt;RelativeLayout
      android:id="@+id/hud"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@+drawable/hud_background"
      android:layout_weight="1" &gt;
  
      &lt;TextView
          android:id="@+id/lblScore"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_centerVertical="true"
          android:text="Score: " /&gt;
  
      &lt;TextView
          android:id="@+id/txtScore"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignBaseline="@+id/lblScore"
          android:layout_alignBottom="@+id/lblScore"
          android:layout_toRightOf="@+id/lblScore"
          android:text="00" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Regards</p>