ok, i found it. it is Nine patch. there is no method or any xml tag. image file must be redrawn by draw9patch tool.
http://developer.android.com/tools/help/draw9patch.html http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch