Advantages of Figure 9 in android and Figure 9 in android
Same Graph
(1). 9:
(2) normal png:
There are obvious differences around the corner.
This is because the. 9 graph custom horizontal and vertical stretch areas.
Here:
. 9 The biggest feature of an image is that you can define a region to display your content, which is usually text.
Why define a region to display your content?
Let's take a look at the following:
(1) do not define the area to display the text effect:
(2) define a region to display the content (text ).
We can see the obvious difference. Because the vertical content area and horizontal content area are customized by ourselves, this will not be limited by the vertical and horizontal size of the original image. We can customize our own vertical and horizontal areas.
OK.
The last summary is as follows:
For details about how to create. 9 images, refer:
Http://xiaoming123123.iteye.com/blog/1489253