title: Setting a background image to a view stretches my view
body: <p>I created a background image bitmap for a view and now the view is being stretched to the size of the background image....</p>
  
  <p>is this normal?</p>
  
  <blockquote>
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;bitmap xmlns:android="http://schemas.android.com/apk/res/android"
          android:src="@drawable/green"
          android:tileMode="repeat"/&gt;
  </code></pre>
  </blockquote>
  
  <p>here's how I apply it to my view</p>
  
  <pre><code>v.setBackgroundResource(R.drawable.backgroundgreen);
  </code></pre>
  
  <p>for instance...</p>
  
  <p>if the image is 500px in height
  and the view is 200px in height(being set wrap_content as height)
  after setting the image as background my view becomes 500px in height...</p>