You might be running into the Android 2.0.0 bug where it only matches
the -v6 specifier:
http://groups.google.com/group/android-developers/msg/315ce9b9dde1161a

On Jan 19, 8:13 am, snowy_tracks <[email protected]> wrote:
> I am currently trying to make my app compliant with all screen sizes /
> api levels.
>
> I have this mostly working, however there is 1 issue i cannot resolve:
>
> Layouts in the "layout-hdpi" folder are used by and any phone on 1.5
> (API level 3).  - Which i dont want, i want API level 3 phones to use
> the "layout" folder.  So to resolve this I added "-v4" onto the folder
> also, this works, the folder is no longer used by 1.5 phones.
>
> However, now the folder is also not used on API Level 6 phones, for
> example the droid.  The droid only picks up the folder if i name the
> folder: "layout-hdpi-v6".  (Also if i put "-v3" on a folder, the
> layout folder is not used by API level 4 phones)
>
> My understanding is that the -v<api level> qualifer allows you to
> exclude phones on an API level that is too low, so -v4 should mean
> that the folder will be used by all phones on API level 4 and above.
> I am finding a folder is only used for that specific API level.
>
> Has anybody else ran into this same issue? And does anybody know of
> any possible solutions?
>
> I hope that makes sense.
>
> Marc
>
> My current manifest file has the following:
>
> <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="7"/>
>
> and my resources folder list is:
>
> drawable
> drawable-hdpi
> drawable-ldpi
> layout
> layout-hdpi-v4
> layout-ldpi-v4
-- 
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