Stop a button with a background from resizing?
<p>I have a custom button setup with its own xml file that specifies the different background depending on the buttons coniditions. I've placed the button in a table programatically using:</p>

<p>map.setBackgroundResource(R.drawable.track_btn);</p>

<p>The table is setup to strech the columns to fill the screen width. However it also stretches my button. I want to turn off any scaling - but I don't know how to do it programitcally like this? </p>
