Lock screen orientation while scanning with zxing.net mobile barcode scanner?

I've seen it can be done in camera configuration manager but not sure where to find that file???

I've added:

      <activity android:name="MainActivity"

      android:configChanges="keyboardHidden|orientation" 

      android:screenOrientation="portrait"/>

And now the mainactivity is locked on portrait, but when running zxing scanner from inside activity the screen rotates during scan??

Sign In or Register to comment.