<?xml version="1.0" encoding="UTF-8"?>
<u:AdaptedPage xmlns="http://xamarin.com/schemas/2014/forms"
               xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
               xmlns:u="clr-namespace:Pixiview.UI"
               xmlns:r="clr-namespace:Pixiview.Resources"
               xmlns:l="clr-namespace:Pixiview.Login"
               x:Class="Pixiview.Login.LoginPage"
               Title="{r:Text Login}">
    <Grid>
        <l:HybridWebView x:Name="webView" VerticalOptions="Fill"
                 Uri="https://accounts.pixiv.net/login?lang=zh"
                 LoginHandle="WebView_LoginHandle"/>
        <StackLayout HorizontalOptions="End" VerticalOptions="Start"
                     Margin="{Binding PanelTopMargin}">
            <Button BackgroundColor="#64000000" CornerRadius="20"
                    TextColor="White" Clicked="Button_Clicked"
                    FontSize="22" Padding="10" Margin="8"
                    FontFamily="{DynamicResource IconSolidFontFamily}"
                    Text="{DynamicResource IconClose}"/>
        </StackLayout>
    </Grid>
</u:AdaptedPage>
