简体   繁体   English

适用于Eclipse的Android Nexus 7 DPI

[英]Android Nexus 7 DPI for Eclipse

The Nexus 7 is that TVDPI, but that is not used in programming apps for it. Nexus 7就是TVDPI,但它并没有用于编程应用程序。 Eclipse uses the HDPI, LDPI, MDPI, XHDPI, and XXHDPI folders. Eclipse使用HDPI,LDPI,MDPI,XHDPI和XXHDPI文件夹。 After my research, I still have found no solid conclusion. 经过我的研究,我仍然没有找到可靠的结论。

Four different sources, four different answers: 四种不同的来源,四种不同的答案:

1.33 x MDPI 1.33 x MDPI

HDPI 华电国际

XHDPI XHDPI

No direct answer 没有直接的答案

So my question: 所以我的问题:

Does anyone really know which density (HDPI/LDPI/MDPI/XHDPI/XXHDPI) the Nexus 7 uses? 有没有人真正知道Nexus 7使用的密度(HDPI / LDPI / MDPI / XHDPI / XXHDPI)?

The Nexus 7 is that TVDPI, but that is not used in programming apps for it. Nexus 7就是TVDPI,但它并没有用于编程应用程序。

It certainly can be. 当然可以。 You are welcome to use -tvdpi resource set qualifiers, as is covered in the documentation . 欢迎使用-tvdpi资源集限定符, 如文档中所述

Eclipse uses the HDPI, LDPI, MDPI, XHDPI, and XXHDPI folders. Eclipse使用HDPI,LDPI,MDPI,XHDPI和XXHDPI文件夹。

No, it uses -ldpi , -mdpi , -tvdpi , -hdpi , -xhdpi , and -xxhdpi resource set qualifiers, as is covered in the documentation . 不,它使用-ldpi-mdpi-tvdpi-hdpi-xhdpi-xxhdpi资源集限定符, 如文档中所述

Does anyone really know which density (HDPI/LDPI/MDPI/XHDPI/XXHDPI) the Nexus 7 uses? 有没有人真正知道Nexus 7使用的密度(HDPI / LDPI / MDPI / XHDPI / XXHDPI)?

It uses -tvdpi , as is covered in the documentation . 它使用-tvdpi如文档中所述

在此输入图像描述 You can find all the info right in eclise while working with xml layouts. 在使用xml布局时,您可以在eclise中找到所有信息。 It's very convinient tool to test your design on multiple screens before running on actual devices too. 在运行实际设备之前,它是在多个屏幕上测试您的设计的非常方便的工具。

Keep in mind this is for the Nexus 7 ( 2012 ). 请记住,这是针对Nexus 7(2012)。 The more recent Nexus 7 ( 2013 ) resolution is 1200 x 1920, with a density of 320dpi(2.0x) 最近的Nexus 7(2013)分辨率为1200 x 1920,密度为320dpi(2.0x)

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

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