Lock orientation to a fixed value

pull/168/head
Mattia Iavarone 8 years ago
parent ef1a4ecc65
commit 9a6448efb4
  1. 3
      demo/src/main/AndroidManifest.xml

@ -16,7 +16,8 @@
android:name=".CameraActivity" android:name=".CameraActivity"
android:theme="@style/Theme.MainActivity" android:theme="@style/Theme.MainActivity"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:configChanges="orientation|screenLayout|keyboardHidden"> android:configChanges="orientation|screenLayout|keyboardHidden"
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" />

Loading…
Cancel
Save