<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
             xmlns:zxing="clr-namespace:ZXing.Net.Mobile.Forms;assembly=ZXing.Net.Mobile.Forms"
             xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
             x:Class="Borepin.Page.ScanURNPage">
    <ContentPage.Content>
        <StackLayout IsVisible="{Binding IsVisible}">
            <zxing:ZXingScannerView 
                Result="{Binding ScanResult, Mode=TwoWay}" 
                ScanResultCommand="{Binding ScannedCommand}"  
                IsScanning="{Binding IsScanning}" 
                Options="{Binding ScanOptions}" 
                VerticalOptions="FillAndExpand" 
                HorizontalOptions="FillAndExpand"
                Margin="10"/>
            <Button Text="{x:Static resource_text:TextResource.CANCEL}" Command="{Binding CancelCommand}"/>
        </StackLayout>
    </ContentPage.Content>
</ContentPage>