Specifying android:minSdkVersion="4" in the android manifest did the
trick.

Thanks,
Markus

On Oct 12, 11:19 pm, Romain Guy <romain...@google.com> wrote:
> The Java APIs work only with pixels. Your app is probably running in
> compatibility mode.
>
>
>
> On Mon, Oct 12, 2009 at 12:20 PM, Markus <markus.wiederk...@gmail.com> wrote:
>
> > I always thought the default display unit would be pixels.
>
> > But when I run my application on WVGA800 in the emulator the lines are
> > five pixels wide even though I called Paint.setStrokeWidth(3). The
> > same seems to happen with Drawable.setBounds(); the value I provide
> > gets multiplied by 1.5 internally.
>
> > If that's the case, how can I specify pixels instead of dips if I want
> > pixels?
>
> > Can someone clarify this?
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
--~--~---------~--~----~------------~-------~--~----~
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