That would work fine but resource types have precedence, you need to
name them correctly.


drawable-land-hdpi etc, see the documentation for the full order:

http://developer.android.com/guide/topics/resources/resources-i18n.html#AlternateResources

On Nov 16, 2:18 pm, Digital Agua <reltubse...@gmail.com> wrote:
> I have a question that I hope someone can help me out with. I have an
> app that I started in 1.6. It used images that were specific to
> portrait and landscape layouts. I put these in the corresponding
> drawable folders, for example:
>
> drawable/image01,png
>
> drawable-land/image01.png
>
> when I created a new project with 2.0 it gave me the following
> folders.
>
> drawable
> drawable-hdpi
> drawable-mdpi
> drawable-lpdi
>
> when I look at the documentation around these folders it all seems
> very straight forward.
>
> I assumed that you were able to create the following folders
>
> drawable-hdpi-land
> drawable-mdpi-land
> drawable-lpdi-land
>
> and everything would work as before. The image directory would swap
> automagically pulling the appropriately laid out image depending on
> your screen orientation. Unfortunately it does not. The SDK seems to
> get confused, and if I clean the project, the folders come up as
> poorly named.
>
> Does anybody have any insight as to how this works in 2.0? Any help
> would be greatly appreciated.
>
> Thanks,
>
> James

-- 
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