Demo app - Lock orientation to a fixed value (#168)

pull/172/head
Mattia Iavarone 7 years ago committed by GitHub
parent ef1a4ecc65
commit 07f6078385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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