<?xml version="1.0" encoding="UTF-8" ?>
<ContentView
    x:Class="iElection.Views.NotificationPopUp"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    Margin="25,0"
    FlowDirection="RightToLeft"
    VerticalOptions="Center">
    <ContentView.Content>
        <Frame
            Padding="15"
            BackgroundColor="White"
            CornerRadius="10">
            <StackLayout>
                <Grid Margin="0,0,0,8" ColumnDefinitions="*,Auto">
                    <Label
                        x:Name="titleLabel"
                        FontFamily="{StaticResource ShabnameBold}"
                        Text="{Binding Title}"
                        TextColor="#222" />
                    <StackLayout
                        Grid.Column="1"
                        Orientation="Horizontal"
                        VerticalOptions="Center">
                        <Label
                            FontFamily="{StaticResource ShabnameBold}"
                            FontSize="Caption"
                            Text="{Binding CreateAt}"
                            TextColor="#222" />
                    </StackLayout>
                </Grid>
                <Label
                    x:Name="detailLabel"
                    Text="{Binding Text}"
                    TextColor="#222" />
            </StackLayout>
        </Frame>
    </ContentView.Content>
</ContentView>