<?xml version="1.0" encoding="UTF-8" ?>
<ContentView
    x:Class="iElection.Views.PopUps.ForegetPassPopUp"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    Margin="40,0"
    FlowDirection="RightToLeft"
    HorizontalOptions="Center"
    VerticalOptions="Center">
    <ContentView.Content>
        <Frame BackgroundColor="{StaticResource Gray-100}" CornerRadius="10">
            <StackLayout HorizontalOptions="Center">
                <StackLayout HorizontalOptions="Center">
                    <Label
                        x:Name="messageLabel"
                        FontFamily="{StaticResource Shabname}"
                        FontSize="Body"
                        HorizontalOptions="Center"
                        HorizontalTextAlignment="Center"
                        Text="اگر رمز خود را فراموش کرده اید ، شماره تلفن خود را وارد کنید تا رمز عبور جدید برای شماره تلفن شما ارسال شود"
                        TextColor="#444"
                        VerticalOptions="Center" />
                    <Grid ColumnDefinitions="Auto,*">
                        <Label
                            Margin="-3,0,8,0"
                            FontFamily="{StaticResource ShabnameBold}"
                            Text="شماره تلفن : "
                            VerticalOptions="Center" />
                        <Entry
                            x:Name="phoneEntry"
                            Grid.Column="1"
                            FontSize="Small"
                            IsReadOnly="{Binding IsReadOnly}"
                            Keyboard="Telephone"
                            Placeholder="مثال : 09124805051" />
                    </Grid>
                </StackLayout>
                <StackLayout
                    Margin="0,10,0,0"
                    HorizontalOptions="Center"
                    Orientation="Horizontal">
                    <Button
                        Padding="30,0"
                        BackgroundColor="{StaticResource Green}"
                        Clicked="AcceptButton_OnClicked"
                        CornerRadius="6"
                        FontFamily="{StaticResource ShabnameBold}"
                        FontSize="17"
                        HeightRequest="40"
                        Text="تایید"
                        TextColor="White" />
                    <Button
                        Padding="25,0"
                        BackgroundColor="#30FA0941"
                        Clicked="CancelButton_OnClicked"
                        CornerRadius="6"
                        FontFamily="{StaticResource ShabnameBold}"
                        FontSize="17"
                        HeightRequest="40"
                        Text="انصراف"
                        TextColor="#FA0941" />
                </StackLayout>
            </StackLayout>
        </Frame>
    </ContentView.Content>
</ContentView>