aurora/Aurora/Design/Views/MainView/MainView.xaml

74 lines
2.2 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"
2019-12-07 18:47:45 +00:00
xmlns:dialog="clr-namespace:Aurora.Design.Components.Dialogs"
2019-12-23 04:58:29 +00:00
x:Class="Aurora.Design.Views.Main.MainView"
StyleClass="primaryColor">
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-07 18:47:45 +00:00
<RowDefinition Height="35"/>
<RowDefinition Height="35"/>
2019-12-01 11:53:30 +00:00
<RowDefinition Height="*"/>
<RowDefinition Height="60"/>
2019-12-01 11:53:30 +00:00
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
2019-12-10 20:10:27 +00:00
2019-12-01 11:53:30 +00:00
<!--Header-->
<StackLayout
x:Name="Header"
2019-12-02 04:20:55 +00:00
Grid.Row="0"
Grid.ColumnSpan="2"
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"
Grid.ColumnSpan="2"
2019-12-02 04:20:55 +00:00
x:Name="TitleContainer">
<Label Text="{Binding Title}" TextColor="White"/>
</StackLayout>
<!--Sidebar-->
<navigation:NavigationMenu
Grid.Column="0"
Grid.RowSpan="3"
x:Name="MasterPage"
Items="{Binding Pages}"
SelectedItem="{Binding SelectedItem}"/>
2019-12-01 11:53:30 +00:00
<!--Page Container-->
<views:PageContainer
Grid.Column="1"
Grid.Row="2"
2019-12-10 20:10:27 +00:00
x:Name="Content"/>
2019-12-01 11:53:30 +00:00
2019-12-07 18:47:45 +00:00
<!--Modal Dialog-->
<dialog:Modal x:Name="Modal"
Grid.Column="1"
Grid.Row="2"
2019-12-23 17:23:51 +00:00
StyleClass="secondAccentColor"
2019-12-07 18:47:45 +00:00
HorizontalOptions="Center"
VerticalOptions="End"/>
2019-12-01 11:53:30 +00:00
<!--Music Player-->
<mp:Player
2019-12-23 17:23:51 +00:00
StyleClass="secondAccentColor"
x:Name="Player"
Grid.Row="3"
2019-12-22 01:12:53 +00:00
Grid.ColumnSpan="2"/>
</Grid>
2019-12-01 11:53:30 +00:00
</ContentPage>