Browse Source

disabled rotation of the screen

fysx 12 years ago
parent
commit
fa181fa1b2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      AndroidManifest.xml

+ 2 - 1
AndroidManifest.xml

@@ -22,7 +22,8 @@
                  android:allowBackup="true"
                  android:allowBackup="true"
                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
         <activity android:name="SDLActivity"
         <activity android:name="SDLActivity"
-                  android:label="@string/app_name">
+                  android:label="@string/app_name"
+                  android:screenOrientation="portrait">
             <intent-filter>
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />
                 <category android:name="android.intent.category.LAUNCHER" />