Delete title page and added CustomHeader (beta)

pull/1/head
Matheo HERSAN 2 years ago
parent d737ce6ecf
commit 35b51bfc52

@ -23,6 +23,10 @@
<ShellContent
ContentTemplate="{DataTemplate Views:settingsPage}" />
</Tab>
<Tab Title="listPage">
<ShellContent
ContentTemplate="{DataTemplate Views:listPage}" />
</Tab>
</TabBar>
</Shell>

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:MangaMap"
x:Class="MangaMap.MainPage">
<ScrollView>
@ -39,4 +40,4 @@
</ScrollView>
</ContentPage>
</ContentPage>

@ -62,9 +62,15 @@
<MauiXaml Update="Resources\Theme\DarkTheme.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Views\CustomHeader.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Views\homePage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Views\listPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="Views\loginPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MangaMap.Views.CustomHeader"
BackgroundColor="DarkSalmon">
<Grid ColumnDefinitions="30, *, 30">
</Grid>
</ContentView>

@ -0,0 +1,9 @@
namespace MangaMap.Views;
public partial class CustomHeader : ContentView
{
public CustomHeader()
{
InitializeComponent();
}
}

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MangaMap.Views.homePage"
Title="homePage">
x:Class="MangaMap.Views.homePage">
<ScrollView
BackgroundColor="#1E1E1E">

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MangaMap.Views.listPage"
BackgroundColor="{StaticResource Secondary}">
<ScrollView>
<Grid>
<Grid.Background>
<SolidColorBrush Color="#1E1E1E" />
</Grid.Background>
<Label Text="Watching" TextColor="white "/>
<Rectangle WidthRequest="1300" HeightRequest="550" Fill="#333333" Margin="20" RadiusX="15" />
</Grid>
</ScrollView>
</ContentPage>

@ -0,0 +1,9 @@
namespace MangaMap.Views;
public partial class listPage : ContentPage
{
public listPage()
{
InitializeComponent();
}
}

@ -2,7 +2,6 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MangaMap.Views.loginPage"
Title="loginPage"
Background="#1E1E1E">

@ -2,7 +2,6 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MangaMap.Views.settingsPage"
Title="settingsPage"
BackgroundColor="{StaticResource Secondary}">
<StackLayout VerticalOptions="Center" HorizontalOptions="Center">

@ -2,7 +2,6 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MangaMap.Views.signUpPage"
Title="loginPage"
Background="{StaticResource Secondary}">

Loading…
Cancel
Save