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 に答える