I am testing HTC Desire, which is an hdpi device. The problem is obvious when viewing the image:

And this is what my 9-patch looks like (made with the standard 9-patch tool):

The left image is my photoshop file, and the right one is a screenshot from my device. As you can see, there is a huge difference. Let's say that the shadow is not so important, but the blurry border looks bad.
Is my 9-patch png wrong? What can I do to achieve a clear solid border of 1px?
source share