The great God in the dorm is doing the Android project and is fortunate to know. 9.png graphics format, applied to all graphics frames in Android design that need to be scaled according to the text or other criteria (applies to chat bubbles and sliding lock screens, etc.)
Find the D:\you yong\elipse\android-sdk\tools on your computer (that is, android-on your own computer. The Draw9patch.bat in the tool in the SDK directory) to design such a magical image, open it directly on the PS. png images can be edited by pulling them in.
Mouse over the edge of the picture to become an adjustable cursor after the area of its small, convenient editing. Then, the left and top edges of the picture refer to the Stretchable area, and the intersection of the right and bottom is the area of text or content.
Specific to see:
http://blog.csdn.net/linghu_java/article/details/7220041
http://mux.baidu.com/?p=1506
Android. 9.png Design