开发者

HTC Desire resolution of the screen

I took a look at the phone specifications and is says something like this

"HTC Desire. It comes with a 3.7" LCD sc开发者_运维知识库reen (480 x 800 pixels of resolution)"

ok the screen is 480x800 pixels but how many dips it has ? and how do I calculate that.

Also it is confusing for me the fact that Desire HD has the same resolution 480x800 pixcels, and they both use hdpi images. I have application and when I install myApp they both use the images from hdpi folder

can someone tall me what is the resolution in dips in desire and desireHD ?


You can get information about display, such as size, density, and font scaling using DisplayMetrics.

Documentation gives a usage example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜