XE7-Notes on program icons and splash screen images

Source: Internet
Author: User

or continue to write last night, a year ago has solved this problem, now make a note. The Start screen Distortion is the focus of this note . Search a lot of articles, basically the same, almost no mention of the start screen distortion problem. I don't know if it's my operation.

Project-options-application:

From the bottom can clearly see the program icon requires 5 sizes, the splash screen requires 4 sizes. Whether to use the splash screen by checking the Include Splash image option. The image of each size used in the splash screen is not a simple PNG format picture, but a specially processed . 9.png format . As for the. 9.png format, do not repeat, one on the internet a lot of information, and his own SDK with the Draw9patch.jar toss half a day did not make a why, finally, please do the art of colleagues to help fix, see others in the PS in the fluid-like work, envy of the tight. Why use the. 9.png format picture, the individual general understanding is the different resolution, need to stretch the image of the start screen, to ensure that a part of the picture will not be stretched/compressed causing the splash screen distortion. Also, I installed XE7 as a default, so I found the Draw9patch.jar in "C:\Program Files (x86) \embarcadero\studio\15.0\platformsdks\ Adt-bundle-windows-x86-20131030\sdk\tools\lib\draw9patch.jar". If will use PS words, also can do, anyway I did not learn. It is important to note that the. 9.png picture must be done, otherwise the deploy operation will be an error. Personal error messages encountered are as follows:

  [Paclient Error] error:e2312 Error:9-patch Image E:\Android Development \test\android\release\hsk\res\drawable-normal\splash_image_def.9.png Malformed.
  [Paclient Error] error:e2312 Ticks in transparent frame must be black or red.
[Paclient Error] error:e2312 Found at Pixel #133 along top edge.
[Paclient Error] error:e2312 error:failure processing PNG image E:\Android Development \test\android\release\hsk\res\drawable-normal\splash_ Image_def.9.png

It's done. 9.png and set in the application option is just the first step.

  

2nd step, you need to deal with Project-deployment, the following 2 steps can be done:

(1) Locate the local name Splash_image_def.xml line and remove the check conditions before the line.

(2) All the values of splash_img.png in the Remote Name column (4, corresponding to the different size of the splash screen) are all modified to splash_img_def.9.png.

  

After these treatment, re-deploy, finally on the red rice to see the effect.

In addition, Splash tile mode and Splash gravity are no longer excerpts from the Web. Refer to: http://jingyan.baidu.com/article/066074d652fd35c3c21cb0a2.html.

XE7-Notes on program icons and splash screen images

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.