28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
|
<Window x:Class="QRReaderFromAndroid.MainWindow"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
Title="Barcode Reader" Height="450" Width="800">
|
||
|
<Grid>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="*"/>
|
||
|
<ColumnDefinition Width="200"/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
|
||
|
<Image Grid.Column="0" Name="cameraImage" Stretch="Fill"/>
|
||
|
<ListBox Grid.Column="1" Name="barcodeList" Background="White" Foreground="Black">
|
||
|
<ListBox.ItemTemplate>
|
||
|
<DataTemplate>
|
||
|
<TextBlock Text="{Binding}" Margin="5"/>
|
||
|
</DataTemplate>
|
||
|
</ListBox.ItemTemplate>
|
||
|
</ListBox>
|
||
|
|
||
|
<TextBlock Grid.Column="0" VerticalAlignment="Bottom" HorizontalAlignment="Left"
|
||
|
Foreground="Black" Background="White" Opacity="0.8"
|
||
|
FontSize="20" Padding="5" Height="Auto" Name="barcodeText">
|
||
|
Scanned barcode will appear here
|
||
|
</TextBlock>
|
||
|
</Grid>
|
||
|
</Window>
|
||
|
|