mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-30 23:16:09 +00:00 
			
		
		
		
	Colors
This commit is contained in:
		
							parent
							
								
									1dd7cc05b1
								
							
						
					
					
						commit
						b75ed319b4
					
				
					 4 changed files with 100 additions and 63 deletions
				
			
		|  | @ -221,5 +221,8 @@ | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <AndroidResource Include="Resources\drawable-xxhdpi\wooden_sign.png" /> |     <AndroidResource Include="Resources\drawable-xxhdpi\wooden_sign.png" /> | ||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <AndroidResource Include="Resources\values\colors.xml" /> | ||||||
|  |   </ItemGroup> | ||||||
|   <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> |   <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> | ||||||
| </Project> | </Project> | ||||||
|  | @ -1173,44 +1173,71 @@ namespace AideDeJeu.Droid | ||||||
| 		public partial class Color | 		public partial class Color | ||||||
| 		{ | 		{ | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c004a | 			// aapt resource value: 0x7f0c0050 | ||||||
| 			public const int abc_background_cache_hint_selector_material_dark = 2131492938; | 			public const int HDBackLightGrey = 2131492944; | ||||||
| 			 |  | ||||||
| 			// aapt resource value: 0x7f0c004b |  | ||||||
| 			public const int abc_background_cache_hint_selector_material_light = 2131492939; |  | ||||||
| 			 |  | ||||||
| 			// aapt resource value: 0x7f0c004c |  | ||||||
| 			public const int abc_btn_colored_borderless_text_material = 2131492940; |  | ||||||
| 			 |  | ||||||
| 			// aapt resource value: 0x7f0c004d |  | ||||||
| 			public const int abc_btn_colored_text_material = 2131492941; |  | ||||||
| 			 |  | ||||||
| 			// aapt resource value: 0x7f0c004e |  | ||||||
| 			public const int abc_color_highlight_material = 2131492942; |  | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c004f | 			// aapt resource value: 0x7f0c004f | ||||||
| 			public const int abc_hint_foreground_material_dark = 2131492943; | 			public const int HDBackMidGrey = 2131492943; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0050 | 			// aapt resource value: 0x7f0c0052 | ||||||
| 			public const int abc_hint_foreground_material_light = 2131492944; | 			public const int HDBlack = 2131492946; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c004b | ||||||
|  | 			public const int HDGrey = 2131492939; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c004e | ||||||
|  | 			public const int HDLightBlack = 2131492942; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c004d | ||||||
|  | 			public const int HDLightGrey = 2131492941; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c004c | ||||||
|  | 			public const int HDMidGrey = 2131492940; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c004a | ||||||
|  | 			public const int HDRed = 2131492938; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c0051 | ||||||
|  | 			public const int HDWhite = 2131492945; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c0053 | ||||||
|  | 			public const int abc_background_cache_hint_selector_material_dark = 2131492947; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c0054 | ||||||
|  | 			public const int abc_background_cache_hint_selector_material_light = 2131492948; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c0055 | ||||||
|  | 			public const int abc_btn_colored_borderless_text_material = 2131492949; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c0056 | ||||||
|  | 			public const int abc_btn_colored_text_material = 2131492950; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c0057 | ||||||
|  | 			public const int abc_color_highlight_material = 2131492951; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c0058 | ||||||
|  | 			public const int abc_hint_foreground_material_dark = 2131492952; | ||||||
|  | 			 | ||||||
|  | 			// aapt resource value: 0x7f0c0059 | ||||||
|  | 			public const int abc_hint_foreground_material_light = 2131492953; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0005 | 			// aapt resource value: 0x7f0c0005 | ||||||
| 			public const int abc_input_method_navigation_guard = 2131492869; | 			public const int abc_input_method_navigation_guard = 2131492869; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0051 | 			// aapt resource value: 0x7f0c005a | ||||||
| 			public const int abc_primary_text_disable_only_material_dark = 2131492945; | 			public const int abc_primary_text_disable_only_material_dark = 2131492954; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0052 | 			// aapt resource value: 0x7f0c005b | ||||||
| 			public const int abc_primary_text_disable_only_material_light = 2131492946; | 			public const int abc_primary_text_disable_only_material_light = 2131492955; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0053 | 			// aapt resource value: 0x7f0c005c | ||||||
| 			public const int abc_primary_text_material_dark = 2131492947; | 			public const int abc_primary_text_material_dark = 2131492956; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0054 | 			// aapt resource value: 0x7f0c005d | ||||||
| 			public const int abc_primary_text_material_light = 2131492948; | 			public const int abc_primary_text_material_light = 2131492957; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0055 | 			// aapt resource value: 0x7f0c005e | ||||||
| 			public const int abc_search_url_text = 2131492949; | 			public const int abc_search_url_text = 2131492958; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0006 | 			// aapt resource value: 0x7f0c0006 | ||||||
| 			public const int abc_search_url_text_normal = 2131492870; | 			public const int abc_search_url_text_normal = 2131492870; | ||||||
|  | @ -1221,32 +1248,32 @@ namespace AideDeJeu.Droid | ||||||
| 			// aapt resource value: 0x7f0c0008 | 			// aapt resource value: 0x7f0c0008 | ||||||
| 			public const int abc_search_url_text_selected = 2131492872; | 			public const int abc_search_url_text_selected = 2131492872; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0056 | 			// aapt resource value: 0x7f0c005f | ||||||
| 			public const int abc_secondary_text_material_dark = 2131492950; | 			public const int abc_secondary_text_material_dark = 2131492959; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0057 | 			// aapt resource value: 0x7f0c0060 | ||||||
| 			public const int abc_secondary_text_material_light = 2131492951; | 			public const int abc_secondary_text_material_light = 2131492960; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0058 | 			// aapt resource value: 0x7f0c0061 | ||||||
| 			public const int abc_tint_btn_checkable = 2131492952; | 			public const int abc_tint_btn_checkable = 2131492961; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0059 | 			// aapt resource value: 0x7f0c0062 | ||||||
| 			public const int abc_tint_default = 2131492953; | 			public const int abc_tint_default = 2131492962; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c005a | 			// aapt resource value: 0x7f0c0063 | ||||||
| 			public const int abc_tint_edittext = 2131492954; | 			public const int abc_tint_edittext = 2131492963; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c005b | 			// aapt resource value: 0x7f0c0064 | ||||||
| 			public const int abc_tint_seek_thumb = 2131492955; | 			public const int abc_tint_seek_thumb = 2131492964; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c005c | 			// aapt resource value: 0x7f0c0065 | ||||||
| 			public const int abc_tint_spinner = 2131492956; | 			public const int abc_tint_spinner = 2131492965; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c005d | 			// aapt resource value: 0x7f0c0066 | ||||||
| 			public const int abc_tint_switch_thumb = 2131492957; | 			public const int abc_tint_switch_thumb = 2131492966; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c005e | 			// aapt resource value: 0x7f0c0067 | ||||||
| 			public const int abc_tint_switch_track = 2131492958; | 			public const int abc_tint_switch_track = 2131492967; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0009 | 			// aapt resource value: 0x7f0c0009 | ||||||
| 			public const int accent_material_dark = 2131492873; | 			public const int accent_material_dark = 2131492873; | ||||||
|  | @ -1305,8 +1332,8 @@ namespace AideDeJeu.Droid | ||||||
| 			// aapt resource value: 0x7f0c003f | 			// aapt resource value: 0x7f0c003f | ||||||
| 			public const int design_bottom_navigation_shadow_color = 2131492927; | 			public const int design_bottom_navigation_shadow_color = 2131492927; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c005f | 			// aapt resource value: 0x7f0c0068 | ||||||
| 			public const int design_error = 2131492959; | 			public const int design_error = 2131492968; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0040 | 			// aapt resource value: 0x7f0c0040 | ||||||
| 			public const int design_fab_shadow_end_color = 2131492928; | 			public const int design_fab_shadow_end_color = 2131492928; | ||||||
|  | @ -1338,8 +1365,8 @@ namespace AideDeJeu.Droid | ||||||
| 			// aapt resource value: 0x7f0c0049 | 			// aapt resource value: 0x7f0c0049 | ||||||
| 			public const int design_textinput_error_color_light = 2131492937; | 			public const int design_textinput_error_color_light = 2131492937; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0060 | 			// aapt resource value: 0x7f0c0069 | ||||||
| 			public const int design_tint_password_toggle = 2131492960; | 			public const int design_tint_password_toggle = 2131492969; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0017 | 			// aapt resource value: 0x7f0c0017 | ||||||
| 			public const int dim_foreground_disabled_material_dark = 2131492887; | 			public const int dim_foreground_disabled_material_dark = 2131492887; | ||||||
|  | @ -1458,11 +1485,11 @@ namespace AideDeJeu.Droid | ||||||
| 			// aapt resource value: 0x7f0c003c | 			// aapt resource value: 0x7f0c003c | ||||||
| 			public const int switch_thumb_disabled_material_light = 2131492924; | 			public const int switch_thumb_disabled_material_light = 2131492924; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0061 | 			// aapt resource value: 0x7f0c006a | ||||||
| 			public const int switch_thumb_material_dark = 2131492961; | 			public const int switch_thumb_material_dark = 2131492970; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c0062 | 			// aapt resource value: 0x7f0c006b | ||||||
| 			public const int switch_thumb_material_light = 2131492962; | 			public const int switch_thumb_material_light = 2131492971; | ||||||
| 			 | 			 | ||||||
| 			// aapt resource value: 0x7f0c003d | 			// aapt resource value: 0x7f0c003d | ||||||
| 			public const int switch_thumb_normal_material_dark = 2131492925; | 			public const int switch_thumb_normal_material_dark = 2131492925; | ||||||
|  |  | ||||||
							
								
								
									
										12
									
								
								AideDeJeu/AideDeJeu.Android/Resources/values/colors.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								AideDeJeu/AideDeJeu.Android/Resources/values/colors.xml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | ||||||
|  | <?xml version="1.0" encoding="utf-8" ?> | ||||||
|  | <resources> | ||||||
|  |   <item name="HDRed" type="color">#9B1C47</item> | ||||||
|  |   <item name="HDGrey" type="color">#563F5A</item> | ||||||
|  |   <item name="HDMidGrey" type="color">#6F5B73</item> | ||||||
|  |   <item name="HDLightGrey" type="color">#7C7B7B</item> | ||||||
|  |   <item name="HDLightBlack" type="color">#3A213C</item> | ||||||
|  |   <item name="HDBackMidGrey" type="color">#B5AAB9</item> | ||||||
|  |   <item name="HDBackLightGrey" type="color">#EDEDED</item> | ||||||
|  |   <item name="HDWhite" type="color">#FFFFFF</item> | ||||||
|  |   <item name="HDBlack" type="color">#000000</item> | ||||||
|  | </resources> | ||||||
|  | @ -12,13 +12,13 @@ | ||||||
|     <!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette --> |     <!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette --> | ||||||
|     <!-- colorPrimary is used for the default action bar background --> |     <!-- colorPrimary is used for the default action bar background --> | ||||||
|     <!--<item name="colorPrimary">#2196F3</item>--> |     <!--<item name="colorPrimary">#2196F3</item>--> | ||||||
|     <item name="colorPrimary">#58180D</item> |     <item name="colorPrimary">@color/HDWhite</item> | ||||||
|     <!-- colorPrimaryDark is used for the status bar --> |     <!-- colorPrimaryDark is used for the status bar --> | ||||||
|     <!--<item name="colorPrimaryDark">#1976D2</item>--> |     <!--<item name="colorPrimaryDark">#1976D2</item>--> | ||||||
|     <item name="colorPrimaryDark">#58180D</item> |     <item name="colorPrimaryDark">@color/HDBlack</item> | ||||||
|     <!-- colorAccent is used as the default value for colorControlActivated |     <!-- colorAccent is used as the default value for colorControlActivated | ||||||
|          which is used to tint widgets --> |          which is used to tint widgets --> | ||||||
|     <item name="colorAccent">#FF4081</item> |     <item name="colorAccent">@color/HDRed</item> | ||||||
|     <!--<item name="colorAccent">#00FF00</item>--> |     <!--<item name="colorAccent">#00FF00</item>--> | ||||||
|     <!-- You can also set colorControlNormal, colorControlActivated |     <!-- You can also set colorControlNormal, colorControlActivated | ||||||
|          colorControlHighlight and colorSwitchThumbNormal. --> |          colorControlHighlight and colorSwitchThumbNormal. --> | ||||||
|  | @ -26,22 +26,17 @@ | ||||||
| 
 | 
 | ||||||
|     <item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item> |     <item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item> | ||||||
| 
 | 
 | ||||||
|     <item name="colorControlNormal">#FF0000</item> |  | ||||||
|     <item name="colorControlActivated">#FFFF00</item> |  | ||||||
|     <item name="colorControlHighlight">#00FF00</item> |  | ||||||
|     <item name="colorSwitchThumbNormal">#0000FF</item> |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
|       <item name="drawerArrowStyle">@style/DrawerArrowStyle</item> |       <item name="drawerArrowStyle">@style/DrawerArrowStyle</item> | ||||||
|   </style> |   </style> | ||||||
| 
 | 
 | ||||||
|   <style name="DrawerArrowStyle" parent="@style/Widget.AppCompat.DrawerArrowToggle"> |   <style name="DrawerArrowStyle" parent="@style/Widget.AppCompat.DrawerArrowToggle"> | ||||||
|     <item name="spinBars">true</item> |     <item name="spinBars">true</item> | ||||||
|     <item name="color">#FF0000</item> |     <item name="color">@color/HDBlack</item> | ||||||
|   </style> |   </style> | ||||||
| 
 | 
 | ||||||
|   <style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog"> |   <style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog"> | ||||||
|     <item name="colorAccent">#FF4081</item> |     <item name="colorAccent">@color/HDWhite</item> | ||||||
|   </style> |   </style> | ||||||
| 
 | 
 | ||||||
|   <style name="MyTheme.Splash" parent="MainTheme"> |   <style name="MyTheme.Splash" parent="MainTheme"> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez