This repository has been archived on 2020-12-20. You can view files and clone it, but cannot push or open issues or pull requests.
aurora-sharp-desktop/Aurora/Design/Views/MainView/MainView.xaml

62 lines
1.9 KiB
Plaintext
Raw Normal View History

2019-07-05 18:17:09 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
2019-07-05 18:17:09 +00:00
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:views="clr-namespace:Aurora.Design.Views.MainView"
xmlns:navigation="clr-namespace:Aurora.Design.Components.NavigationMenu"
xmlns:mp="clr-namespace:Aurora.Design.Components.MediaPlayer"
x:Class="Aurora.Design.Views.Main.MainView">
2019-12-01 11:53:30 +00:00
<ContentPage.Resources>
<StyleSheet
Source="MainView.css"/>
</ContentPage.Resources>
<Grid>
2019-12-01 11:53:30 +00:00
<Grid.RowDefinitions>
2019-12-02 04:20:55 +00:00
<RowDefinition Height="28"/>
2019-12-01 11:53:30 +00:00
<RowDefinition Height="28"/>
<RowDefinition Height="*"/>
<RowDefinition Height="60"/>
2019-12-01 11:53:30 +00:00
</Grid.RowDefinitions>
<!--Header-->
<StackLayout
x:Name="Header"
2019-12-02 04:20:55 +00:00
Grid.Row="0"
2019-12-01 11:53:30 +00:00
Orientation="Horizontal">
<Entry Text="Search"/>
</StackLayout>
2019-12-02 04:20:55 +00:00
<!--Title-->
<StackLayout
Grid.Row="1"
x:Name="TitleContainer">
<Label Text="{Binding Title}" TextColor="White"/>
</StackLayout>
2019-12-01 11:53:30 +00:00
<!--Library Grid-->
2019-12-02 04:20:55 +00:00
<Grid Grid.Row="2">
2019-12-01 11:53:30 +00:00
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<navigation:NavigationMenu
Grid.Column="0"
2019-07-05 18:17:09 +00:00
x:Name="MasterPage"
2019-12-02 04:20:55 +00:00
Items="{Binding Pages}"
SelectedItem="{Binding SelectedItem}"/>
2019-12-01 11:53:30 +00:00
<views:PageContainer
Grid.Column="1"
Grid.Row="0"
x:Name="ContentPage"/>
</Grid>
<!--Music Player-->
<mp:Player
x:Name="Player"
2019-12-02 04:20:55 +00:00
Grid.Row="3"
2019-12-01 11:53:30 +00:00
HeightRequest="50"/>
</Grid>
2019-12-01 11:53:30 +00:00
</ContentPage>