简体   繁体   中英

Converting existing android application which is developed in 240 density toe 320 density

If we want to convert our existing android applications developed in 240 density (1024x600) to 320 (1024x600) density, do I need to change the entire Layout UI files of the current application or do we have any other alternatives. Can we apply 320 density programetically to the current 240 density application?

No just change any bitmaps to have an xhdpi form. The whole point of density changes is that the layout doesn't change, because everything is scaled with the density. That is why you use "dp" units in your layout.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM