OK, the answer has EVERYTHING to do with the stretchable areas of your 9patch image. I found the answer, citing a github question. The user sent me to another discussion, where someone hacked him.
The main problem is that most 9patch tutorials explain how to stretch buttons, but there is no detailed information on how to center the image.
Look for a green / blue / red image for just over half of the discussion path.
http://community.phonegap.com/nitobi/topics/stretched_9_patch_splash_screens_android
The key for me was to look at the edges. Itβs very difficult for me to see (at least for me), but you can hardly see the black marks along the edge that define the stretched areas. the upper part has 2 small areas (on green), on the left - 2 small (on green), the bottom - one long (on blue), the right - one long (on blue).
Therefore, I find this one image (as hard as seeing the lines) to be a better instruction on how 9patch works than all the tutorials I watched.
source share