Ajout Image

pull/8/head
Remi LAVERGNE 2 years ago
parent 05c1848fa4
commit cbaa499e28

Binary file not shown.

@ -4,7 +4,7 @@
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" 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:views="clr-namespace:GameAtlas.Views" xmlns:views="clr-namespace:GameAtlas.Views"
Shell.NavBarIsVisible="true" Shell.NavBarIsVisible="False"
Shell.FlyoutBehavior="Disabled"> Shell.FlyoutBehavior="Disabled">
<TabBar> <TabBar>

@ -2,8 +2,8 @@
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen> <IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
<ActiveDebugFramework>net7.0-android</ActiveDebugFramework> <ActiveDebugFramework>net7.0-windows10.0.19041.0</ActiveDebugFramework>
<ActiveDebugProfile>Google Pixel 6a (Android 13.0 - API 33)</ActiveDebugProfile> <ActiveDebugProfile>Windows Machine</ActiveDebugProfile>
<SelectedPlatformGroup>PhysicalDevice</SelectedPlatformGroup> <SelectedPlatformGroup>PhysicalDevice</SelectedPlatformGroup>
<DefaultDevice>pixel_5_-_api_33</DefaultDevice> <DefaultDevice>pixel_5_-_api_33</DefaultDevice>
</PropertyGroup> </PropertyGroup>

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

@ -57,9 +57,9 @@
<ScrollView Orientation="Horizontal" Grid.Row="4" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"> <ScrollView Orientation="Horizontal" Grid.Row="4" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
<HorizontalStackLayout Padding="18" Spacing="18"> <HorizontalStackLayout Padding="18" Spacing="18">
<ImageButton Source="logo.png" CornerRadius="10" HeightRequest="160" WidthRequest="290"/> <ImageButton Source="cover_zelda.png" CornerRadius="20" HeightRequest="160" WidthRequest="290"/>
<ImageButton Source="logo.png" CornerRadius="10" HeightRequest="160" WidthRequest="290"/> <ImageButton Source="cover_zelda.png" CornerRadius="20" HeightRequest="160" WidthRequest="290"/>
<ImageButton Source="logo.png" CornerRadius="10" HeightRequest="160" WidthRequest="290"/> <ImageButton Source="cover_zelda.png" CornerRadius="20" HeightRequest="160" WidthRequest="290"/>
</HorizontalStackLayout> </HorizontalStackLayout>
</ScrollView> </ScrollView>

@ -1,4 +1,6 @@
namespace GameAtlas.Views; namespace GameAtlas.Views;
using GameAtlas.Models;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
public partial class PageInscription : ContentPage public partial class PageInscription : ContentPage
@ -34,6 +36,8 @@ public partial class PageInscription : ContentPage
return; return;
} }
await Navigation.PushAsync(new PageAcceuil()); await Navigation.PushAsync(new PageAcceuil());

@ -21,4 +21,6 @@ public partial class PageJeu : ContentPage
JeuManager.AddJeux(MonJeu); JeuManager.AddJeux(MonJeu);
Debug.WriteLine(JeuManager.ListJeux.Count); Debug.WriteLine(JeuManager.ListJeux.Count);
} }
} }

@ -7,18 +7,13 @@
BackgroundColor="Beige"> BackgroundColor="Beige">
<VerticalStackLayout> <VerticalStackLayout>
<HorizontalStackLayout> <HorizontalStackLayout HorizontalOptions="FillAndExpand">
<Image Source="arrow_back.png" WidthRequest="25" HeightRequest="25" HorizontalOptions="Start" Margin="20,20,0,0"/> <Image Source="arrow_back.png" WidthRequest="25" HeightRequest="25" HorizontalOptions="Start" Margin="20,20,0,0"/>
<SearchBar Placeholder="Rechercher" <SearchBar Placeholder="Rechercher"
BackgroundColor="White" BackgroundColor="White"
TextColor="Black" TextColor="Black"
HorizontalTextAlignment="Center" HorizontalOptions="EndAndExpand"
VerticalOptions="Center"
HorizontalOptions="Fill"
Grid.Row="2"
Grid.Column="0"
Margin="10"
/> />
</HorizontalStackLayout> </HorizontalStackLayout>
<Label <Label
@ -31,10 +26,10 @@
<Grid RowDefinitions="auto, auto, auto, auto" <Grid RowDefinitions="auto, auto, auto, auto"
ColumnDefinitions="*,*"> ColumnDefinitions="*,*">
<Rectangle Grid.Column="0" Grid.Row="0" BackgroundColor="Blue" HeightRequest="97" WidthRequest="170" /> <ImageButton Source="cover_zelda.png" CornerRadius="10" Grid.Column="0" Grid.Row="0" HeightRequest="97" WidthRequest="170" Margin="0,0,0,20" />
<Rectangle Grid.Column="1" Grid.Row="0" BackgroundColor="Red" HeightRequest="97" WidthRequest="170" /> <ImageButton Source="cover_zelda.png" CornerRadius="10" Grid.Column="1" Grid.Row="0" HeightRequest="97" WidthRequest="170" Margin="0,0,0,20" />
<Rectangle Grid.Column="0" Grid.Row="1" BackgroundColor="Green" HeightRequest="97" WidthRequest="170" /> <ImageButton Source="cover_zelda.png" CornerRadius="10" Grid.Column="0" Grid.Row="1" HeightRequest="97" WidthRequest="170" Margin="0,0,0,20" />
<Rectangle Grid.Column="1" Grid.Row="1" BackgroundColor="Orange" HeightRequest="97" WidthRequest="170" /> <ImageButton Source="cover_zelda.png" CornerRadius="10" Grid.Column="1" Grid.Row="1" HeightRequest="97" WidthRequest="170" Margin="0,0,0,20" />
</Grid> </Grid>

Loading…
Cancel
Save