Select the image and enter its left and top end caps.
@2x
.9.png
Information on how caps on iOS work can be found in the Ti.UI.View documentation.
Information on 9-patch images on Android can be found in the Ti.UI.ImageView documentation.