<?xml version="1.0" encoding="UTF-8" ?>
<ContentView
    x:Class="Moshaverino.Views.SignUp.EnterPersonalInfo"
    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"
    mc:Ignorable="d">
    <ContentView.Content>

        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="2*" />
                <RowDefinition Height="10*" />
            </Grid.RowDefinitions>

            <Grid
                Margin="-10,-20,-10,-5"
                Padding="40,60,40,40"
                BackgroundColor="#785284"
                Rotation="-4">
                <StackLayout
                    HorizontalOptions="Center"
                    Rotation="4"
                    VerticalOptions="Center">
                    <Label
                        FontFamily="{StaticResource ShabnameBold}"
                        FontSize="20"
                        HorizontalOptions="Center"
                        Text="سوالات شخصیت شناسی"
                        TextColor="White" />
                </StackLayout>

            </Grid>
            <StackLayout Grid.Row="1" Margin="8,40,8,8">
                <StackLayout>
                    <Label
                        Margin="8,15,8,0"
                        FontFamily="{StaticResource Shabname}"
                        Text="درسی که بیشتر از همه به ان علاقه دارید" />
                    <Frame
                        Margin="5,0"
                        Padding="2"
                        CornerRadius="5">
                        <Entry
                            x:Name="favoriteLessonTextBox"
                            Margin="4,0"
                            FontFamily="{StaticResource Shabname}"
                            FontSize="14" />
                    </Frame>
                </StackLayout>
                <StackLayout>
                    <Label
                        Margin="8,8,8,0"
                        FontFamily="{StaticResource Shabname}"
                        Text="از خواندن کدام درس بیشتر بیزاری" />
                    <Frame
                        Margin="5,0"
                        Padding="2"
                        CornerRadius="5">
                        <Entry
                            x:Name="unFavoriteLessonTextBox"
                            Margin="4,0"
                            FontFamily="{StaticResource Shabname}"
                            FontSize="14" />
                    </Frame>
                </StackLayout>
                <StackLayout>
                    <Label
                        Margin="8,8,8,0"
                        FontFamily="{StaticResource Shabname}"
                        Text="نظرت درمورد درس خوندن خودت" />
                    <Frame
                        Margin="5,0"
                        Padding="2"
                        CornerRadius="5">
                        <Entry
                            Margin="4,0"
                            FontFamily="{StaticResource Shabname}"
                            FontSize="14" />
                    </Frame>
                </StackLayout>
                <StackLayout>
                    <Label
                        Margin="8,8,8,0"
                        FontFamily="{StaticResource Shabname}"
                        Text="در کدام آزمون شرکت می کنی" />
                    <Frame
                        Margin="5,0"
                        Padding="2"
                        CornerRadius="5">
                        <Entry
                            x:Name="favoriteExamTextBox"
                            Margin="4,0"
                            FontFamily="{StaticResource Shabname}"
                            FontSize="14" />
                    </Frame>
                </StackLayout>
                <StackLayout>
                    <Label
                        Margin="8,8,8,0"
                        FontFamily="{StaticResource Shabname}"
                        Text="میانگین تراز" />
                    <Frame
                        Margin="5,0"
                        Padding="2"
                        CornerRadius="5">
                        <Entry
                            x:Name="tarazTextBox"
                            Margin="4,0"
                            FontFamily="{StaticResource Shabname}"
                            FontSize="14" />
                    </Frame>
                </StackLayout>
                <Button
                    Margin="15,45,15,0"
                    BackgroundColor="#785284"
                    Clicked="SubmitInfoButton_OnClicked"
                    CornerRadius="25"
                    FontFamily="{StaticResource ShabnameBold}"
                    FontSize="20"
                    Text="تایید"
                    TextColor="White" />
            </StackLayout>
        </Grid>
    </ContentView.Content>
</ContentView>