Android Nexus 7 DPI for Eclipse

谁都会走 提交于 2019-12-08 17:06:00

问题


The Nexus 7 is that TVDPI, but that is not used in programming apps for it. Eclipse uses the HDPI, LDPI, MDPI, XHDPI, and XXHDPI folders. After my research, I still have found no solid conclusion.

Four different sources, four different answers:

1.33 x MDPI

HDPI

XHDPI

No direct answer

So my question:

Does anyone really know which density (HDPI/LDPI/MDPI/XHDPI/XXHDPI) the Nexus 7 uses?


回答1:


The Nexus 7 is that TVDPI, but that is not used in programming apps for it.

It certainly can be. You are welcome to use -tvdpi resource set qualifiers, as is covered in the documentation.

Eclipse uses the HDPI, LDPI, MDPI, XHDPI, and XXHDPI folders.

No, it uses -ldpi, -mdpi, -tvdpi, -hdpi, -xhdpi, and -xxhdpi resource set qualifiers, as is covered in the documentation.

Does anyone really know which density (HDPI/LDPI/MDPI/XHDPI/XXHDPI) the Nexus 7 uses?

It uses -tvdpi, as is covered in the documentation.




回答2:


You can find all the info right in eclise while working with xml layouts. It's very convinient tool to test your design on multiple screens before running on actual devices too.


回答3:


Keep in mind this is for the Nexus 7 ( 2012 ). The more recent Nexus 7 ( 2013 ) resolution is 1200 x 1920, with a density of 320dpi(2.0x)



来源:https://stackoverflow.com/questions/16348607/android-nexus-7-dpi-for-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!