<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="GMCabsDriverAssistantSolution.Views.ScanDrivingLicencePage"
             Shell.FlyoutBehavior="Disabled"
             Title="Scan Driving Licence">
    <ContentPage.Content>
        <StackLayout
            Padding="16">
            <Label Text="Update your profile with the latest drivers licence image"
                   FontSize="Large"
                   HorizontalTextAlignment="Center"
                   Margin="0, 24, 0, 0"
                   TextColor="Black"/>
            <Image BackgroundColor="WhiteSmoke"
                   VerticalOptions="FillAndExpand"
                   x:Name="resultImage"
                   HeightRequest="192"
                   Aspect="AspectFit"
                   Margin="0,24,0,0"/>
            <Button Text="Scan Driving licence"
                    VerticalOptions="End" 
                    FontSize="20"
                    Margin="0,24,0,0"
                    Clicked="ScanDrivingLicence_Clicked" />
            <Button x:Name="BtnUpdateProfile"
                    Text="Update Profile"
                    VerticalOptions="End" 
                    FontSize="20"
                    Margin="0,16,0,0"
                    IsEnabled="False"
                    Clicked="BtnUpdateProfile_Clicked"/>
            <Button Text="Back"
                    VerticalOptions="EndAndExpand"
                    FontSize="20"
                    Margin="0,16,0,0"
                    Clicked="BtnPageBack_Clicked"/>
        </StackLayout>
    </ContentPage.Content>

</ContentPage>