In Android, You can automatically switch between the horizontal and vertical screens, and have different sizes of resolutions. How can you adapt an image to the above requirements? In this case, convert the. PNG format image into a. 9.png format, and. 9.png is the suffix name. <Draw9patch. bat> is provided when the Android-SDK is installed. You can save the image in the. PNG format and change it to the .9.png format. This file is stored in the Android-SDK directory you have installed-> sdk-> tools directory. The .9.png format can be adaptive to the control size in Andriod. The most important thing is that it will not be distorted. Is it perfect? The following figure shows the progress bar in the .9.png format. The startup interface is as follows: first, prepare the png image to be converted, and drag the image into it. In the following figure, you can click the left mouse button to select the Black Point for editing the image, right-click to cancel and save the input file name. The suffix tool will automatically generate the generated image and view the black lines on both sides on the PC, this does not affect the effect of attaching to a mobile phone or tablet. The hacker who wants to remove the black line has a description on the hundred degrees Baike, hundred degrees Baike -9.png, but I have not tried it. If you are interested, you can try it. Just like using .png.