You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
3.5 KiB
100 lines
3.5 KiB
<?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="BookApp.Pages.EmpruntsPrets"
|
|
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
|
|
Title="EmpruntsPrets">
|
|
<Shell.BackButtonBehavior>
|
|
<BackButtonBehavior IsVisible="False" IsEnabled="False"/>
|
|
</Shell.BackButtonBehavior>
|
|
<Shell.TitleView>
|
|
<Grid RowDefinitions="Auto" VerticalOptions="Center">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<HorizontalStackLayout Grid.Column="0">
|
|
<Image
|
|
Source="Chevron_left.svg"
|
|
HorizontalOptions="Start">
|
|
<Image.GestureRecognizers>
|
|
<TapGestureRecognizer Tapped="BackButton" NumberOfTapsRequired="1"/>
|
|
</Image.GestureRecognizers>
|
|
<Image.Behaviors>
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
</Image.Behaviors>
|
|
</Image>
|
|
|
|
<Label
|
|
Text="Mes livres"
|
|
FontFamily="Strande2"
|
|
TextColor="Red"
|
|
FontSize="Medium"
|
|
VerticalTextAlignment="Center"
|
|
HorizontalOptions="Start"
|
|
Grid.Column="0" />
|
|
</HorizontalStackLayout>
|
|
|
|
<Label
|
|
Text="Tous"
|
|
FontFamily="Strande2"
|
|
TextColor="Black"
|
|
FontSize="Medium"
|
|
VerticalTextAlignment="Center"
|
|
HorizontalOptions="Center"
|
|
Grid.Column="1" />
|
|
|
|
<HorizontalStackLayout Grid.Column="2">
|
|
<Image
|
|
Source="plus_icone.svg"
|
|
HorizontalOptions="End"
|
|
Margin="0,0,20,0"
|
|
Grid.Column="2">
|
|
<Image.Behaviors>
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
</Image.Behaviors>
|
|
</Image>
|
|
|
|
<Image
|
|
Source="arrow_up_arrow_down.svg"
|
|
HorizontalOptions="End"
|
|
Margin="0,0,10,0"
|
|
Grid.Column="2">
|
|
<Image.Behaviors>
|
|
<toolkit:IconTintColorBehavior TintColor="Red" />
|
|
</Image.Behaviors>
|
|
</Image>
|
|
</HorizontalStackLayout>
|
|
</Grid>
|
|
</Shell.TitleView>
|
|
<StackLayout>
|
|
<ContentView>
|
|
<ContentView.GestureRecognizers>
|
|
<TapGestureRecognizer Command="{Binding TapCommand}" NumberOfTapsRequired="1" />
|
|
</ContentView.GestureRecognizers>
|
|
|
|
<Grid WidthRequest="150" HeightRequest="50"
|
|
BackgroundColor="LightGray"
|
|
VerticalOptions="Center"
|
|
HorizontalOptions="Center">
|
|
|
|
<!-- Le Switch -->
|
|
<Switch x:Name="MySwitch" IsToggled="{Binding IsToggled}"
|
|
HorizontalOptions="Start"
|
|
VerticalOptions="Center"/>
|
|
|
|
<!-- Le Texte -->
|
|
<Label Text="Mon Switch"
|
|
VerticalOptions="Center"
|
|
HorizontalOptions="Center"
|
|
FontSize="16"
|
|
TextColor="Black" />
|
|
|
|
</Grid>
|
|
</ContentView>
|
|
|
|
|
|
<!-- TODO with collection group on personn -->
|
|
</StackLayout>
|
|
</ContentPage> |