I'm trying to create a virtual device with DPI of 240 so that I can test my apps on different resolution. I normally tested on dpi160, but now when I create a new device with dpi240 and check what getResources().getDisplayMetrics().density is, it's always 1.0f, when it should be 1.5f for a 240dpi device, right?
Why isn't this right?
My virtual device even says WVGA800 with hw.lcd.density = 240
Why isn't this right?
My virtual device even says WVGA800 with hw.lcd.density = 240