<?xml version="1.0" encoding="UTF-8" ?>
<ContentView
    x:Class="CafeTerrace.Views.PopUps.QuestionPopUp"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:d="http://xamarin.com/schemas/2014/forms/design"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:models="clr-namespace:CafeTerrace.Models;assembly=CafeTerrace"
    Margin="35,0"
    FlowDirection="RightToLeft"
    VerticalOptions="Center"
    mc:Ignorable="d">
    <ContentView.Content>
        <Frame BackgroundColor="#444" CornerRadius="10">
            <StackLayout HorizontalOptions="Center">
                <StackLayout HorizontalOptions="Center" Orientation="Horizontal">
                    <Label
                        x:Name="messageLabel"
                        HorizontalOptions="Center"
                        HorizontalTextAlignment="Center"
                        TextColor="White"
                        VerticalOptions="Center" />
                </StackLayout>
                <StackLayout Margin="0,10,0,0" Orientation="Horizontal">
                    <Button
                        Padding="0"
                        BackgroundColor="{StaticResource PrimaryColor}"
                        Clicked="AcceptButton_OnClicked"
                        HeightRequest="35"
                        Text="تایید"
                        TextColor="Accent" />
                    <Button
                        Padding="0"
                        BackgroundColor="#444"
                        Clicked="CancelButton_OnClicked"
                        HeightRequest="35"
                        Text="انصراف"
                        TextColor="{StaticResource PrimaryColor}" />
                </StackLayout>
            </StackLayout>
        </Frame>
    </ContentView.Content>
</ContentView>