Ajout de la barre de navigation

Popup_qui_marche_pas
Anthony RICHARD 2 years ago
parent e79d070406
commit c47b279d3b

@ -4,11 +4,20 @@
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:Stim"
Shell.FlyoutBehavior="Disabled">
<ShellContent
Title="Home"
ContentTemplate="{DataTemplate local:MainPage}"
Route="MainPage"/>
xmlns:views="clr-namespace:Stim"
FlyoutBehavior="Disabled"
BackgroundColor="{StaticResource Gray600}"
>
<FlyoutItem>
<ShellContent Title="Accueil"
ContentTemplate="{DataTemplate views:MainPage}"
Route="MainPage"/>
<ShellContent Title="Suivis"
ContentTemplate="{DataTemplate views:FollowPage}"
Route="FollowPage"/>
<ShellContent Title="Profil"
ContentTemplate="{DataTemplate views:ProfilPage}"
Route="ProfilPage"/>
</FlyoutItem>
</Shell>

@ -2,8 +2,7 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Stim.FollowPage"
xmlns:HeaderView="clr-namespace:Stim"
Title="FollowPage">
Title="Suivis">
<ScrollView>
<Grid BackgroundColor="#495057">
<Grid.ColumnDefinitions>
@ -17,7 +16,6 @@
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<HeaderView:HeaderView Grid.Column="1" Margin="0"/>
<VerticalStackLayout BackgroundColor="Black" Grid.Column="0"/>
<VerticalStackLayout BackgroundColor="Black" Grid.Column="2"/>

@ -1,13 +1,11 @@
<?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:HeaderView="clr-namespace:Stim"
x:Class="Stim.MainPage"
Title="STIM"
Title="Accueil"
Background="black">
<ScrollView>
<ScrollView>
<Grid BackgroundColor="#495057">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
@ -20,8 +18,6 @@
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<HeaderView:HeaderView Grid.Column="1" Margin="0"/>
<VerticalStackLayout BackgroundColor="Black" Grid.Column="0"/>
<VerticalStackLayout BackgroundColor="Black" Grid.Column="2"/>
<VerticalStackLayout BackgroundColor="Black" Grid.Column="0" Grid.Row="1"/>

@ -2,8 +2,7 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Stim.ProfilPage"
xmlns:HeaderView="clr-namespace:Stim"
Title="ProfilPage">
Title="Profil">
<ScrollView>
<Grid BackgroundColor="#495057">
@ -18,7 +17,6 @@
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<HeaderView:HeaderView Grid.Column="1" Margin="0"/>
<VerticalStackLayout BackgroundColor="Black" Grid.Column="0"/>
<VerticalStackLayout BackgroundColor="Black" Grid.Column="2"/>

@ -362,7 +362,7 @@
<Setter Property="Shell.DisabledColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
<Setter Property="Shell.UnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray200}}" />
<Setter Property="Shell.NavBarHasShadow" Value="False" />
<Setter Property="Shell.TabBarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
<Setter Property="Shell.TabBarBackgroundColor" Value="{AppThemeBinding Light={StaticResource Gray600}, Dark={StaticResource Black}}" />
<Setter Property="Shell.TabBarForegroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
<Setter Property="Shell.TabBarTitleColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
<Setter Property="Shell.TabBarUnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />

Loading…
Cancel
Save