1=============================
9.png Introduction:
"Point Nine" is a special image form in the application software development of Andriod platform, the file extension is:. 9.png
The Android platform has many different resolutions, and many of the controls ' transduction files are blurred and distorted when zoomed in.
Using the dot nine PNG technology under Android, you can stretch the picture horizontally and vertically to achieve a perfect display at multiple resolutions.
2=============================
The principle of 9.png:
In fact, the equivalent of a PNG picture is divided into 9 parts (nine Gongge), 4 angles, 4 edges, and an intermediate area, 4 corners are not pulled up, so you can still keep the clear state of the fillet, and 2 horizontal and vertical edges are only horizontal and vertical stretching, so there will be no edge can be pulled rough situation,
Only the middle is stretched with the area specified by the black line. The result is that the pictures don't get out of the Internet.
3===================================
Production of 9.png:
Drag the picture into the draw 9.png of Android tools.
The area covered by the 1th black bar position indicates that the area is stretched only when the picture is stretched horizontally
Number 2nd black bar position to the right covers the area when the picture is stretched vertically.
Number 3rd black bar position to the left covers the area where the picture is displayed vertically
The area covered by the position of the black bar 4th indicates that the area of the picture landscape is not covered by the position of the black bar when the picture is stretched to remain unchanged (for example, if the corners of the picture are arcs, when When the image is stretched arbitrarily, the arcs in the corners will not change.
5, if the error is more select part, you can hold down the SHIFT key, click the left mouse button to remove the black bar
6, right 3 black graphics area to show the current stretch effect
7, select a good area, click on the left file-"save 9-path, save the picture, suffix named Xxx.9.png can be."