Create an uncompiled .9.png with transparent borders, stretch markers and adjustable content padding.
Upload an ordinary PNG and choose contiguous horizontal and vertical stretch ranges in source pixels. Set content padding and inspect the pixel preview. Download the .9.png source and add it to Android drawable resources for build-tool compilation.