<?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"
             xmlns:controls="clr-namespace:Views"
             x:Class="Views.New_DetailAnimal"
             x:Name="page_creation">
    <ScrollView>
        <VerticalStackLayout>
            <HorizontalStackLayout VerticalOptions="Start"
                                   HorizontalOptions="End">
                <!-- To validate the addition of the pet -->
                <Button Text="Valider" 
                        Clicked="Validate_OnClick"/>
                
                <!-- To delete the pet -->
                <Button Text="Supprimer" 
                        Clicked="Button_OnClick"/>
            </HorizontalStackLayout>

            <controls:View_DetailAnimal/>
        </VerticalStackLayout>
    </ScrollView>
</ContentPage>