|
|
|
@ -6,9 +6,11 @@
|
|
|
|
|
x:Class="Vues.SearchMob">
|
|
|
|
|
<!--BackgroundImageSource="backcollection.jpg"-->
|
|
|
|
|
<Grid ColumnDefinitions="Auto, *">
|
|
|
|
|
<Grid RowDefinitions="Auto, *" RowSpacing="25" WidthRequest="300">
|
|
|
|
|
<Grid RowDefinitions="Auto, *" RowSpacing="25" WidthRequest="300"
|
|
|
|
|
BackgroundColor="{StaticResource buttonBackgroundColor}">
|
|
|
|
|
<HorizontalStackLayout Grid.Row="0">
|
|
|
|
|
<ImageButton Source="exit.png" WidthRequest="20"/>
|
|
|
|
|
<ImageButton Source="exit.png" WidthRequest="20"
|
|
|
|
|
BackgroundColor="{StaticResource buttonBackgroundColor}"/>
|
|
|
|
|
<SearchBar Placeholder="Rechercher un monstre"
|
|
|
|
|
PlaceholderColor="DimGray"
|
|
|
|
|
CancelButtonColor="DimGray"/>
|
|
|
|
@ -42,36 +44,48 @@
|
|
|
|
|
</ListView.ItemTemplate>
|
|
|
|
|
</ListView>
|
|
|
|
|
</Grid>
|
|
|
|
|
<ScrollView Grid.Column="1">
|
|
|
|
|
<ScrollView Grid.Column="1" BackgroundColor="{StaticResource Blue300Accent}">
|
|
|
|
|
<Grid RowDefinitions="Auto,*,*,*" BindingContext="{Binding SelectedItem, Source={x:Reference ListViewMonsters}}">
|
|
|
|
|
<Grid Grid.Row="0" ColumnDefinitions="*,Auto" Padding="25" BackgroundColor="LightBlue">
|
|
|
|
|
<Grid Grid.Row="0" Padding="25" >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="3*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<!-- Infos du monstre BUG AVEC LES FRAMES, ESSAYE DE VOIR POUR QUE CE SOIT BEAU ET QUE LE TEXTE SOIT PAS COUPE + MODIFIE LE BINDING-->
|
|
|
|
|
<!-- Infos du monstre MODIFIE LE BINDING-->
|
|
|
|
|
<VerticalStackLayout Grid.Column="0">
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="Déjà vu ?" FontSize="20" TextColor="White" Margin="7"/>
|
|
|
|
|
<CheckBox Color="{StaticResource BleuFonce}"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<Frame Margin="0" HorizontalOptions="Center" >
|
|
|
|
|
<Frame Margin="0, 0, 0, 30"
|
|
|
|
|
HorizontalOptions="Fill"
|
|
|
|
|
>
|
|
|
|
|
<Label BackgroundColor="White" FontSize="Medium"
|
|
|
|
|
Text="{Binding Description, StringFormat=Description : \{0\}}"/>
|
|
|
|
|
</Frame>
|
|
|
|
|
<Frame Margin="0">
|
|
|
|
|
<Frame Margin="0, 0, 0, 30"
|
|
|
|
|
HorizontalOptions="FillAndExpand"
|
|
|
|
|
>
|
|
|
|
|
<Label BackgroundColor="White" FontSize="Medium"
|
|
|
|
|
Text="{Binding Description, StringFormat=Caractéristiques : \{0\}}"/>
|
|
|
|
|
</Frame>
|
|
|
|
|
<Frame Margin="0">
|
|
|
|
|
<Frame Margin="0, 0, 0, 30"
|
|
|
|
|
HorizontalOptions="FillAndExpand"
|
|
|
|
|
>
|
|
|
|
|
<Label BackgroundColor="White" FontSize="Medium"
|
|
|
|
|
Text="{Binding Description, StringFormat=Apparences : \{0\}}"/>
|
|
|
|
|
</Frame>
|
|
|
|
|
<Frame Margin="0">
|
|
|
|
|
<Frame Margin="0, 0, 0, 30"
|
|
|
|
|
HorizontalOptions="FillAndExpand"
|
|
|
|
|
>
|
|
|
|
|
<Label BackgroundColor="White" FontSize="Medium"
|
|
|
|
|
Text="{Binding Description, StringFormat=Conseils : \{0\}}"/>
|
|
|
|
|
</Frame>
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Image du mob -->
|
|
|
|
|
<Image Grid.Column="1" Source="{Binding CardLink}" HeightRequest="600"/>
|
|
|
|
|
<Image Grid.Column="1" Source="{Binding CardLink}" HeightRequest="600" HorizontalOptions="EndAndExpand"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</ScrollView>
|
|
|
|
|