I have a Live Wallpaper using AndEngine which has several small images
floating around the screen. I can set the initial screen orientation
and RatioResolutionPolicy without any problems, but if I rotate the
screen (or slide the the keyboard on some devices) and trigger a
ScreenOrientation change, the ratio is off because it's trying to
stretch each image since the ratio has changed. I.E. the width is
originally 480 and height is originally 720, so 720/480 = 1.5, but
when the screenorientation changes/rotates, the images try to fit into
480/720 ratio (0.67).

I have confirmed onResume is called when the screen is rotated, but
there doesn't appear to be a way to re-set the Engine using the new
height/width.

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