蚀模拟器dpi的不能设置超过320dpi? [英] Eclipse emulator dpi can not be set over 320dpi ?

查看:667
本文介绍了蚀模拟器dpi的不能设置超过320dpi?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您必须在模拟器中定义的DPI。 240是华电国际,160是MDPI及以下,通常是LDPI。

:从上面的Andr​​oid开发者指南链接

提取

320dp:一个典型的手机屏幕(240×320 LDPI,小320x480 MDPI,480x800的华电国际等)
。 480dp:一个中间人的平板状的条纹(480×800 MDPI)
。 600dp:7平板电脑(600x1024 MDPI)
。 720dp:10平板电脑(720x1280 MDPI,800x1280 MDPI等)

这意味着320dp是xhdpi,但在Eclipse中,我们不能设置480dp或任何进一步的价值。所以如何将我设置(抽象液晶密度),以480dp或上面呢?

解决方案

//实际上你会感到困惑。

在这里你提到320480600和720宽度的装置在纵向模式中。

//这个图片展示了如何创建320dp屏幕240华电国际,或者你可以把它的320 xhdpi模拟器

注意:在这里213dpi是承上启下7设备的新tvdpi

You must define dpi on your emulator. 240 is hdpi, 160 is mdpi and below that are usually ldpi.

Extract from Android Developer Guide link above:

320dp: a typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800 hdpi, etc).
480dp: a tweener tablet like the Streak (480x800 mdpi).
600dp: a 7" tablet (600x1024 mdpi).
720dp: a 10" tablet (720x1280 mdpi, 800x1280 mdpi, etc).

It means 320dp is xhdpi but in eclipse, we can not set 480dp or any further value. so how would i set (abstracted lcd density) to 480dp or above it?

解决方案

//actually you get confused

here you mentions 320,480,600 and 720 is width of the device in portrait mode.

//this image show how to create 320dp screen as 240 as hdpi or you can make it for 320 xhdpi emulator

Note: here 213dpi is new tvdpi for nexus 7 devices.

这篇关于蚀模拟器dpi的不能设置超过320dpi?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆