Open GFI-acadon opened 1 month ago
Having a similar issue. In the Forms version the BarcodeReader was displayed in the upper half of my view and the previous results was in the bottom half. With the MAUI version the reader takes up about 5/7 of the view on Android and I can't resize it. The zxing CameraView has the same sizing issue on Android. I can resize the barcode reader on iOS, and I can resize the CommunityToolkit Camera View on Android.
My workaround is to set the ZIndex of the CameraBarCodeReaderView to 0, then I can see the other elements on the page.
We use CameraBarcodeReaderView like so:
When the page is opened, the view size is respected for a brief moment, but then it jumps to 640x480. I suspect that I found the code in:
A possible solution could be:
However, the size remains the same, and we get black areas on the sides (which is acceptable for now).