Hi Dianne,

The v flag does indeed not work, I am using the Android 2.0 SDK with
the following AndroidManifest settings:

<uses-sdk
    android:minSdkVersion="3"
    android:targetSdkVersion="5"
/>

Running on a WVGA854 emulator with density 240 and API 5, I get the
following results:

drawable-hdpi-v4

is ignored

drawable-hdpi-v5

is ignored, very strange

drawable-hdpi

works, but we can't use that


On Oct 29, 3:45 pm, Dianne Hackborn <[email protected]> wrote:
> I am pretty positive it works.  Nothing changed in 2.0 -- this has been the
> same since 1.0, if the platform's SDK version is < the resource version,
> then the resource is ignored.
>
>
>
> On Wed, Oct 28, 2009 at 5:28 PM, Jeff <[email protected]> wrote:
>
> > Looks like -v4 flag doesn't work in Android 2.0. Any ideas?
>
> > On Oct 22, 8:38 am, Nikolay Ananiev <[email protected]> wrote:
> > > This is how I made my app resolution-independent and with Android 1.5
> > legacy
> > > support:
>
> > > Why did I put my high-dpi images in the drawable-hdpi-v4 folder and not
> > in
> > > drawable-hdpi? Because the Android 1.5 OS can't handle the -hdpi and
> > tries
> > > to use these images instead of the ones in the res/drawable folder. The
> > -v4
> > > flag is only meaningful for Android 1.6 and works perfect.
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to