I am using a nine patch image as a drawable for a selector's item element. The nine patch image is here:
The image that finally gets rendered is this (emulator & device screenshot, both device have resolutions > mdpi):
As you can see, it has been scaled outside the stretchable area (as defined in the 9 patch file), the darker green bar is much thicker as it should be. Why is that and can it be avoided? The draw9patch tool scales this image correctly. Does it have to do with Android trying to preserve physical dimensions on high resolution devices?