About Android. 9.png picture, Chinese abbreviation point nine

Source: Internet
Author: User

Because the project needs to do screen adaptation, and a lot of original pictures, the original words are from other programs ba La down, and now a lot of their own, so must consider how to do, and to ensure that the layout will not be messy

Needless to say, the film production method, avoid people go too many detours

In fact, the Android SDK with the image of the production tool, if it is used by the artist, you also need to configure the Java environment, not configured, it seems to be useless, and that is, the problem of Android programming tools

Now Google has announced that the official has not updated ADT,DDMS and so on, so everyone to learn to use Android Studio Bar, and the point is that Android Studio is ready to make. 9.png images


Double-click to open this tool


On the left is the original image, the right side of the three pictures, the top is the longitudinal stretch, the middle is transverse stretching, the bottom is to enlarge, take this picture, now is PNG, if made point nine can not be so large, but because this picture is gradient, so the longitudinal length is not changeable, the horizontal can be smaller, This is relatively simple, in addition to point nine of the black edge location problem, say why the black edge of the position will affect the layout

Point Nine said is nine Gongge format, but self-feeling is not all, first, simply speaking, the picture will be stretched, now take a good picture to give you an example, this will deepen everyone's understanding


We first found that I want to be black side bar, a closer look at actually add black edge is asymmetrical, there is, although said to ensure that the round angle can not stretch deformation, but why the right and the bottom side will all add, and the left and the upper side is not all plus, this design to a problem, that is, stretching what place, show where, I checked the information is, according to the left and the upper side of the black side to stretch, the lower side and the right side of the show, so I believe you can understand it, the display is sure to be all to show, but the stretch of the fillet is certainly not to be stretched, so the words will be deformed, so that the left and the upper side of the Then the new question comes again, the general stretch of the picture is used to do the background, if the relative layout on its top with a font or picture, the position of the black edge will have an impact on it, good, then see


This is shown in the as, so that we can think about it, why the color is divided into three kinds, and nine Gongge is such, I believe you can know it, first, no shadow coverage of the area is not stretched, as is shown, and the shadow slightly lighter (including the heaviest area of the beta) is the need for stretching , then the heaviest area is used to do what, it should now be known that he is used to place their own font or the relative position of the picture, is now a solid color, then not the solid color of what to do (gradient, need to stretch), and then see


If it is a particularly complex color, then it can be in the white black edge without background, stretching, the right side is the result of stretching, so that the relative length and width of the high stretch ratio is unchanged

Well, here, Bo Master ability is limited, can only understand here, if the understanding is wrong, please correct me

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

About Android. 9.png picture, Chinese abbreviation point nine

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.