title: Android - Make a background image not stretch it's assigned view out
body: <p>Hooray for pictures!  Here's what it looks like when assigning the picture to the background, and when not.  </p>
  
  <p><img src="https://i.stack.imgur.com/HfgqO.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/gChQ9.png" alt="enter image description here"></p>
  
  <p>I'd very much like for it to not stretch out the top <code>TableView</code> if the image is larger than the table.  I've included an empty "view" to give a little bit of extra space for the table's background already as well, as you can see in the XML to follow.  Tried to mess around with ScaleType, but that was a wash.</p>
  
  <p>How can I get the BG to stretch to fit the layout?  I'm trying to handle the "user xxx has a smaller screen than WVGA" gracefully.  I lack grace, apparently.</p>
  
  <pre><code>&lt;TableLayout
  android:id="@+id/widget29"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:orientation="vertical"
  android:scaleType="fitXY"
  android:background="@drawable/minetownx480"
  &gt;
  &lt;View
  android:id="@+id/blankSpace"
  android:layout_width="fill_parent"
  android:layout_height="60dip" /&gt;
  
  &lt;TableRow android:id="@+id/widget40" android:layout_width="fill_parent" android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal"&gt;
      &lt;TextView android:id="@+id/moneyText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Money: $$$$$$$$$" /&gt;
      &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content"  android:id="@+id/savingsText"  android:gravity="right"  android:text="Savings: $$$$$$$"  android:layout_weight="3" android:textSize="12sp"/&gt;
  &lt;/TableRow&gt;
  
  &lt;TableRow android:id="@+id/widget41" android:layout_width="fill_parent" android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal"&gt;
      &lt;TextView android:id="@+id/wagonText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Wagon Space: XXX/XXX" /&gt;
      &lt;TextView android:id="@+id/loanText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Loans: $$$$$$$$" android:gravity="right" android:layout_weight="3" android:textSize="12sp"/&gt;
  &lt;/TableRow&gt;
  
  &lt;TableRow android:id="@+id/widget42" android:layout_width="fill_parent" android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" &gt;
      &lt;TextView android:id="@+id/daysText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Days Left: XX/XX" /&gt;
      &lt;TextView android:id="@+id/armedText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Unarmed!" android:gravity="right" android:layout_weight="3" /&gt;
  &lt;/TableRow&gt;
  &lt;/TableLayout&gt;
  </code></pre>
  
  <p>The tablelayout is the first element of the root linearLayout, if that matters at all.</p>
  
  <p>Edit:  Alternatively, if you know how I could measure the tableLayout's X and Y space before assigning the image, I could scale it programmatically before assigning it....  Either solution would be good if anyone knows!</p>