Android : Screen size anomaly

on Friday, August 15, 2014



density = 1.0
densityDpi = 160
heightPixels = 552
noncompatDensity = 1.0
noncompatHeightPixels = 552
noncompatWidthPixels = 1024
scaledDensity = 1.0
widthPixels = 1024
xdpi = 168.89351
ydpi = 169.33333


I have a Samsung Galaxy Tab 2 7.0, with the specs above. If I understand correctly, the smallest width of the device is 552 dp. (SW=widthPixels*160/densityDpi) My app runs on this device, despite of the android:requiresSmallestWidthDp="600" line in the manifest. Why is this possible? How can I get the real SmallestWidthDp?


0 comments:

Post a Comment