diff --git a/TheGameExtreme.Android/MainActivity.cs b/TheGameExtreme.Android/MainActivity.cs index 6d8c9e3..8553e98 100644 --- a/TheGameExtreme.Android/MainActivity.cs +++ b/TheGameExtreme.Android/MainActivity.cs @@ -24,14 +24,22 @@ namespace TheGameExtreme.Droid Forms.Init(this, savedInstanceState); LoadApplication(new App()); - int uiOptions = (int)Window.DecorView.SystemUiVisibility; + Window.DecorView.SystemUiVisibility = (StatusBarVisibility) + (SystemUiFlags.LowProfile +| SystemUiFlags.Fullscreen +| SystemUiFlags.HideNavigation +| SystemUiFlags.Immersive + | SystemUiFlags.ImmersiveSticky); + Window.AddFlags(WindowManagerFlags.Fullscreen | WindowManagerFlags.TurnScreenOn); + + /*int uiOptions = (int)Window.DecorView.SystemUiVisibility; uiOptions |= (int)SystemUiFlags.LowProfile; uiOptions |= (int)SystemUiFlags.Fullscreen; uiOptions |= (int)SystemUiFlags.HideNavigation; uiOptions |= (int)SystemUiFlags.ImmersiveSticky; Window.DecorView.SystemUiVisibility = (StatusBarVisibility)uiOptions; Window.SetStatusBarColor(Android.Graphics.Color.Argb(255, 0, 0, 0)); - Window.AddFlags(WindowManagerFlags.Fullscreen | WindowManagerFlags.TurnScreenOn); + */ } public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Permission[] grantResults) diff --git a/TheGameExtreme.Android/Resources/Resource.designer.cs b/TheGameExtreme.Android/Resources/Resource.designer.cs index 4d79f6d..66d6375 100644 --- a/TheGameExtreme.Android/Resources/Resource.designer.cs +++ b/TheGameExtreme.Android/Resources/Resource.designer.cs @@ -1,11 +1,11 @@ #pragma warning disable 1591 //------------------------------------------------------------------------------ // -// Ce code a été généré par un outil. -// Version du runtime :4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si -// le code est régénéré. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ diff --git a/TheGameExtreme/view/HomePage.xaml b/TheGameExtreme/view/HomePage.xaml index 0d1ae1a..79fcbcf 100644 --- a/TheGameExtreme/view/HomePage.xaml +++ b/TheGameExtreme/view/HomePage.xaml @@ -1,5 +1,6 @@  - - + + BackgroundColor="Transparent"/> diff --git a/TheGameExtreme/view/HomePage.xaml.cs b/TheGameExtreme/view/HomePage.xaml.cs index 4aa62c4..36a484d 100644 --- a/TheGameExtreme/view/HomePage.xaml.cs +++ b/TheGameExtreme/view/HomePage.xaml.cs @@ -10,6 +10,7 @@ namespace TheGameExtreme.view public HomePage() { + InitializeComponent(); NavigationPage.SetHasNavigationBar(this, false); LoadParameterOptionOnHomepage(); diff --git a/com.uca.thegameextreme-Signed.apk b/com.uca.thegameextreme-Signed.apk index 66f1735..db0866b 100644 Binary files a/com.uca.thegameextreme-Signed.apk and b/com.uca.thegameextreme-Signed.apk differ diff --git a/com.uca.thegameextreme.apk b/com.uca.thegameextreme.apk index 0cb6df4..db0866b 100644 Binary files a/com.uca.thegameextreme.apk and b/com.uca.thegameextreme.apk differ