Whenever I assign background to a view that is laid out with wrap_content, if the background image is larger than a view, the view is stretched so that it can hold the entire ba
This might be a crazy idea, but how about creating a special nine-patch image like this:
This way you will have 2 stretchable areas horizontally, and 2 vertically, which is the empty border. Thus the center of the image (your original image remains unscaled)
Btw, this might not be the best solution, but since the others already listed the nice solutions, I thought I add this one as well ;-)