简体   繁体   English

WVGA800(480x800)和密度ANDROID

[英]WVGA800 (480x800) & Density ANDROID

Table 3 on this page: http://developer.android.com/guide/practices/screens_support.html 此页面上的表3: http : //developer.android.com/guide/practices/screens_support.html

shows that WVGA800 (480x800) is available with 3 Densities. 显示WVGA800(480x800)具有3种密度。 Does this mean that for each density the game will be loaded with different DPI assets if available ? 这是否意味着对于每种密度游戏都将加载不同的DPI资产(如果有)?

But how come same resolution will have different assets or layouts? 但是,同一分辨率怎么会有不同的资产或布局?

Well a certain resolution say 480*800 surely can have different densities....And the assets would be placed in their respective places...Suppose say images for though accomadating as per 480*800 would be placed in different drawables hdpi,mdpi,ldpi... Depending upon your desity type the appropriate drawable would be used automatically... 好吧,某个分辨率说480 * 800肯定可以有不同的密度....并且资产将放置在它们各自的位置...假设说根据480 * 800容纳的图像将放置在不同的可绘制对象hdpi,mdpi中,ldpi ...根据您的设计类型,相应的drawable将自动使用...

Though the layout would be same for different densities....But assets and other would vary to give you actuall look and feel.. 尽管对于不同的密度,布局是相同的。...但是资产和其他资产会有所不同,以使您具有实际的外观和感觉。

Hope you would be able to get what I want to convey... 希望你能得到我想要传达的...

Go through this blog to get a basic understanding for what I mean... 浏览此博客以对我的意思有一个基本的了解...

http://wonton-games.blogspot.com/2010/07/tutorial-multiple-screen-support.html http://wonton-games.blogspot.com/2010/07/tutorial-multiple-screen-support.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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