How do I fill an image as a background in android using xml while maintaining the aspect ratio?
<p>How do I fill an image as a background in android; similar to filling  an image as a windows background?</p>

<p>That is to say, I want to image to be stretched/shrunk to fit the background, but maintain its aspect ratio cropping sides equivalently if needed.  Is this possible?</p>

<p>For example, if I have an 800x800 image which I use as a background. If it is loaded onto a 320x240 device, then the image should be shrank to 320x320 and used as a background cropping 40 from each side on the short edge.</p>
