I don't really know if this is a monodroid issue or just android's behavior.

I have a splash activity and I don't want it to rotate automatically if you
flip the screen, but I do want it to start with the current orientation.
To do this, I set the ScreenOrientation to ScreenOrientation.Behind.

On devices with android 2.3.3 and 2.3.4 this works perfectly. The activity
starts with the current orientation and if you flip the device, the
activity doesn't restart. Only when you start the next activity it rotates.
This is the wanted behavior, so, success.

Now, I have another device on stack. A Samsung Galaxy Tab 7 with android
3.2. And on this device, the splash activity always flips to landscape,
which results in a awkward behavior. Device is on portrait position, splash
goes landscape and landing activity flips back to normal. Seems like
something changed.

I tried using other settings, like ScreenOrientation.User and
ScreenOrientation.Behind, but both rotate if I flip the device during the
splash. I guess I could go with fixing ScreenOrientation.Portrait, but that
is not the wanted behavior.

I'm pretty sure this is an android issue, but I can't find much information
on this.
Any ideas?

Cheers

-- 
Gonçalo Oliveira
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to