mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-30 23:16:09 +00:00 
			
		
		
		
	Tweaks
This commit is contained in:
		
							parent
							
								
									0a05d158af
								
							
						
					
					
						commit
						c4a3a06f09
					
				
					 10 changed files with 73 additions and 59 deletions
				
			
		|  | @ -5,6 +5,13 @@ | ||||||
|     <Application.Resources> |     <Application.Resources> | ||||||
|         <ResourceDictionary> |         <ResourceDictionary> | ||||||
| 
 | 
 | ||||||
|  |             <ControlTemplate x:Key="HDNavigationPageTemplate"> | ||||||
|  |                 <StackLayout> | ||||||
|  |                     <Label Text="Header Content" FontSize="24" /> | ||||||
|  |                     <ContentPresenter /> | ||||||
|  |                 </StackLayout> | ||||||
|  |             </ControlTemplate> | ||||||
|  | 
 | ||||||
|             <Color x:Key="HDRed">#9B1C47</Color> |             <Color x:Key="HDRed">#9B1C47</Color> | ||||||
|             <Color x:Key="HDGrey">#563F5A</Color> |             <Color x:Key="HDGrey">#563F5A</Color> | ||||||
|             <Color x:Key="HDMidGrey">#6F5B73</Color> |             <Color x:Key="HDMidGrey">#6F5B73</Color> | ||||||
|  | @ -15,7 +22,7 @@ | ||||||
|             <Color x:Key="HDWhite">#FFFFFF</Color> |             <Color x:Key="HDWhite">#FFFFFF</Color> | ||||||
|             <Color x:Key="HDBlack">#000000</Color> |             <Color x:Key="HDBlack">#000000</Color> | ||||||
|              |              | ||||||
|              |             <!-- | ||||||
|             <Color x:Key="Primary">#2196F3</Color> |             <Color x:Key="Primary">#2196F3</Color> | ||||||
|             <Color x:Key="PrimaryDark">#1976D2</Color> |             <Color x:Key="PrimaryDark">#1976D2</Color> | ||||||
|             <Color x:Key="Accent">#96d1ff</Color> |             <Color x:Key="Accent">#96d1ff</Color> | ||||||
|  | @ -23,46 +30,46 @@ | ||||||
|             <Color x:Key="DarkBackgroundColor">#C0C0C0</Color> |             <Color x:Key="DarkBackgroundColor">#C0C0C0</Color> | ||||||
|             <Color x:Key="MediumGrayTextColor">#4d4d4d</Color> |             <Color x:Key="MediumGrayTextColor">#4d4d4d</Color> | ||||||
|             <Color x:Key="LightTextColor">#999999</Color> |             <Color x:Key="LightTextColor">#999999</Color> | ||||||
| 
 |             --> | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|             <!-- https://github.com/evanbergeron/DND-5e-LaTeX-Template/blob/master/lib/dndcolors.sty --> |             <!-- https://github.com/evanbergeron/DND-5e-LaTeX-Template/blob/master/lib/dndcolors.sty --> | ||||||
| 
 | 
 | ||||||
|             <Color x:Key="bgtan">#F7F2E5</Color> <!--% background and quotebox--> |             <!--<Color x:Key="bgtan">#F7F2E5</Color> --><!--% background and quotebox--><!-- | ||||||
|             <Color x:Key="pagegold">#B89A67</Color>  <!--% pagenumbers and footer--> |             <Color x:Key="pagegold">#B89A67</Color>  --><!--% pagenumbers and footer--> | ||||||
| 
 | 
 | ||||||
|             <!--% Type--> |             <!--% Type--> | ||||||
|             <Color x:Key="titlered">#58180D</Color>	<!--% titles--> |             <!--<Color x:Key="titlered">#58180D</Color>	--><!--% titles--><!-- | ||||||
|             <Color x:Key="titlegold">#C9AD6A</Color> <!--% titlerules--> |             <Color x:Key="titlegold">#C9AD6A</Color> --><!--% titlerules--><!-- | ||||||
|             <Color x:Key="rulered">#9C2B1B</Color>		<!--% triangular rule in statsblock--> |             <Color x:Key="rulered">#9C2B1B</Color>		--><!--% triangular rule in statsblock--><!-- | ||||||
|             <Color x:Key="contentblack">#000000</Color> <!--% ajout --> |             <Color x:Key="contentblack">#000000</Color> --><!--% ajout --> | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|             <!--% Trim (affects tables and paperboxes)--> |             <!--% Trim (affects tables and paperboxes)--> | ||||||
|             <Color x:Key="PhbLightGreen">#E0E5C1</Color> <!--% PHB Part 1--> |             <!--<Color x:Key="PhbLightGreen">#E0E5C1</Color> --><!--% PHB Part 1--><!-- | ||||||
|             <Color x:Key="PhbLightCyan">#B5CEB8</Color>  <!--% PHB Part 2--> |             <Color x:Key="PhbLightCyan">#B5CEB8</Color>  --><!--% PHB Part 2--><!-- | ||||||
|             <Color x:Key="PhbMauve">#DCCCC5</Color>      <!--% PHB Part 3--> |             <Color x:Key="PhbMauve">#DCCCC5</Color>      --><!--% PHB Part 3--><!-- | ||||||
|             <Color x:Key="PhbTan">#E5D5AC</Color>        <!--% PHB appendix--> |             <Color x:Key="PhbTan">#E5D5AC</Color>        --><!--% PHB appendix--><!-- | ||||||
|             <Color x:Key="DmgLavender">#E3CED3</Color>   <!--% DMG Part 1--> |             <Color x:Key="DmgLavender">#E3CED3</Color>   --><!--% DMG Part 1--><!-- | ||||||
|             <Color x:Key="DmgCoral">#F3D7C1</Color>      <!--% DMG Part 2--> |             <Color x:Key="DmgCoral">#F3D7C1</Color>      --><!--% DMG Part 2--><!-- | ||||||
|             <Color x:Key="DmgSlateGray">#DBE4E4</Color>  <!--% DMG Part 3--> |             <Color x:Key="DmgSlateGray">#DBE4E4</Color>  --><!--% DMG Part 3--><!-- | ||||||
|             <Color x:Key="DmgLilac">#D7D4D6</Color>      <!--% DMG appendix--> |             <Color x:Key="DmgLilac">#D7D4D6</Color>      --><!--% DMG appendix--> | ||||||
| 
 | 
 | ||||||
|             <!--% Trim aliases--> |             <!--% Trim aliases--><!-- | ||||||
|             <Color x:Key="DmgSlateGrey">#DBE4E4</Color> |             <Color x:Key="DmgSlateGrey">#DBE4E4</Color> | ||||||
| 
 | 
 | ||||||
|             <!--% The color used in \setthemecolor when a new color is not set--> |             --><!--% The color used in \setthemecolor when a new color is not set--><!-- | ||||||
|             <Color x:Key="themecolor">#E0E5C1</Color>    <!--% Set the default theme to Part 1 of the PHB.--> |             <Color x:Key="themecolor">#E0E5C1</Color>    --><!--% Set the default theme to Part 1 of the PHB.--> | ||||||
| 
 | 
 | ||||||
|             <!--% Element colors that change when \setthemecolor is used--> |             <!--% Element colors that change when \setthemecolor is used--><!-- | ||||||
|             <Color x:Key="commentboxcolor">#E0E5C1</Color> <!--% commentbox background--> |             <Color x:Key="commentboxcolor">#E0E5C1</Color> --><!--% commentbox background--><!-- | ||||||
|             <Color x:Key="paperboxcolor">#E0E5C1</Color>    <!--% paperbox background--> |             <Color x:Key="paperboxcolor">#E0E5C1</Color>    --><!--% paperbox background--><!-- | ||||||
|             <Color x:Key="tablecolor">#E0E5C1</Color>       <!--% table even row background--> |             <Color x:Key="tablecolor">#E0E5C1</Color>       --><!--% table even row background--> | ||||||
| 
 | 
 | ||||||
|             <!--% Element colors that do not respond to \setthemecolor--> |             <!--% Element colors that do not respond to \setthemecolor--><!-- | ||||||
|             <Color x:Key="quoteboxcolor">#FFFFFF</Color>             <!--% quotebox background--> |             <Color x:Key="quoteboxcolor">#FFFFFF</Color>             --><!--% quotebox background--><!-- | ||||||
|             <Color x:Key="statblockribbon">#E69A28</Color> <!--% stat block top/bottom borders (gold)--> |             <Color x:Key="statblockribbon">#E69A28</Color> --><!--% stat block top/bottom borders (gold)--><!-- | ||||||
|             <Color x:Key="statblockbg">#FDF1DC</Color>     <!--% stat block background (tan)--> |             <Color x:Key="statblockbg">#FDF1DC</Color>     --><!--% stat block background (tan)--> | ||||||
| 
 | 
 | ||||||
|             <!--% Sets the themecolor and colors for all themed elements |             <!--% Sets the themecolor and colors for all themed elements | ||||||
|             % If called without the optional color, resets the color of all themed elements to the current themecolor |             % If called without the optional color, resets the color of all themed elements to the current themecolor | ||||||
|  | @ -73,11 +80,11 @@ | ||||||
|               \colorlet{tablecolor}{#1} |               \colorlet{tablecolor}{#1} | ||||||
|             }--> |             }--> | ||||||
| 
 | 
 | ||||||
|             <!--% Backwards-compatible aliases and colours--> |             <!--% Backwards-compatible aliases and colours--><!-- | ||||||
|             <Color x:Key="commentgreen">#E0E5C1</Color> |             <Color x:Key="commentgreen">#E0E5C1</Color> | ||||||
|             <Color x:Key="itemtablepink">#F3D7C1</Color> |             <Color x:Key="itemtablepink">#F3D7C1</Color> | ||||||
|             <Color x:Key="monstertan">#FDF1DC</Color> |             <Color x:Key="monstertan">#FDF1DC</Color> | ||||||
|             <Color x:Key="monstertandark">#F0DBB5</Color> |             <Color x:Key="monstertandark">#F0DBB5</Color>--> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="ContentPage"> |             <Style TargetType="ContentPage"> | ||||||
|                 <Setter Property="BackgroundColor" Value="{StaticResource HDWhite}" /> |                 <Setter Property="BackgroundColor" Value="{StaticResource HDWhite}" /> | ||||||
|  | @ -143,96 +150,96 @@ | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label"  x:Key="section"> |             <Style TargetType="Label"  x:Key="section"> | ||||||
|                 <Setter Property="FontSize" Value="Large" /> |                 <Setter Property="FontSize" Value="Large" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitals}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitals}" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label" x:Key="subsection"> |             <Style TargetType="Label" x:Key="subsection"> | ||||||
|                 <Setter Property="FontSize" Value="Large" /> |                 <Setter Property="FontSize" Value="Large" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitals}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitals}" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label" x:Key="subsubsection"> |             <Style TargetType="Label" x:Key="subsubsection"> | ||||||
|                 <Setter Property="FontSize" Value="Large" /> |                 <Setter Property="FontSize" Value="Large" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitals}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitals}" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label" x:Key="content"> |             <Style TargetType="Label" x:Key="content"> | ||||||
|                 <Setter Property="FontSize" Value="Medium" /> |                 <Setter Property="FontSize" Value="Medium" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource contentblack}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDBlack}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertine}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertine}" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label" x:Key="contentbold"> |             <Style TargetType="Label" x:Key="contentbold"> | ||||||
|                 <Setter Property="FontSize" Value="Medium" /> |                 <Setter Property="FontSize" Value="Medium" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource contentblack}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDBlack}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineBold}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineBold}" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label" x:Key="contentital"> |             <Style TargetType="Label" x:Key="contentital"> | ||||||
|                 <Setter Property="FontSize" Value="Medium" /> |                 <Setter Property="FontSize" Value="Medium" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource contentblack}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDBlack}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineItal}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineItal}" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label" x:Key="contentboldital"> |             <Style TargetType="Label" x:Key="contentboldital"> | ||||||
|                 <Setter Property="FontSize" Value="Medium" /> |                 <Setter Property="FontSize" Value="Medium" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource contentblack}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDBlack}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineBoldItal}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineBoldItal}" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label"  x:Key="paragraph"> |             <Style TargetType="Label"  x:Key="paragraph"> | ||||||
|                 <Setter Property="FontSize" Value="16" /> |                 <Setter Property="FontSize" Value="16" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="serif" /> |                 <Setter Property="FontFamily" Value="serif" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label"  x:Key="heading1"> |             <Style TargetType="Label"  x:Key="heading1"> | ||||||
|                 <Setter Property="FontSize" Value="26" /> |                 <Setter Property="FontSize" Value="26" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> | ||||||
|                 <Setter Property="FontAttributes" Value="Bold" /> |                 <Setter Property="FontAttributes" Value="Bold" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label"  x:Key="heading2"> |             <Style TargetType="Label"  x:Key="heading2"> | ||||||
|                 <Setter Property="FontSize" Value="22" /> |                 <Setter Property="FontSize" Value="22" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> | ||||||
|                 <Setter Property="FontAttributes" Value="Bold" /> |                 <Setter Property="FontAttributes" Value="Bold" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label"  x:Key="heading3"> |             <Style TargetType="Label"  x:Key="heading3"> | ||||||
|                 <Setter Property="FontSize" Value="20" /> |                 <Setter Property="FontSize" Value="20" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> | ||||||
|                 <Setter Property="FontAttributes" Value="Bold" /> |                 <Setter Property="FontAttributes" Value="Bold" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label"  x:Key="heading4"> |             <Style TargetType="Label"  x:Key="heading4"> | ||||||
|                 <Setter Property="FontSize" Value="18" /> |                 <Setter Property="FontSize" Value="18" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> | ||||||
|                 <Setter Property="FontAttributes" Value="Bold" /> |                 <Setter Property="FontAttributes" Value="Bold" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label"  x:Key="heading5"> |             <Style TargetType="Label"  x:Key="heading5"> | ||||||
|                 <Setter Property="FontSize" Value="16" /> |                 <Setter Property="FontSize" Value="16" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> | ||||||
|                 <Setter Property="FontAttributes" Value="Bold" /> |                 <Setter Property="FontAttributes" Value="Bold" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="Label"  x:Key="heading6"> |             <Style TargetType="Label"  x:Key="heading6"> | ||||||
|                 <Setter Property="FontSize" Value="14" /> |                 <Setter Property="FontSize" Value="14" /> | ||||||
|                 <Setter Property="TextColor" Value="{StaticResource titlered}" /> |                 <Setter Property="TextColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> |                 <Setter Property="FontFamily" Value="{DynamicResource LinuxLibertineCapitalsBold}" /> | ||||||
|                 <Setter Property="FontAttributes" Value="Bold" /> |                 <Setter Property="FontAttributes" Value="Bold" /> | ||||||
|             </Style> |             </Style> | ||||||
| 
 | 
 | ||||||
|             <Style TargetType="NavigationPage"> |             <Style TargetType="NavigationPage"> | ||||||
|                 <Setter Property="BarBackgroundColor" Value="{StaticResource titlered}" /> |                 <Setter Property="BarBackgroundColor" Value="{StaticResource HDRed}" /> | ||||||
|                 <Setter Property="BarTextColor" Value="{StaticResource HDWhite}" /> |                 <Setter Property="BarTextColor" Value="{StaticResource HDWhite}" /> | ||||||
|                 <Setter Property="BackgroundColor" Value="{StaticResource HDWhite}" /> |                 <Setter Property="BackgroundColor" Value="{StaticResource HDWhite}" /> | ||||||
|             </Style> |             </Style> | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ namespace AideDeJeu | ||||||
|             var vm = DependencyService.Get<MainViewModel>(); |             var vm = DependencyService.Get<MainViewModel>(); | ||||||
|             var tabbeddPage = new AideDeJeu.Views.MainTabbedPage(); |             var tabbeddPage = new AideDeJeu.Views.MainTabbedPage(); | ||||||
|             //var mainPage = new ItemDetailPage(new ItemDetailViewModel(new HomeItem()) { Title = "Haches & Dés" }); |             //var mainPage = new ItemDetailPage(new ItemDetailViewModel(new HomeItem()) { Title = "Haches & Dés" }); | ||||||
|             var titlered = (Color)Resources["titlered"]; |             var titlered = (Color)Resources["HDRed"]; | ||||||
|             var bgtan = (Color)Resources["HDWhite"]; |             var bgtan = (Color)Resources["HDWhite"]; | ||||||
|             //var navigationPage = new MainNavigationPage(mainPage) { BarBackgroundColor = titlered, BarTextColor = bgtan }; |             //var navigationPage = new MainNavigationPage(mainPage) { BarBackgroundColor = titlered, BarTextColor = bgtan }; | ||||||
|             //tabbeddPage.MainNavigationPage = navigationPage; |             //tabbeddPage.MainNavigationPage = navigationPage; | ||||||
|  |  | ||||||
|  | @ -16,15 +16,15 @@ | ||||||
|             <ColumnDefinition Width="Auto" /> |             <ColumnDefinition Width="Auto" /> | ||||||
|             <ColumnDefinition Width="*" /> |             <ColumnDefinition Width="*" /> | ||||||
|         </Grid.ColumnDefinitions> |         </Grid.ColumnDefinitions> | ||||||
|         <StackLayout BackgroundColor="{StaticResource titlered}" VerticalOptions="FillAndExpand" HorizontalOptions="Fill"> |         <StackLayout BackgroundColor="{StaticResource HDRed}" VerticalOptions="FillAndExpand" HorizontalOptions="Fill"> | ||||||
|             <StackLayout BackgroundColor="{StaticResource titlered}" Orientation="Horizontal" HorizontalOptions="Center" VerticalOptions="Center"> |             <StackLayout BackgroundColor="{StaticResource HDRed}" Orientation="Horizontal" HorizontalOptions="Center" VerticalOptions="Center"> | ||||||
|                 <ContentView BackgroundColor="{StaticResource titlered}" Padding="20,20,20,20" VerticalOptions="FillAndExpand"> |                 <ContentView BackgroundColor="{StaticResource HDRed}" Padding="20,20,20,20" VerticalOptions="FillAndExpand"> | ||||||
|                     <Image BackgroundColor="{StaticResource titlered}" Source="black_book.png" VerticalOptions="Center" HeightRequest="64" /> |                     <Image BackgroundColor="{StaticResource HDRed}" Source="black_book.png" VerticalOptions="Center" HeightRequest="64" /> | ||||||
|                 </ContentView> |                 </ContentView> | ||||||
|             </StackLayout> |             </StackLayout> | ||||||
|         </StackLayout> |         </StackLayout> | ||||||
|         <StackLayout Grid.Column="1" Grid.Row="0" BackgroundColor="{StaticResource titlered}" VerticalOptions="FillAndExpand" HorizontalOptions="Fill"> |         <StackLayout Grid.Column="1" Grid.Row="0" BackgroundColor="{StaticResource HDRed}" VerticalOptions="FillAndExpand" HorizontalOptions="Fill"> | ||||||
|             <StackLayout BackgroundColor="{StaticResource titlered}" Padding="20,20,20,20" Orientation="Vertical" HorizontalOptions="Center" VerticalOptions="Center"> |             <StackLayout BackgroundColor="{StaticResource HDRed}" Padding="20,20,20,20" Orientation="Vertical" HorizontalOptions="Center" VerticalOptions="Center"> | ||||||
|                 <Label Text="Haches & Dés " Style="{StaticResource heading1}" FontSize="32" FontAttributes="Bold" TextColor="{StaticResource HDWhite}" HorizontalOptions="Center"/> |                 <Label Text="Haches & Dés " Style="{StaticResource heading1}" FontSize="32" FontAttributes="Bold" TextColor="{StaticResource HDWhite}" HorizontalOptions="Center"/> | ||||||
|                 <Label Text="{Binding Version, StringFormat='Version {0}'}" TextColor="{StaticResource HDWhite}" HorizontalOptions="Center"/> |                 <Label Text="{Binding Version, StringFormat='Version {0}'}" TextColor="{StaticResource HDWhite}" HorizontalOptions="Center"/> | ||||||
|             </StackLayout> |             </StackLayout> | ||||||
|  |  | ||||||
|  | @ -49,7 +49,7 @@ | ||||||
|                     Grid.Column="0" Grid.Row="0"  |                     Grid.Column="0" Grid.Row="0"  | ||||||
|                     VerticalOptions="StartAndExpand" |                     VerticalOptions="StartAndExpand" | ||||||
|                     HorizontalOptions="End" |                     HorizontalOptions="End" | ||||||
|                     Color="{StaticResource titlered}" |                     Color="{StaticResource HDRed}" | ||||||
|                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  |                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||||
|                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> |                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||||
|                 <ActivityIndicator.WidthRequest> |                 <ActivityIndicator.WidthRequest> | ||||||
|  |  | ||||||
|  | @ -1,6 +1,7 @@ | ||||||
| <?xml version="1.0" encoding="utf-8" ?> | <?xml version="1.0" encoding="utf-8" ?> | ||||||
| <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | ||||||
|              xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |              xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||||||
|  |             xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core" | ||||||
|              xmlns:tools="clr-namespace:AideDeJeu.Tools" |              xmlns:tools="clr-namespace:AideDeJeu.Tools" | ||||||
|              x:Class="AideDeJeu.Views.BookmarksPage" |              x:Class="AideDeJeu.Views.BookmarksPage" | ||||||
|              x:Name="This" |              x:Name="This" | ||||||
|  | @ -23,7 +24,9 @@ | ||||||
|              |              | ||||||
|             <Picker Grid.Column="0" Grid.Row="0" Style="{StaticResource heading1}" HorizontalOptions="Fill" ItemsSource="{Binding BookmarkCollectionNames, Mode=OneWay}" ItemDisplayBinding="{Binding Mode=OneWay}" SelectedIndex="{Binding BookmarkCollectionIndex, Mode=TwoWay}" /> |             <Picker Grid.Column="0" Grid.Row="0" Style="{StaticResource heading1}" HorizontalOptions="Fill" ItemsSource="{Binding BookmarkCollectionNames, Mode=OneWay}" ItemDisplayBinding="{Binding Mode=OneWay}" SelectedIndex="{Binding BookmarkCollectionIndex, Mode=TwoWay}" /> | ||||||
| 
 | 
 | ||||||
|             <Image Grid.Column="1" Grid.Row="0" Source="settings_knobs.png"> |             <Image Grid.Column="1" Grid.Row="0" Source="settings_knobs.png" | ||||||
|  |                 android:VisualElement.Elevation="10" | ||||||
|  |                    > | ||||||
|                 <Image.GestureRecognizers> |                 <Image.GestureRecognizers> | ||||||
|                     <TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped" /> |                     <TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped" /> | ||||||
|                 </Image.GestureRecognizers> |                 </Image.GestureRecognizers> | ||||||
|  | @ -47,7 +50,7 @@ | ||||||
|                     Grid.Column="0" Grid.Row="0"  |                     Grid.Column="0" Grid.Row="0"  | ||||||
|                     VerticalOptions="StartAndExpand" |                     VerticalOptions="StartAndExpand" | ||||||
|                     HorizontalOptions="End" |                     HorizontalOptions="End" | ||||||
|                     Color="{StaticResource titlered}" |                     Color="{StaticResource HDRed}" | ||||||
|                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  |                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||||
|                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> |                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||||
|                 <ActivityIndicator.WidthRequest> |                 <ActivityIndicator.WidthRequest> | ||||||
|  |  | ||||||
|  | @ -50,7 +50,7 @@ | ||||||
|                     Grid.Column="0" Grid.Row="0"  |                     Grid.Column="0" Grid.Row="0"  | ||||||
|                     VerticalOptions="StartAndExpand" |                     VerticalOptions="StartAndExpand" | ||||||
|                     HorizontalOptions="End" |                     HorizontalOptions="End" | ||||||
|                     Color="{StaticResource titlered}" |                     Color="{StaticResource HDRed}" | ||||||
|                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  |                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||||
|                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> |                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||||
|                 <ActivityIndicator.WidthRequest> |                 <ActivityIndicator.WidthRequest> | ||||||
|  |  | ||||||
|  | @ -73,7 +73,7 @@ | ||||||
|                 <ActivityIndicator  |                 <ActivityIndicator  | ||||||
|                     VerticalOptions="StartAndExpand" |                     VerticalOptions="StartAndExpand" | ||||||
|                     HorizontalOptions="End" |                     HorizontalOptions="End" | ||||||
|                     Color="{StaticResource titlered}" |                     Color="{StaticResource HDRed}" | ||||||
|                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  |                     IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||||
|                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> |                     IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||||
|                     <ActivityIndicator.WidthRequest> |                     <ActivityIndicator.WidthRequest> | ||||||
|  |  | ||||||
|  | @ -29,7 +29,7 @@ | ||||||
|         <ActivityIndicator  |         <ActivityIndicator  | ||||||
|             VerticalOptions="StartAndExpand" |             VerticalOptions="StartAndExpand" | ||||||
|             HorizontalOptions="End" |             HorizontalOptions="End" | ||||||
|             Color="{StaticResource titlered}" |             Color="{StaticResource HDRed}" | ||||||
|             IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  |             IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||||
|             IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> |             IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||||
|             <ActivityIndicator.WidthRequest> |             <ActivityIndicator.WidthRequest> | ||||||
|  |  | ||||||
|  | @ -43,7 +43,7 @@ | ||||||
|         <ActivityIndicator  |         <ActivityIndicator  | ||||||
|             VerticalOptions="StartAndExpand" |             VerticalOptions="StartAndExpand" | ||||||
|             HorizontalOptions="End" |             HorizontalOptions="End" | ||||||
|             Color="{StaticResource titlered}" |             Color="{StaticResource HDRed}" | ||||||
|             IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  |             IsRunning="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"  | ||||||
|             IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> |             IsVisible="{Binding BindingContext.Main.IsLoading, Source={x:Reference This}}"> | ||||||
|             <ActivityIndicator.WidthRequest> |             <ActivityIndicator.WidthRequest> | ||||||
|  |  | ||||||
|  | @ -11,7 +11,11 @@ | ||||||
|     xmlns:windows="clr-namespace:Xamarin.Forms.PlatformConfiguration.WindowsSpecific;assembly=Xamarin.Forms.Core" |     xmlns:windows="clr-namespace:Xamarin.Forms.PlatformConfiguration.WindowsSpecific;assembly=Xamarin.Forms.Core" | ||||||
|     windows:TabbedPage.HeaderIconsEnabled="true" |     windows:TabbedPage.HeaderIconsEnabled="true" | ||||||
|     xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core" |     xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core" | ||||||
|     android:TabbedPage.ToolbarPlacement="Bottom"> |     android:TabbedPage.ToolbarPlacement="Bottom" | ||||||
|  |     android:TabbedPage.IsSwipePagingEnabled="False" | ||||||
|  |     android:TabbedPage.BarItemColor="#FF0000" | ||||||
|  |     android:TabbedPage.BarSelectedItemColor="#00FF00" | ||||||
|  |     > | ||||||
| 
 | 
 | ||||||
|     <views:MainNavigationPage x:Name="NavigationPage" Title="Bibliothèque" Icon="spell_book.png"> |     <views:MainNavigationPage x:Name="NavigationPage" Title="Bibliothèque" Icon="spell_book.png"> | ||||||
|         <x:Arguments> |         <x:Arguments> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez