问题
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