|
|
@ -1,6 +1,7 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
|
|
|
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
|
|
|
x:Class="LivreLand.View.HeaderPage"
|
|
|
|
x:Class="LivreLand.View.HeaderPage"
|
|
|
|
x:Name="this"
|
|
|
|
x:Name="this"
|
|
|
|
BindingContext="{x:Reference this}"
|
|
|
|
BindingContext="{x:Reference this}"
|
|
|
@ -12,7 +13,7 @@
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="2"/>
|
|
|
|
<ColumnDefinition Width="10"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
@ -31,27 +32,36 @@
|
|
|
|
Grid.Column="0"/>
|
|
|
|
Grid.Column="0"/>
|
|
|
|
<Label Text="{Binding HeaderBackButtonText}"
|
|
|
|
<Label Text="{Binding HeaderBackButtonText}"
|
|
|
|
VerticalOptions="Center"
|
|
|
|
VerticalOptions="Center"
|
|
|
|
TextColor="Red"
|
|
|
|
TextColor="{DynamicResource PinkOrange}"
|
|
|
|
Style="{StaticResource HeaderTitle}"
|
|
|
|
Style="{StaticResource HeaderTitle}"
|
|
|
|
Grid.Column="2"/>
|
|
|
|
Grid.Column="2"/>
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
<TapGestureRecognizer Tapped="OnBackButtonTapped"/>
|
|
|
|
<TapGestureRecognizer Tapped="OnBackButtonTapped"/>
|
|
|
|
</Grid.GestureRecognizers>
|
|
|
|
</Grid.GestureRecognizers>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<Button VerticalOptions="Center"
|
|
|
|
<ImageButton VerticalOptions="Center"
|
|
|
|
ImageSource="plus.png"
|
|
|
|
Source="plus.png"
|
|
|
|
BackgroundColor="Transparent"
|
|
|
|
BackgroundColor="Transparent"
|
|
|
|
MaximumHeightRequest="20"
|
|
|
|
MaximumHeightRequest="20"
|
|
|
|
MaximumWidthRequest="20"
|
|
|
|
MaximumWidthRequest="20"
|
|
|
|
IsVisible="{Binding HeaderPlusButtonVisible}"
|
|
|
|
IsVisible="{Binding HeaderPlusButtonVisible}"
|
|
|
|
Grid.Column="2"/>
|
|
|
|
Clicked="OnPlusClicked"
|
|
|
|
<Button VerticalOptions="Center"
|
|
|
|
Grid.Column="2">
|
|
|
|
ImageSource="plus.png"
|
|
|
|
<ImageButton.Behaviors>
|
|
|
|
|
|
|
|
<toolkit:IconTintColorBehavior TintColor="{DynamicResource PinkOrange}"/>
|
|
|
|
|
|
|
|
</ImageButton.Behaviors>
|
|
|
|
|
|
|
|
</ImageButton>
|
|
|
|
|
|
|
|
<ImageButton VerticalOptions="Center"
|
|
|
|
|
|
|
|
Source="plus.png"
|
|
|
|
BackgroundColor="Transparent"
|
|
|
|
BackgroundColor="Transparent"
|
|
|
|
MaximumHeightRequest="20"
|
|
|
|
MaximumHeightRequest="20"
|
|
|
|
MaximumWidthRequest="20"
|
|
|
|
MaximumWidthRequest="20"
|
|
|
|
IsVisible="{Binding HeaderSwitchButtonVisible}"
|
|
|
|
IsVisible="{Binding HeaderSwitchButtonVisible}"
|
|
|
|
Grid.Column="4"/>
|
|
|
|
Grid.Column="4">
|
|
|
|
|
|
|
|
<ImageButton.Behaviors>
|
|
|
|
|
|
|
|
<toolkit:IconTintColorBehavior TintColor="{DynamicResource PinkOrange}"/>
|
|
|
|
|
|
|
|
</ImageButton.Behaviors>
|
|
|
|
|
|
|
|
</ImageButton>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
<Grid>
|
|
|
|