0

我在 Eclipse 中创建了一个备用布局

res/layout-land/main.xml

我正在使用 Hello Android 3rd Edition 来学习 Android。

我错过了什么吗?

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.oneorangetree.sudoku"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="15"
        android:targetSdkVersion="15" />

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".Sodoku"
            android:label="@string/title_activity_main" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".About"
            android:label="@string/about_title"
            android:theme="@android:style/Theme.Dialog">            
        </activity>
    </application>

</manifest>
4

2 回答 2

1

在设备上设置“显示”中有一个设置“自动旋转”。检查它是否已激活。

于 2012-08-18T18:04:38.183 回答
0

您可以使用Ctrl+ F12

在此处查看可能的选项 单击此处

于 2012-08-18T17:39:56.523 回答