Question

When developing on a Nexus 7, I know it should use the resolution in the drawable-hdpi folder (even though technically it is a tvdpi resolution device). But in the graphical editor in eclipse it uses the xhdpi and when I render it to the device, then it uses hdpi.

I tested this by putting different images with the same name in each of the resolution folders to see what it uses. Eclipse graphical editor shows xhdpi images and the device shows hdpi images. This makes it hard to layout the screen.. any ideas?

Was it helpful?

Solution

Should use drawable-hdpi? You may want to use drawable-tvdpi. Assets would be 1.33 * mdpi.

OTHER TIPS

I think your problem can be fixed using changing layout to tvdpi. Try using tvdpi for Nexus 7, Galaxy note 8 etc

enter image description here

try adding tvdpi for the layout like:

layout-sw600dp-land-tvdpi layout-sw600dp-port-tvdpi

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top