I had the same problem. This is what I did before the emulator became completely useless with the last update:
if(forceLandscape) { setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); } else { setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); } Just set the forceLandscape boolean to whatever you want to test. You will have to flip the bit and recompile/deploy for each time, but it got me through testing the layouts. Shane On Thu, Feb 24, 2011 at 8:22 PM, Stacy Young <styoung.li...@gmail.com>wrote: > Re-posting since first one never made it to the list. I don't hear of > anyone else having this problem on OS X ...yet I've tried it on two > machines, same result! (yes, auto-rotate is off) The emulator switches to > landscape and properly rotates the UI then after a second or two the UI > switches back to portrait while the device is still in landscape mode. > > Stace > > > On Tue, Feb 22, 2011 at 10:08 PM, Stacy Young <styoung.li...@gmail.com>wrote: > >> Hey all, >> >> I've seen the workaround posted to get landscape mode ..and it works >> ...but only for a split second. Then the screen reverts back to portrait >> mode displaying sideways. Driving me nuts! Anyone else seen this on OS X? >> >> Cheers, >> Stace >> > > -- > 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 > -- 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