Issue #36 : allow either landscape or reverse landscape based on sensor orientation

This commit is contained in:
Sean Owen 2014-02-26 14:19:23 +00:00
parent 68234e412d
commit 8eca74c664

View file

@ -56,7 +56,7 @@
android:label="@string/app_name"
android:allowBackup="true">
<activity android:name=".CaptureActivity"
android:screenOrientation="landscape"
android:screenOrientation="sensorLandscape"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true"
android:configChanges="orientation|keyboardHidden"
@ -124,7 +124,7 @@
<activity android:name=".book.SearchBookContentsActivity"
android:label="@string/sbc_name"
android:stateNotNeeded="true"
android:screenOrientation="landscape"
android:screenOrientation="sensorLandscape"
android:configChanges="orientation|keyboardHidden">
<intent-filter>
<action android:name="com.google.zxing.client.android.SEARCH_BOOK_CONTENTS"/>