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