9-patch images can scale up but not scale down. Scaling down results in visual artifacts.
Always design for the smallest size possible. This will increase its re-usability.
...
Do not use a 9-patch image that is bigger than your View.
So, if a have a 40/40dip button, the right size in pixels for the 9-patch image must be defined having in mind a device with scale 1 in order to have the smallest size possible and so 40/40 pixels?
I guess so. Do test on a 0.75 device though (thats the one I am unsure of).
The 9patch i have done so far have a fixed border and not much to stretch in the middle so they look okay.
I am not sure how yours look like.