Android Screen Adapter---dimens conversion tool

Source: Internet
Author: User

Android screen adaptation---the use of the Dimens conversion tool

Resolution of the Learning blog: http://blog.csdn.net/pcaxb/article/details/46773017

The first step: After the decompression there is a dimens.xml template and an EXE file, the Dimens.xml can be modified according to their own needs
The second step: Copy the Dimens.xml to the/res/values folder, or you can put it in the values folder corresponding to the design UI.
Step three: Android:layout_width: "10px" with Android:layout_width: "@dimen/dig_10px" instead
Fourth step: Generate the corresponding dimens.xml stage, run DimensEx.exe, click the browse button above to find the extracted dimens.xml, and then enter the relevant information, click the Transfor button to start the conversion, after the conversion is complete, click the browser button below, select the input path , click Export to do so.
Fifth step: Copy the Dimens.xml to the corresponding folder.

Using plots


Tool Download: http://download.csdn.net/detail/pcaxb/8959631

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

Android Screen Adapter---dimens conversion 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.