-
Notifications
You must be signed in to change notification settings - Fork 56
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
Size of preview camera #19
Comments
Hi @satriawarn, you would like to change the corner radius and the generell size of the scanner overlay frame? You should be aware that due to limitations of ML Kit currently the whole image gets scanned, so the frame is just a visual decoration (#18). Currently the corner radius is taken form Android AOSP scanner, so it matches Googles Design Guidelines. The size is dynamically calculated (it always takes 3/4 of the screen width). I made sure it also looks good on tablet and other devices sizes. Maybe you could specify what your final design should look like. :) |
Okay, that makes it clear. I understand that this layout fit's better for traditional Code128 barcodes. Will see if I find some time to make the shape customizable. Thanks for sharing your feature request! |
I appreciate it, hope it doesn't bother you. Thanks :) |
I added the option |
Hi, it's not issue. I'm wondering how to change the square in preview camera to rectangle, or just dynamic size.
Thank you
The text was updated successfully, but these errors were encountered: