diff --git a/TheGameExtreme.Android/Resources/Resource.designer.cs b/TheGameExtreme.Android/Resources/Resource.designer.cs
index 0d13504..455e66d 100644
--- a/TheGameExtreme.Android/Resources/Resource.designer.cs
+++ b/TheGameExtreme.Android/Resources/Resource.designer.cs
@@ -5746,76 +5746,79 @@ namespace TheGameExtreme.Droid
public const int EngrenageV1 = 2131165285;
// aapt resource value: 0x7F070066
- public const int ic_mtrl_chip_checked_black = 2131165286;
+ public const int HomeIcon = 2131165286;
// aapt resource value: 0x7F070067
- public const int ic_mtrl_chip_checked_circle = 2131165287;
+ public const int ic_mtrl_chip_checked_black = 2131165287;
// aapt resource value: 0x7F070068
- public const int ic_mtrl_chip_close_circle = 2131165288;
+ public const int ic_mtrl_chip_checked_circle = 2131165288;
// aapt resource value: 0x7F070069
- public const int imagesRules = 2131165289;
+ public const int ic_mtrl_chip_close_circle = 2131165289;
// aapt resource value: 0x7F07006A
- public const int mtrl_snackbar_background = 2131165290;
+ public const int imagesRules = 2131165290;
// aapt resource value: 0x7F07006B
- public const int mtrl_tabs_default_indicator = 2131165291;
+ public const int mtrl_snackbar_background = 2131165291;
// aapt resource value: 0x7F07006C
- public const int navigation_empty_icon = 2131165292;
+ public const int mtrl_tabs_default_indicator = 2131165292;
// aapt resource value: 0x7F07006D
- public const int notification_action_background = 2131165293;
+ public const int navigation_empty_icon = 2131165293;
// aapt resource value: 0x7F07006E
- public const int notification_bg = 2131165294;
+ public const int notification_action_background = 2131165294;
// aapt resource value: 0x7F07006F
- public const int notification_bg_low = 2131165295;
+ public const int notification_bg = 2131165295;
// aapt resource value: 0x7F070070
- public const int notification_bg_low_normal = 2131165296;
+ public const int notification_bg_low = 2131165296;
// aapt resource value: 0x7F070071
- public const int notification_bg_low_pressed = 2131165297;
+ public const int notification_bg_low_normal = 2131165297;
// aapt resource value: 0x7F070072
- public const int notification_bg_normal = 2131165298;
+ public const int notification_bg_low_pressed = 2131165298;
// aapt resource value: 0x7F070073
- public const int notification_bg_normal_pressed = 2131165299;
+ public const int notification_bg_normal = 2131165299;
// aapt resource value: 0x7F070074
- public const int notification_icon_background = 2131165300;
+ public const int notification_bg_normal_pressed = 2131165300;
// aapt resource value: 0x7F070075
- public const int notification_template_icon_bg = 2131165301;
+ public const int notification_icon_background = 2131165301;
// aapt resource value: 0x7F070076
- public const int notification_template_icon_low_bg = 2131165302;
+ public const int notification_template_icon_bg = 2131165302;
// aapt resource value: 0x7F070077
- public const int notification_tile_bg = 2131165303;
+ public const int notification_template_icon_low_bg = 2131165303;
// aapt resource value: 0x7F070078
- public const int notify_panel_notification_icon_bg = 2131165304;
+ public const int notification_tile_bg = 2131165304;
// aapt resource value: 0x7F070079
- public const int rules = 2131165305;
+ public const int notify_panel_notification_icon_bg = 2131165305;
// aapt resource value: 0x7F07007A
- public const int rulesImg = 2131165306;
+ public const int rules = 2131165306;
// aapt resource value: 0x7F07007B
- public const int tooltip_frame_dark = 2131165307;
+ public const int rulesImg = 2131165307;
// aapt resource value: 0x7F07007C
- public const int tooltip_frame_light = 2131165308;
+ public const int tooltip_frame_dark = 2131165308;
// aapt resource value: 0x7F07007D
- public const int UsersExiticon = 2131165309;
+ public const int tooltip_frame_light = 2131165309;
+
+ // aapt resource value: 0x7F07007E
+ public const int UsersExiticon = 2131165310;
static Drawable()
{
diff --git a/TheGameExtreme.Android/Resources/drawable/HomeIcon.png b/TheGameExtreme.Android/Resources/drawable/HomeIcon.png
new file mode 100644
index 0000000..167bf19
Binary files /dev/null and b/TheGameExtreme.Android/Resources/drawable/HomeIcon.png differ
diff --git a/TheGameExtreme.Android/TheGameExtreme.Android.csproj b/TheGameExtreme.Android/TheGameExtreme.Android.csproj
index f469c80..1de88fe 100644
--- a/TheGameExtreme.Android/TheGameExtreme.Android.csproj
+++ b/TheGameExtreme.Android/TheGameExtreme.Android.csproj
@@ -125,5 +125,8 @@
+
+
+
\ No newline at end of file
diff --git a/TheGameExtreme.iOS/Resources/HomeIcon.png b/TheGameExtreme.iOS/Resources/HomeIcon.png
new file mode 100644
index 0000000..167bf19
Binary files /dev/null and b/TheGameExtreme.iOS/Resources/HomeIcon.png differ
diff --git a/TheGameExtreme.iOS/TheGameExtreme.iOS.csproj b/TheGameExtreme.iOS/TheGameExtreme.iOS.csproj
index 25da2cf..8c04a19 100644
--- a/TheGameExtreme.iOS/TheGameExtreme.iOS.csproj
+++ b/TheGameExtreme.iOS/TheGameExtreme.iOS.csproj
@@ -156,5 +156,6 @@
+
\ No newline at end of file
diff --git a/TheGameExtreme/view/HomePage.xaml b/TheGameExtreme/view/HomePage.xaml
index 1d3991b..4b4595c 100644
--- a/TheGameExtreme/view/HomePage.xaml
+++ b/TheGameExtreme/view/HomePage.xaml
@@ -32,7 +32,7 @@
HeightRequest="60"
WidthRequest="68"
Clicked="OpenSetting"
- BackgroundColor="Transparent"/>
+ BackgroundColor="{DynamicResource BlackColor}"/>
+ Clicked="Rules_Clicked"
+ BackgroundColor="{DynamicResource BlackColor}"/>
diff --git a/TheGameExtreme/view/MainPage.xaml b/TheGameExtreme/view/MainPage.xaml
index cdf10db..0f65ad4 100644
--- a/TheGameExtreme/view/MainPage.xaml
+++ b/TheGameExtreme/view/MainPage.xaml
@@ -1,6 +1,6 @@
-
-
-
-
-
-
-
-
+
-
+
+ Margin="30"
+ FontSize="28" Grid.Row="0"
+ />
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/TheGameExtreme/view/MainPage.xaml.cs b/TheGameExtreme/view/MainPage.xaml.cs
index 3a2efdc..4b7b4e1 100644
--- a/TheGameExtreme/view/MainPage.xaml.cs
+++ b/TheGameExtreme/view/MainPage.xaml.cs
@@ -23,7 +23,7 @@ namespace TheGameExtreme.view
InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false);
- stacks.Add(checkbox0);
+ /*stacks.Add(checkbox0);
stacks.Add(checkbox1);
stacks.Add(checkbox2);
stacks.Add(checkbox3);
@@ -39,7 +39,7 @@ namespace TheGameExtreme.view
Alert.SetBinding(Label.TextProperty, new Binding("Alert", source: viewmodel));
pseudo.SetBinding(Label.TextProperty, new Binding("Pseudo", source: viewmodel));
- inflateHand();
+ inflateHand();*/
}
//private void OnPlayerChanged(object sender, PlayerChangedEventArgs args)
@@ -47,7 +47,7 @@ namespace TheGameExtreme.view
// inflateHand();
//}
- private void inflateHand()
+ /*private void inflateHand()
{
Hand.Children.Clear();
for (int i = 0; i < viewmodel.CurrentHand.Count; i++)
@@ -162,9 +162,14 @@ namespace TheGameExtreme.view
{
inflateHand();
}
- }
+ }*/
+
+ /*private async void Back(object sender, EventArgs args)
+ {
+ await Navigation.PopToRootAsync();
+ }*/
- private async void Back(object sender, EventArgs args)
+ private async void PlayToHome(object sender, EventArgs args)
{
await Navigation.PopToRootAsync();
}
diff --git a/TheGameExtreme/view/Settings.xaml b/TheGameExtreme/view/Settings.xaml
index 9edd709..c8e4c8c 100644
--- a/TheGameExtreme/view/Settings.xaml
+++ b/TheGameExtreme/view/Settings.xaml
@@ -26,7 +26,7 @@
HeightRequest="40"
WidthRequest="50"
Clicked="SettingToHomePage"
- BackgroundColor="Transparent"
+ BackgroundColor="{DynamicResource BlackColor}"
Margin="10,10,0,0"/>
@@ -71,7 +71,7 @@
+ Toggled="Switch_Toggled_Theme" x:Name="swTheme"
+ OnColor="{DynamicResource SkyBlueColor}" ThumbColor="WhiteSmoke"/>
diff --git a/TheGameExtreme/view/Settings.xaml.cs b/TheGameExtreme/view/Settings.xaml.cs
index 616feb4..588cd3e 100644
--- a/TheGameExtreme/view/Settings.xaml.cs
+++ b/TheGameExtreme/view/Settings.xaml.cs
@@ -52,6 +52,7 @@ namespace TheGameExtreme.view
Application.Current.Resources["WhiteColor"] = Color.White;
Application.Current.Resources["SkyBlueColor"] = Color.SkyBlue;
+
}
else
{