Please see this:

http://imageshack.us/g/812/devicewidgetland.png/

A simple test on a Motorola Milestone, which changes its home screen
orientation when you slide out the keyboard.

The widget that says "Google" has a green image in portrait and red image in
landscape. The image is under res/drawable-hdpi (green) and
res/drawable-land-hdpi (green).

So, at least for me, this works as it should, and I don't see how it can not
work - the launcher is just another application, its activity has an
orientation, and when it loads resources, they are subject to resource
qualifiers, as usual.

I just call setImageViewResource with one and the same R.drawable.<id>. In
fact, I added the landscape image just now without changing any code.

-- Kostya

2011/6/17 Jona <[email protected]>

> Let me clarify that the double image issue is gone but the issue with the
> wrong image being displayed is still an issue.
>
>  --
> 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
>

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