-
Notifications
You must be signed in to change notification settings - Fork 22
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
camera preview is stretched pretty much in this layout #16
Comments
seems like the same issue as in #15 |
This is not he same issue. With issue 15, the camera preview is out of bounds, and not stretched. With this issue, the camera preview is not out of bounds but it is stratched. In this issue, when the activity is paused and then resumed again, the camera preview will be fixed. Please reopen the issue |
as I have mentioned the problem most probably is in
|
Could you reproduce this behavior on your end with this exact same layout? |
I haven't got the chance to try these out. Going through a very very busy week, I'll check it out when I can manage some time. But I have actually seen #15 in an app in production that uses this library. |
Thank you for the time you are spending on this project and the support you are giving to the issues |
@roostaamir I have tried out the layout and code you posted but couldn't reproduce the issue on the devices I have. Can you please pull the
And let me know those values. |
Hi again
I've been busy with your library this past couple of days and unfortunately, I faced another problem
I have this layout file:
As you can see I did this so that the barcode scanner is on top of other layouts. ( I am trying to make this layout look like a dialog)
this is my java code and how I start the barcode scanner (for now this code is in the
onCreate
method of the activity):the problem is that with this method, the camera preview is stretched (it still captures the barcodes and all, but the barcode is not on the screen at all when it is being captured, since the preview is stretched).
So how can I fix this?
The text was updated successfully, but these errors were encountered: