-
Notifications
You must be signed in to change notification settings - Fork 209
Cannot put the CamearaBarcodeReaderView in a Border in Android 11 (Api 34) #285
Copy link
Copy link
Open
Description
The xaml works in Android 14 and 15 but on 11 the camera view does not appear (the screen flicker and that's it) if it is in a Border.
.Net Maui 9
<Grid RowDefinitions="Auto,1*" >
<Border Grid.Row="0" HeightRequest="400"
Padding="0" Margin="0,0,0,0"
Stroke="#333333"
StrokeThickness="1">
<zxing:CameraBarcodeReaderView Grid.Row="0"
HorizontalOptions="Fill" VerticalOptions="Fill"
x:Name="cameraBarcodeReaderView"
BarcodesDetected="BarcodesDetected" />
</Border>
<GraphicsView Grid.Row="0" x:Name="QrGraphicView" Margin="0,30,0,40"
HeightRequest="220" WidthRequest="220"
HorizontalOptions="Center" VerticalOptions="Center" />
<Label Grid.Row="1"
Text="{Binding CodeText}"
VerticalOptions="Center"
HorizontalOptions="Center" />
</Grid>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels