Well you should look at your wallpaper size and the screen size you have to
fill and position/resize/crop things appropriately to make it look good.

You can also use getResources().getConfiguration() to find out the screen
orientation.  However, you will still need to look at the size given to you
for the wallpaper to be drawn and account for that.

On Thu, Sep 23, 2010 at 4:26 PM, joshbeck <[email protected]> wrote:

> Hello All,
>
> I have a series of live wallpapers out and one major sticking point I
> have with a certain set is that when devices switch to Landscape, the
> wallpaper, which in most cases is an image designed to fit the screen
> in portrait mode, appears off center.
>
> What is the conventional way to detect the shift from portrait to
> landscape?
>
> Any help is appreciated and thanks in advance!
>
> Josh Beck
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



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