Only one of the online search is a custom TextView, its use is more cumbersome, so the use of popular methods-using 9.png to achieve.
This article mainly introduces the use of the SDK tool Draw9patch.bat.
This bat execution file opens after opening the Draw9patch program such as:
It is also relatively simple to use, drag and drop files into the program, hold down the left mouse button to drag the top edge, the black line appears, as shown in:
Where the black line represents means:
Explanation: The area covered by the black bar above indicates that only the area is stretched when the picture is stretched horizontally
The area to the right of the left black bar indicates that only the area is stretched when the picture is stretched vertically
The area to the right of the black bar to the left covers the area where the picture is displayed vertically
The area covered by the black bar below represents the area where the picture is displayed horizontally
If the area covered by the position of the black bar is not the same as when the picture is stretched (for example, if the corners of the picture are curved, the arcs of the corners do not change when the picture is arbitrarily stretched)
The red line is the cancellation error more than the selected part, you can hold down the SHIFT key, click the left mouse button.
This is the whole, detailed http://blog.csdn.net/pugongying1988/article/details/6938972
Android Chat Bubbles