Reference http://www.jianshu.com/p/761f4d0e5d8d
Right-click the picture First
Then modify the image name, select the directory, note must be placed in the drawable directory, or the reference studio will error
And then go to point 9. Edit interface
Finally explain how to edit point 9 diagram
Just click on the edge of the picture, and generally we just need to set the left and top to adjust the stretch area.
Turns black to indicate the coordinate point of the stretch. The pink intersection in the figure is originally white, so the stretched area is in the white dot area.
So when it comes to stretching, we see that the outside four green corner areas of the Google robot have no unfinished edges, which is actually the result of keeping them from stretching.
L1 and T1 Cross area, L2 and T2 cross area, the table picture will only stretch when stretched to show that the area is stretched only.
As for the bottom right, if the border is a transparent color area, it means that the area occupies space and is not obscured by other content.
The black area represents areas where other content can be displayed, such as a textview to put the picture on the background, if the left half of the bottom is set to a transparent color, and the right half is set to black, then the last text will only be in the black area.
as
Android Studio. 9 Image application and production