Well, doing the math, Eclipse seems to be right.
Given these dimensions (10.1", 1920x1200), the screen has a density of 224 dpi, which is closest to tvdpi. 1200px at tvdpi is indeed 901dp, so that works out fine.
Do getResources().getDisplayMetrics()
to see what Android thinks of the actual device. In particular, you're interested in densityDpi
, widthPixels
and heightPixels
. It's possible that the device targets a different density than the one suggested by Eclipse, which might lead to problems like this.