47 lines
1.9 KiB
XML
47 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ContentView
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:hs="clr-namespace:Aurora.Design.Components.HostSelector"
|
|
xmlns:hl="clr-namespace:Aurora.Design.Components.HorizontalList"
|
|
xmlns:renderedViews="clr-namespace:Sharpnado.Presentation.Forms.RenderedViews;assembly=Sharpnado.Presentation.Forms"
|
|
xmlns:qu="clr-namespace:Aurora.Design.Components.Queue"
|
|
x:Class="Aurora.Design.Views.Party.PartyView">
|
|
<ContentView.Content>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition
|
|
Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<StackLayout
|
|
Grid.Row="0"
|
|
IsVisible="{Binding IsNotSelectingHost}">
|
|
<Label
|
|
Text="Party Members"/>
|
|
<hl:HorizontalList
|
|
x:Name="MembersHorizontalList"
|
|
ListOrientation="Horizontal"
|
|
VerticalOptions="Start"
|
|
ItemsSource="{Binding Members}">
|
|
<hl:HorizontalList.ItemTemplate>
|
|
<DataTemplate>
|
|
<Frame>
|
|
<Label
|
|
Text="{Binding UserName}"/>
|
|
</Frame>
|
|
</DataTemplate>
|
|
</hl:HorizontalList.ItemTemplate>
|
|
</hl:HorizontalList>
|
|
<Label
|
|
Text="Queue"/>
|
|
<qu:Queue/>
|
|
</StackLayout>
|
|
<hs:HostSelector
|
|
Grid.Row="0"
|
|
Hostname="{Binding Hostname}"
|
|
HostCommand="{Binding HostCommand}"
|
|
JoinCommand="{Binding JoinCommand}"
|
|
IsVisible="{Binding IsSelectingHost}"/>
|
|
</Grid>
|
|
</ContentView.Content>
|
|
</ContentView> |