stretch a key background without blurred edges on android
===

I want to use a bitmap as a key background in an input mehod. That works fine for most keys, but it doesn't look good on the space key because the image gets streched too much and the edges look blurred.

However if I take a look at [LinType's](http://lrandroid.com/lintype.php) code, they do the same, but their key-backgrounds maintain sharp edges. The odd thing is that I use the exact same code to inflate the keyboard view, only with different bitmaps as resources.

The only explanation I can figure out is that the way you prepare the images is somehow important although I doubt that really makes sense.

Does anyone know what I'm doing wrong?