Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the Android tablet emulator to be right-side up?

I just downloaded the Android 3.0 SDK and booted up an emulator with it. I rotated the emulator to portrait mode with Ctrl-F12 and then opened and the activity that was build with 2.2 and the whole emulator is upside down ( as in the emulator is upside down, home buttons are on the top and screen is upside down) . Is there a way to rotate it the other way or am I missing something entirely? ( I have already tried doing Ctrl-F11 or the Num pad, same result)

like image 541
browep Avatar asked Aug 23 '11 17:08

browep


People also ask

How do I change the orientation of my emulator?

In the updated emulator you don't have to remember the keyboard shortcuts -- they have added a side panel to the right side of the window. You can change the screen orientation by clicking either of the "rotate" buttons in that side panel. Just click on Rotate button to change the landscape to portrait and vice versa.

Is it possible to hold the virtual emulator Mobile screen in both landscape and portrait mode states?

To rotate the Android Emulator, just disable the Num Lock key and and use the 7 and the 9 in the num pad to rotate the emulator and change its layout from portrait to landscape.

How do I view Android Emulator?

Click File > Settings > Tools > Emulator (or Android Studio > Preferences > Tools > Emulator on macOS), then select Launch in a tool window and click OK. If the Emulator window didn't automatically appear, open it by clicking View > Tool Windows > Emulator.

How do I right click on Android Emulator?

Since the Android is designed for hand helds, there really is no idea of right clicking. On a hand held, the context menu is brought up with your finger by pressing a list item and holding until it comes up. In the simulator this becomes a click the mouse and hold.


2 Answers

open your androidmanifest file. In the application tab select an activity. Then scroll down to screen orientation and select sensorPortait in the drop-down menu. It's only available from api-level 9 (2.3.1) and higher.

enter image description here

like image 79
HunterX86 Avatar answered Oct 11 '22 19:10

HunterX86


Well , there can be one of the 2 cases ,

1 - I misinterpreted your question , in which case i am extremely sorry

2 - The problem has been solved in the latest download of the android 3.0 Sdk(i just downloaded 1 right now )

Here , i am posting the screen shot of my AVD running 3.0 and a 2.2 Hello World Activity . enter image description here

enter image description here

ps - I had changed my laptop to portrait more for this particular screen shot

like image 23
Tapan Thaker Avatar answered Oct 11 '22 19:10

Tapan Thaker