Virtual device with 240dpi


Last Updated:

  1. Leolicos

    Leolicos Well-Known Member This Topic's Starter

    Joined:
    Jun 16, 2010
    Messages:
    54
    Likes Received:
    0
    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
     

    Advertisement

Share This Page

Loading...