Orientation of android 4.0.3 emulator. Error? or is it my system error?

Just today I downloaded "adt-bundle-windows-x86" with eclipse and sdk inside. It's really cool. But when I created the android emulator: GOOGLE_API 4.0.3; I have it:

Thats how emulator looks like on windows 32

after pressing CNTRL + F11 I got: orientation changed

What could be wrong? Is this a problem in my OS? How can I restore it?

+4
source share
4 answers

I have found a reason. I decided to choose "HVGA". But now there is no only "HVGA", but "HVGA slider". That is why the orientation is this. Now we just have to use "QVGA", Sorry, this is my mistake. Thanks for all the answers.

+3
source

Try using this code at the beginning of your program:

setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); 

Also add this to your manifest file (under the action):

  android:configChanges = "orientation" 
+1
source

Try pressing CTRL + F11 to turn back.

0
source

I had the same problem, but in most cases I need to restart the emulator.

0
source

Source: https://habr.com/ru/post/1447741/


All Articles