How to solve the problem of auto-rotate AVD in Android 4.4.2?

When I use AVD to launch a simple application, I need to look at the landscape, after some searching, I checked the "Auto-rotate screen" setting in the "Settings-> Display-> Auto-rotate" menu, then I can rotate the window by pressing CTRL+ F11, but the contents My application does not display as I expected.

I found that there is an Android 2.3 AVD error report ( Problem 13189: Orientation does not change from landscape to portrait in the emulator to 2.3 ), but not a single body has resolved it to date.

Can anyone have an idea?

This is the problem: portrait portrait: enter image description here

landscape: enter image description here

These are my AVD details:

enter image description here

This is AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.example.SimpleFragment"
          android:versionCode="1"
          android:versionName="1.0">
<uses-sdk android:minSdkVersion="19"/>
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
    <activity android:name="MyActivity"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>
</application>
</manifest>
+4
1

Genymotion Emulator AVD.

+2

All Articles