Android Dot nine technology, horizontal screen vertical screen interface remains undistorted

Source: Internet
Author: User

Reprint to: http://blog.csdn.net/heimabb/article/details/8481406

"Point Nine" is a special image form in the application software development of the Android platform with the file extension:. 9.png
The smartphone has the function of the automatic horizontal screen, the same interface will change the direction of the sensor in the mobile phone (or tablet), changing the orientation of the display, after the interface changes direction, the interface graphics will be due to the length and width of the changes resulting in stretching, resulting in distorted graphics.
We all know that the Android platform has many different resolutions, and many of the controls ' transduction files are blurred and distorted when zoomed in.
OK, using the dot nine PNG technology under Android, you can stretch the picture horizontally and vertically to achieve a perfect display at multiple resolutions.

9.png is drawn using the "Draw9patch" tool.

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.