Mise à jour de la page connexion (pour les tp)

pull/13/head
Rémi LAVERGNE 1 year ago
parent f966490576
commit e5586c804c

@ -4,80 +4,112 @@
x:Class="Trek_12.Views.PageConnexion" x:Class="Trek_12.Views.PageConnexion"
Title="PageConnexion"> Title="PageConnexion">
<ScrollView Orientation="Vertical"> <Grid>
<VerticalStackLayout BackgroundColor="AliceBlue"> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<Label <ColumnDefinition Width="*"/>
Text="Ceci est un bouton" </Grid.ColumnDefinitions>
TextColor="Black"
BackgroundColor="DarkSalmon"
HorizontalTextAlignment="Center"
FontAttributes="Bold"
Margin="20"
Padding="15"
/>
<Button <ScrollView Orientation="Vertical">
CornerRadius="20" <VerticalStackLayout BackgroundColor="AliceBlue">
Text="Rémi > Remi > Lucas"
WidthRequest="300" <Label
HeightRequest="20" Text="Ceci est un bouton"
/> TextColor="Black"
BackgroundColor="DarkSalmon"
HorizontalTextAlignment="Center"
FontAttributes="Bold"
Margin="20"
Padding="15"
/>
<Button
CornerRadius="20"
Text="Rémi > Remi > Lucas"
WidthRequest="300"
HeightRequest="20"
/>
<Label <Label
Text="Ceci est une scroll view d'images" Text="Ceci est une scroll view d'images"
TextColor="Black" TextColor="Black"
BackgroundColor="DarkSalmon" BackgroundColor="DarkSalmon"
HorizontalTextAlignment="Center" HorizontalTextAlignment="Center"
FontAttributes="Bold" FontAttributes="Bold"
Margin="20" Margin="20"
Padding="15" Padding="15"
/> />
<ScrollView <ScrollView
Orientation="Horizontal" Orientation="Horizontal"
BackgroundColor="Azure" BackgroundColor="Azure"
Margin="20"> Margin="20">
<HorizontalStackLayout <HorizontalStackLayout HeightRequest="200">
HeightRequest="200"> <Image
<Image Source="tmp1.jpeg"
Source="tmp1.jpeg" />
/> <Image
<Image Source="tmp2.jpeg"
Source="tmp2.jpeg" />
/> <Image
<Image Source="tmp3.jpeg"
Source="tmp3.jpeg" />
/> <Image
<Image Source="tmp2.jpeg"
Source="tmp2.jpeg" />
/> <Image
<Image Source="tmp1.jpeg"
Source="tmp1.jpeg" />
/> </HorizontalStackLayout>
</HorizontalStackLayout>
</ScrollView>
</ScrollView>
<Label <Label
Text="Ceci est une search bar" Text="Ceci est une search bar"
TextColor="Black" TextColor="Black"
BackgroundColor="DarkSalmon" BackgroundColor="DarkSalmon"
HorizontalTextAlignment="Center" HorizontalTextAlignment="Center"
FontAttributes="Bold" FontAttributes="Bold"
Margin="20" Margin="20"
Padding="15" Padding="15"
/> />
<SearchBar <SearchBar
Placeholder="Rechercher..." Placeholder="Rechercher..."
PlaceholderColor="Red" PlaceholderColor="Red"
Margin="20" Margin="20"
HeightRequest="50" HeightRequest="50"
WidthRequest="400" WidthRequest="400"
/> />
<Label
Text="Ceci est un slider"
TextColor="Black"
BackgroundColor="DarkSalmon"
HorizontalTextAlignment="Center"
FontAttributes="Bold"
Margin="20"
Padding="15"
/>
<Slider
Maximum="100"
Minimum="0"
Value="50"
Margin="20"
WidthRequest="400"
/>
</VerticalStackLayout>
</ScrollView>
<BoxView Grid.Column="1" BackgroundColor="CornflowerBlue" CornerRadius="10"/>
<VerticalStackLayout Grid.Column="1" VerticalOptions="Center" HorizontalOptions="Center">
<ActivityIndicator IsRunning="True" HeightRequest="50" WidthRequest="50" Color="Firebrick" />
<Switch IsToggled="False" ThumbColor="Firebrick" OnColor="Salmon" />
</VerticalStackLayout> </VerticalStackLayout>
</ScrollView> </Grid>
</ContentPage> </ContentPage>
Loading…
Cancel
Save