2019-05-27 16:23:14 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ContentView
|
|
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
2019-12-22 03:21:07 +00:00
|
|
|
xmlns:tabView="clr-namespace:Aurora.Design.Components.TabView"
|
2019-12-23 04:58:29 +00:00
|
|
|
xmlns:ml="clr-namespace:Aurora.Design.Components.MemberList"
|
2019-12-01 11:53:30 +00:00
|
|
|
xmlns:library="clr-namespace:Aurora.Design.Components.Library"
|
2019-12-22 01:12:53 +00:00
|
|
|
xmlns:flv="clr-namespace:DLToolkit.Forms.Controls;assembly=DLToolkit.Forms.Controls.FlowListView"
|
2019-07-05 18:17:09 +00:00
|
|
|
x:Class="Aurora.Design.Views.Party.PartyView">
|
2019-12-19 02:55:01 +00:00
|
|
|
<ContentView.Resources>
|
|
|
|
<StyleSheet
|
|
|
|
Source="./PartyView.css"/>
|
|
|
|
</ContentView.Resources>
|
2019-05-27 16:23:14 +00:00
|
|
|
<ContentView.Content>
|
2019-12-22 03:21:07 +00:00
|
|
|
<StackLayout
|
|
|
|
x:Name="TabHeader">
|
|
|
|
<tabView:TabViewControl
|
|
|
|
HorizontalOptions="FillAndExpand"
|
|
|
|
VerticalOptions="FillAndExpand"
|
2019-12-23 17:23:51 +00:00
|
|
|
TabSizeOption="100"
|
2019-12-24 00:06:03 +00:00
|
|
|
SelectedTabIndex="{Binding SelectedTabIndex}"
|
2019-12-24 01:07:07 +00:00
|
|
|
HeaderBackgroundColor="#181818"
|
2019-12-22 03:21:07 +00:00
|
|
|
x:Name="TabView">
|
|
|
|
<tabView:TabViewControl.ItemSource>
|
2020-01-14 00:57:02 +00:00
|
|
|
<!-- Members Tab -->
|
2019-12-23 00:30:58 +00:00
|
|
|
<tabView:TabItem
|
|
|
|
HeaderText="Members">
|
2020-01-14 00:57:02 +00:00
|
|
|
<Grid
|
|
|
|
HorizontalOptions="FillAndExpand"
|
|
|
|
VerticalOptions="FillAndExpand">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition
|
|
|
|
Height="*"/>
|
|
|
|
<RowDefinition
|
|
|
|
Height="30"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<ml:MemberList
|
|
|
|
x:Name="MembersList"
|
|
|
|
Grid.Row="0"
|
|
|
|
VerticalOptions="FillAndExpand"
|
|
|
|
Members="{Binding Members}"/>
|
|
|
|
<!-- Leave Party Button -->
|
|
|
|
<Button
|
|
|
|
Grid.Row="1"
|
|
|
|
Text="Leave Party"
|
|
|
|
Command="{Binding LeavePartyCommand}"/>
|
|
|
|
</Grid>
|
2019-12-23 00:30:58 +00:00
|
|
|
</tabView:TabItem>
|
2020-01-14 00:57:02 +00:00
|
|
|
<!-- Library Tab -->
|
2019-12-22 03:21:07 +00:00
|
|
|
<tabView:TabItem
|
|
|
|
HeaderText="Queue">
|
|
|
|
<library:Library
|
|
|
|
ItemsSource="{Binding Queue}"
|
|
|
|
SelectedItem="{Binding SelectedSong}"
|
|
|
|
ItemDoubleClicked="{Binding PlayCommand}"/>
|
|
|
|
</tabView:TabItem>
|
|
|
|
</tabView:TabViewControl.ItemSource>
|
|
|
|
</tabView:TabViewControl>
|
|
|
|
</StackLayout>
|
2019-05-27 16:23:14 +00:00
|
|
|
</ContentView.Content>
|
|
|
|
</ContentView>
|