master
cldupland 5 years ago
parent 0e246bdc5b
commit 91adb05559

@ -10,7 +10,7 @@ using Xamarin.Forms;
namespace TheGameExtreme.Droid namespace TheGameExtreme.Droid
{ {
[Activity(Label = "OrderStacks", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation, ScreenOrientation = ScreenOrientation.Landscape)] // ConfigChanges.Navigation [Activity(Label = "OrderStacks", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation, ScreenOrientation = ScreenOrientation.Landscape)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{ {

@ -55,6 +55,8 @@ namespace TheGameExtreme.view
NavigationPage.SetHasNavigationBar(this, false); NavigationPage.SetHasNavigationBar(this, false);
base.OnAppearing();
EndTurnButton.Text = AppResources.StrEndTurn; // Trouver le moyen d'avoir du binding EndTurnButton.Text = AppResources.StrEndTurn; // Trouver le moyen d'avoir du binding
viewmodel = new Main(this.playersNames, nbPile, nbCard, indexMode); viewmodel = new Main(this.playersNames, nbPile, nbCard, indexMode);

Loading…
Cancel
Save