Added tab view (not working)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<ContentView
|
||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:ml="clr-namespace:Aurora.Design.Components.MemberList"
|
||||
xmlns:tabView="clr-namespace:Aurora.Design.Components.TabView"
|
||||
xmlns:library="clr-namespace:Aurora.Design.Components.Library"
|
||||
xmlns:flv="clr-namespace:DLToolkit.Forms.Controls;assembly=DLToolkit.Forms.Controls.FlowListView"
|
||||
x:Class="Aurora.Design.Views.Party.PartyView">
|
||||
@ -11,29 +11,27 @@
|
||||
Source="./PartyView.css"/>
|
||||
</ContentView.Resources>
|
||||
<ContentView.Content>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition
|
||||
Height="100"/>
|
||||
<RowDefinition
|
||||
Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackLayout
|
||||
x:Name="TabHeader"
|
||||
Grid.Row="0">
|
||||
<Label
|
||||
x:Name="PartyMembersLabel"
|
||||
Text="Party Members"/>
|
||||
<ml:MemberList
|
||||
x:Name="MembersList"
|
||||
VerticalOptions="FillAndExpand"
|
||||
Members="{Binding Members}"/>
|
||||
</StackLayout>
|
||||
<library:Library
|
||||
Grid.Row="1"
|
||||
ItemsSource="{Binding Queue}"
|
||||
SelectedItem="{Binding SelectedSong}"
|
||||
ItemDoubleClicked="{Binding PlayCommand}"/>
|
||||
</Grid>
|
||||
<StackLayout
|
||||
x:Name="TabHeader">
|
||||
<tabView:TabViewControl
|
||||
HorizontalOptions="FillAndExpand"
|
||||
VerticalOptions="FillAndExpand"
|
||||
x:Name="TabView">
|
||||
<tabView:TabViewControl.ItemSource>
|
||||
<tabView:TabItem
|
||||
HeaderText="Queue">
|
||||
<library:Library
|
||||
ItemsSource="{Binding Queue}"
|
||||
SelectedItem="{Binding SelectedSong}"
|
||||
ItemDoubleClicked="{Binding PlayCommand}"/>
|
||||
</tabView:TabItem>
|
||||
<tabView:TabItem
|
||||
HeaderText="Members">
|
||||
<Label
|
||||
Text="Members"/>
|
||||
</tabView:TabItem>
|
||||
</tabView:TabViewControl.ItemSource>
|
||||
</tabView:TabViewControl>
|
||||
</StackLayout>
|
||||
</ContentView.Content>
|
||||
</ContentView>
|
Reference in New Issue
Block a user