In the morning when testing the compatibility of the resolution, the sudden input of the simulator into a horizontal screen, do not know how to switch the vertical screen, found the following method:
---------------------------------------------------------------------------------------------------------------
Transferred from: http://android.tgbus.com/Android/tutorial/201106/357476.shtml
Android Simulator horizontal Screen switching method
Many do not buy the real machine users do not know how to switch the Android simulator to the horizontal screen display. The general display is hvga-p (port), which is the resolution of 320x480 if you are using a horizontal screen (land). If the emulator is not already started, you can set it in the Eclipse Project Run As=>open Run Dialog dialog box, and if the Android emulator is already started, you can use the shortcut key F12 or ctrl+f11 to switch. Of course, using the command line just to start the emulator can be started using the parameter Emulator.exe-skin hvga-l.
It is important to note that switching land or port can use a resource file to make the interface adaptive to the form, but the program may overload the OnCreate, The avoidance method can be controlled by redefining the direction in the Androidmanifest.xml file, and according to the activity's override onconfigurationchanged (Configuration newconfig) method. The relevant can be obtained in the Android SDK.
How to return to the vertical screen after the Android emulator has switched the horizontal screen