<?xml version="1.0" encoding="UTF-8"?>
<ContentView
     xmlns="http://xamarin.com/schemas/2014/forms"
     xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
     x:Class="Aurora.Design.Views.Party.NewPartyDialog.NewPartyDialog"
     HorizontalOptions="FillAndExpand"
     VerticalOptions="FillAndExpand">
    <ContentView.Resources>
        <StyleSheet
             Source="NewPartyDialog.css"/>
    </ContentView.Resources>
    <ContentView.Content>
        <StackLayout
            HorizontalOptions="FillAndExpand"
            Orientation="Vertical">
            <Label
                 x:Name="DialogTitle"
                 LineBreakMode="WordWrap"
                 Text="Join or Host a Party"/>
            <StackLayout
                 x:Name="Container"
                 Orientation="Horizontal"
                 HorizontalOptions="Center"
                 VerticalOptions="Start">
                <Entry
                     Text="{Binding Hostname}"
                     Placeholder="Enter a hostname"
                     x:Name="HostnameEntry"/>
                <StackLayout
                     Orientation="Horizontal"
                     HorizontalOptions="Center">
                    <Button
                         HorizontalOptions="Center"
                         x:Name="buttonHost"
                         Text="Host"
                         Command="{Binding HostCommand}"/>
                    <Button
                         HorizontalOptions="Center"
                         x:Name="buttonClient"
                         Text="Join"
                         Command="{Binding JoinCommand}"/>
                </StackLayout>
            </StackLayout>
        </StackLayout>
    </ContentView.Content>
</ContentView>