ADD : update views (Image book ToDo)

homepage-05-09
Lou BRODA 1 year ago
parent 804529aa0b
commit 34191293d5

@ -32,7 +32,7 @@
<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
<MauiIcon Include="Resources\AppIcon\appicon.png" />
<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="456" height="456" viewBox="0 0 456 456" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect x="0" y="0" width="456" height="456" fill="#512BD4" />
</svg>

Before

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

@ -4,33 +4,34 @@
xmlns:contentView="clr-namespace:LivreLand.View.ContentViews"
x:Class="LivreLand.View.ContentViews.AlphabetVerticalMenuView">
<VerticalStackLayout Margin="0,0,5,0">
<VerticalStackLayout Margin="0,0,5,0"
Spacing="-4">
<contentView:LetterVerticalMenuView ButtonLetter="A"/>
<contentView:LetterVerticalMenuView ButtonLetter="B"/>
<!--<contentView:LetterVerticalMenuView ButtonLetter="B"/>-->
<contentView:LetterVerticalMenuView ButtonLetter="C"/>
<contentView:LetterVerticalMenuView ButtonLetter="D"/>
<contentView:LetterVerticalMenuView ButtonLetter="E"/>
<contentView:LetterVerticalMenuView ButtonLetter="F"/>
<contentView:LetterVerticalMenuView ButtonLetter="G"/>
<!--<contentView:LetterVerticalMenuView ButtonLetter="G"/>-->
<contentView:LetterVerticalMenuView ButtonLetter="H"/>
<contentView:LetterVerticalMenuView ButtonLetter="I"/>
<!--<contentView:LetterVerticalMenuView ButtonLetter="I"/>-->
<contentView:LetterVerticalMenuView ButtonLetter="J"/>
<contentView:LetterVerticalMenuView ButtonLetter="K"/>
<contentView:LetterVerticalMenuView ButtonLetter="L"/>
<!--<contentView:LetterVerticalMenuView ButtonLetter="L"/>-->
<contentView:LetterVerticalMenuView ButtonLetter="M"/>
<contentView:LetterVerticalMenuView ButtonLetter="N"/>
<contentView:LetterVerticalMenuView ButtonLetter="O"/>
<!--<contentView:LetterVerticalMenuView ButtonLetter="N"/>-->
<!--<contentView:LetterVerticalMenuView ButtonLetter="O"/>-->
<contentView:LetterVerticalMenuView ButtonLetter="P"/>
<contentView:LetterVerticalMenuView ButtonLetter="Q"/>
<!--<contentView:LetterVerticalMenuView ButtonLetter="Q"/>-->
<contentView:LetterVerticalMenuView ButtonLetter="R"/>
<contentView:LetterVerticalMenuView ButtonLetter="S"/>
<contentView:LetterVerticalMenuView ButtonLetter="T"/>
<contentView:LetterVerticalMenuView ButtonLetter="U"/>
<!--<contentView:LetterVerticalMenuView ButtonLetter="U"/>-->
<contentView:LetterVerticalMenuView ButtonLetter="V"/>
<contentView:LetterVerticalMenuView ButtonLetter="W"/>
<contentView:LetterVerticalMenuView ButtonLetter="X"/>
<contentView:LetterVerticalMenuView ButtonLetter="Y"/>
<contentView:LetterVerticalMenuView ButtonLetter="Z"/>
<!--<contentView:LetterVerticalMenuView ButtonLetter="X"/>-->
<!--<contentView:LetterVerticalMenuView ButtonLetter="Y"/>-->
<!--<contentView:LetterVerticalMenuView ButtonLetter="Z"/>-->
</VerticalStackLayout>
</ContentView>

@ -8,9 +8,6 @@
<Label x:Name="letterText"
Text="{Binding ButtonLetter}"
TextColor="{StaticResource Blue100Accent}"/>
<Grid.GestureRecognizers>
<TapGestureRecognizer Tapped="OnLetterTapped"/>
</Grid.GestureRecognizers>
</Grid>
</ContentView>

@ -7,7 +7,7 @@
HorizontalOptions="End"
VerticalOptions="Start"
Color="Transparent">
<Border>
<Grid BackgroundColor="{AppThemeBinding Light={StaticResource PopupBackground}, Dark={StaticResource Black}}">
<Grid.RowDefinitions>
@ -60,6 +60,7 @@
</Grid.ColumnDefinitions>
<Label Text="Scanner des codes-barres"
LineBreakMode="WordWrap"
MaxLines="2"
Style="{StaticResource HomeButtonText}"
Grid.Column="0"/>

@ -7,6 +7,6 @@ public partial class PopupHomePlusButtonView : Popup
public PopupHomePlusButtonView()
{
InitializeComponent();
Size = new Size(0.7 * (DeviceDisplay.Current.MainDisplayInfo.Width / DeviceDisplay.Current.MainDisplayInfo.Density), 0.5 * (DeviceDisplay.Current.MainDisplayInfo.Width / DeviceDisplay.Current.MainDisplayInfo.Density));
Size = new Size(0.8 * (DeviceDisplay.Current.MainDisplayInfo.Width / DeviceDisplay.Current.MainDisplayInfo.Density), 0.5 * (DeviceDisplay.Current.MainDisplayInfo.Width / DeviceDisplay.Current.MainDisplayInfo.Density));
}
}

@ -5,8 +5,7 @@
x:Class="LivreLand.View.ContentViews.PopupLetterView">
<Grid BackgroundColor="{StaticResource HeaderGray}">
<Label x:Name="letterText"
Style="{StaticResource HomeTitle}"/>
<Label Style="{StaticResource HomeTitle}"/>
</Grid>
</toolkit:Popup>

@ -7,6 +7,5 @@ public partial class PopupLetterView : Popup
public PopupLetterView(string letter)
{
InitializeComponent();
letterText.Text = letter;
}
}

@ -42,6 +42,97 @@
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--Cixin Liu-->
<contentView:HomeButtonView ButtonTitle="Cixin Liu"
ButtonIcon="book.png"
ButtonNumber="3"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--Daniel Pennac-->
<contentView:HomeButtonView ButtonTitle="Daniel Pennac"
ButtonIcon="book.png"
ButtonNumber="2"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--Evgenij Ivanovič Zamâtin-->
<contentView:HomeButtonView ButtonTitle="Evgenij Ivanovič Zamâtin"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--Frank Herbert-->
<contentView:HomeButtonView ButtonTitle="Frank Herbert"
ButtonIcon="book.png"
ButtonNumber="6"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--Herbert George Wells-->
<contentView:HomeButtonView ButtonTitle="Herbert George Wells"
ButtonIcon="book.png"
ButtonNumber="3"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--James S. A. Corey-->
<contentView:HomeButtonView ButtonTitle="James S. A. Corey"
ButtonIcon="book.png"
ButtonNumber="6"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--James Tynion-->
<contentView:HomeButtonView ButtonTitle="James Tynion"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--James Tynion (IV)-->
<contentView:HomeButtonView ButtonTitle="James Tynion (IV)"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--Ken Kesey-->
<contentView:HomeButtonView ButtonTitle="Ken Kesey"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--Ken Liu-->
<contentView:HomeButtonView ButtonTitle="Ken Liu"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
</VerticalStackLayout>
</ScrollView>
</Grid>

@ -41,6 +41,96 @@
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2021-->
<contentView:HomeButtonView ButtonTitle="2021"
ButtonIcon="book.png"
ButtonNumber="6"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2020-->
<contentView:HomeButtonView ButtonTitle="2020"
ButtonIcon="book.png"
ButtonNumber="6"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2019-->
<contentView:HomeButtonView ButtonTitle="2019"
ButtonIcon="book.png"
ButtonNumber="3"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2018-->
<contentView:HomeButtonView ButtonTitle="2018"
ButtonIcon="book.png"
ButtonNumber="2"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2016-->
<contentView:HomeButtonView ButtonTitle="2016"
ButtonIcon="book.png"
ButtonNumber="4"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2015-->
<contentView:HomeButtonView ButtonTitle="2015"
ButtonIcon="book.png"
ButtonNumber="4"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2012-->
<contentView:HomeButtonView ButtonTitle="2012"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2010-->
<contentView:HomeButtonView ButtonTitle="2010"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--2004-->
<contentView:HomeButtonView ButtonTitle="2004"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
<!--1997-->
<contentView:HomeButtonView ButtonTitle="1997"
ButtonIcon="book.png"
ButtonNumber="1"
ButtonRedIconVisible="True"
ButtonBlackIconVisible="False"/>
<contentView:SeparatorBigCutStartView/>
</VerticalStackLayout>
</ScrollView>
</Grid>

@ -42,6 +42,42 @@
ButtonBlackIconVisible="True"/>
<contentView:SeparatorBigCutStartView/>
<!--2 étoiles-->
<contentView:HomeButtonView ButtonTitle="2 étoiles"
ButtonIcon="book.png"
ButtonNumber="2"
ButtonRedIconVisible="False"
ButtonBlackIconVisible="True"/>
<contentView:SeparatorBigCutStartView/>
<!--3 étoiles-->
<contentView:HomeButtonView ButtonTitle="3 étoiles"
ButtonIcon="book.png"
ButtonNumber="2"
ButtonRedIconVisible="False"
ButtonBlackIconVisible="True"/>
<contentView:SeparatorBigCutStartView/>
<!--4 étoiles-->
<contentView:HomeButtonView ButtonTitle="4 étoiles"
ButtonIcon="book.png"
ButtonNumber="2"
ButtonRedIconVisible="False"
ButtonBlackIconVisible="True"/>
<contentView:SeparatorBigCutStartView/>
<!--5 étoiles-->
<contentView:HomeButtonView ButtonTitle="5 étoiles"
ButtonIcon="book.png"
ButtonNumber="2"
ButtonRedIconVisible="False"
ButtonBlackIconVisible="True"/>
<contentView:SeparatorBigCutStartView/>
</VerticalStackLayout>
</ScrollView>
</Grid>

@ -24,12 +24,6 @@
<toolkit:IconTintColorBehavior TintColor="{StaticResource PinkOrange}"/>
</ImageButton.Behaviors>
</ImageButton>
<Button VerticalOptions="Center"
ImageSource="plus.png"
BackgroundColor="Transparent"
MaximumHeightRequest="20"
MaximumWidthRequest="20"
Grid.Column="2"/>
</Grid>
</ContentView>

@ -31,7 +31,7 @@
MaximumWidthRequest="20"
Grid.Column="0">
<ImageButton.Behaviors>
<toolkit:IconTintColorBehavior TintColor="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}"/>
<toolkit:IconTintColorBehavior TintColor="{AppThemeBinding Light={StaticResource PinkOrange}, Dark={StaticResource White}}"/>
</ImageButton.Behaviors>
</ImageButton>
<Label Text="{Binding HeaderBackButtonText}"

@ -18,7 +18,7 @@
HeaderPlusButtonVisible="True"
HeaderSwitchButtonVisible="True"
Grid.Row="0"/>
<ScrollView Grid.Row="2">
<ScrollView Grid.Row="2" Style="{StaticResource Key=test}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
@ -46,6 +46,15 @@
<DataTemplate>
<VerticalStackLayout Margin="10"
Spacing="20">
<VisualStateManager.VisualStateGroups x:Name="SelectionStates">
<VisualStateGroup>
<VisualState x:Name="Selected">
<VisualState.Setters>
<Setter Property="BackgroundColor" Value="Transparent" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
@ -64,6 +73,11 @@
HeightRequest="100"
Grid.Column="0"
Grid.RowSpan="5"/>
<Image Source="couverture_la_horde_du_contrevent.png"
WidthRequest="90"
HeightRequest="90"
Grid.Column="0"
Grid.RowSpan="5"/>
<Label Text="{Binding Title}"
Style="{StaticResource MasterTitleBookText}"
Grid.Column="2"

Loading…
Cancel
Save