Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to rotate the barcode scanner UI? Problem with TopText & BottomText as well. #52

Closed
calvinrobert opened this issue Aug 7, 2013 · 1 comment

Comments

@calvinrobert
Copy link

May I know how to rotate the barcode scanner UI? I rotate my phone but the scanner is still portrait. i want it to rotate as my phone, rotate side ways = landscape. using the MonoForAndroid sample on Visual Studio 2012 :)

Also, I try to insert text into the scanner.TopText and scanner.BottomText, but nothing appear on the barcode scanner.

Once I build the application, I got 338 warning... but my app still can be run..

@Redth
Copy link
Owner

Redth commented Aug 7, 2013

  1. You need to tell your activity to allow rotation, and you might want to set it up so config changes for rotation don't cause OnPause/OnResume to be called... See here for more info: http://stackoverflow.com/questions/456211/activity-restart-on-rotation-android

  2. This should be fixed now in the commit 231ef72 You will have to get the source code from master to see the fix (it will be at least a week or 2 until the component store is updated).

@Redth Redth closed this as completed Aug 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants