On Fri, Apr 23, 2010 at 8:09 AM, Paolo <brand...@gmail.com> wrote: > 1) I have an activity fixed in the manifest as in landscape mode. >
Why are you doing this? > When an option menu starts, pressing the menu button of the device, the > menu is displayed obviously in landscape mode even if a rotate the device in > portrait. > You've fixed the orientation, so this is expected, no? Why would someone be looking at your apps sideways and expect the option menu to come up normally? > Is there a possibility to visualize the option menu in portrait with the > activity fixed to landscape mode in the manifest? > Probably. It's bound to be a lot of custom work on your end though. > 2) ...and if I would like rotate a whole an'activity's layout in the same > way, always having the activity fixed in landscape mode? > Let me get this straight ... you want to fix your orientation in one direction ... but then have the view rotate exactly as it would if you didn't fix the orientation in one direction? My head just exploded. I hope I have been clear... :) > No, not really. My guess is you're trying to get around having to save and restore state when switching orientation. Don't. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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