|
|
|
@ -26,34 +26,29 @@
|
|
|
|
|
RowDefinitions="auto, auto, auto, auto, auto, auto, *">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Frame Margin="10"
|
|
|
|
|
BorderColor="DarkViolet"
|
|
|
|
|
CornerRadius="50"
|
|
|
|
|
HeightRequest="50"
|
|
|
|
|
WidthRequest="50"
|
|
|
|
|
IsClippedToBounds="True"
|
|
|
|
|
HorizontalOptions="Start"
|
|
|
|
|
VerticalOptions="Center"
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
Text="{Binding ConnectedUser.Pseudo}"
|
|
|
|
|
FontFamily="AladinRegular"
|
|
|
|
|
FontSize="18"
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
HorizontalOptions="Start"
|
|
|
|
|
VerticalOptions="Center">
|
|
|
|
|
<Label.GestureRecognizers>
|
|
|
|
|
<TapGestureRecognizer Tapped="OnProfil_Tapped"/>
|
|
|
|
|
</Label.GestureRecognizers>
|
|
|
|
|
</Label>
|
|
|
|
|
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<Grid HorizontalOptions="Start" Padding="25,20,0,20">
|
|
|
|
|
<HorizontalStackLayout Spacing="10">
|
|
|
|
|
<Frame Grid.Row="0" WidthRequest="50" HeightRequest="50" CornerRadius="25" VerticalOptions="Start" >
|
|
|
|
|
<Frame.Background>
|
|
|
|
|
<LinearGradientBrush EndPoint="1,0">
|
|
|
|
|
<GradientStop Color="#C57CFF"
|
|
|
|
|
Offset="0.1" />
|
|
|
|
|
<GradientStop Color="#8F00FF"
|
|
|
|
|
Offset="1.0" />
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Frame.Background>
|
|
|
|
|
<Frame HeightRequest="48" WidthRequest="48" CornerRadius="24" VerticalOptions="Center" HorizontalOptions="Center" IsClippedToBounds="True">
|
|
|
|
|
<Image Source="default_user.png" Aspect="AspectFill"/>
|
|
|
|
|
</Frame>
|
|
|
|
|
</Frame>
|
|
|
|
|
<Label Text="{Binding AccueilManager.ConnectedUser.Pseudo}" FontSize="18" FontFamily="AladinRegular" TextColor="{StaticResource Black}" VerticalTextAlignment="Center"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<StackLayout HorizontalOptions="Center" VerticalOptions="Center" Grid.Row="2">
|
|
|
|
|
<SearchBar Placeholder="Rechercher" BackgroundColor="#D9D9D9" TextColor="Black"/>
|
|
|
|
|
<Frame HeightRequest="40" WidthRequest="250" CornerRadius="8">
|
|
|
|
|
<SearchBar Placeholder="Rechercher" TextColor="Black" BackgroundColor="#D9D9D9"/>
|
|
|
|
|
</Frame>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
@ -95,11 +90,15 @@
|
|
|
|
|
HeightRequest="20"
|
|
|
|
|
WidthRequest="20"
|
|
|
|
|
Margin="23,125,0,0"/>
|
|
|
|
|
<Label Text="{Binding NbTelechargement}"
|
|
|
|
|
TextColor="White"
|
|
|
|
|
FontFamily="PTSansCaption-Bold"
|
|
|
|
|
FontSize="8"
|
|
|
|
|
Padding="46,138,0,0"/>
|
|
|
|
|
|
|
|
|
|
<Label FontSize="8" FontFamily="PTSansCaption-Bold" TextColor="{StaticResource White}" Padding="46,138,0,0">
|
|
|
|
|
<Label.FormattedText>
|
|
|
|
|
<FormattedString>
|
|
|
|
|
<Span Text="{Binding NbTelechargement}"/>
|
|
|
|
|
<Span Text="k de téléchargements"/>
|
|
|
|
|
</FormattedString>
|
|
|
|
|
</Label.FormattedText>
|
|
|
|
|
</Label>
|
|
|
|
|
</Grid>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</BindableLayout.ItemTemplate>
|
|
|
|
|