emluator -dpi-device 96
if your monitor screen is set to 96 dpi

-Dan


On Mon, Nov 9, 2009 at 12:53 AM, Bing Jin Lin <bingjin....@gmail.com> wrote:

> I have same problem, does anyone have any solutions?
>
> On 10月10日, 上午1時04分, x17y19 <amberar...@gmail.com> wrote:
> > How do I run the emulator with WVGA854 skin so I get a 1-1 mapping of
> > device to screen pixels ?
> >
> > The WVGA854/layout file has "width 480 height 854" but when I run the
> > emulator, I get these values for DeviceMetrics:
> >  density = 1.5
> >  densityDpi = 240
> >  scaledDensity = 1.5
> >  heightPixels = 569
> >  widthPixels = 320
> >  xdpi = 240.0
> >  ydpi = 240.0
> >
> > I'd like to run the emulator so that I see heightPixels/widthPixels
> > values
> > of 854/480 in the code.
> >
> > I tried playing with the -dpi-device option but doesn't seem to help.
> >
> > Thanks for any help.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to