From f0e62f261e67589f8626a9cba4acb18fb5a7044c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Przyby=C5=82a?= Date: Thu, 14 Jan 2021 23:02:32 +0100 Subject: [PATCH] POS-47 ekran startowy jest znowu ekranem startowym --- Klient/Klient/Klient.Android/MainActivity.cs | 8 +++++++- .../Klient.Android/Resources/layout/ekranStartowy.xml | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Klient/Klient/Klient.Android/MainActivity.cs b/Klient/Klient/Klient.Android/MainActivity.cs index a50b53b..0b2aea9 100644 --- a/Klient/Klient/Klient.Android/MainActivity.cs +++ b/Klient/Klient/Klient.Android/MainActivity.cs @@ -37,7 +37,7 @@ namespace Klient.Droid base.OnCreate(savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); LoadApplication(new App()); - SetContentView(Resource.Layout.ekranPoLogowaniu); + SetContentView(Resource.Layout.ekranStartowy); } [Java.Interop.Export("SignIn")] @@ -86,6 +86,12 @@ namespace Klient.Droid } } + [Java.Interop.Export("HelpLoginScreen")] + public void GoToAboutScreen(View v) + { + SetContentView(Resource.Layout.ekranInformacji); + } + [Java.Interop.Export("SignUp")] async public void SignUp(View v) { diff --git a/Klient/Klient/Klient.Android/Resources/layout/ekranStartowy.xml b/Klient/Klient/Klient.Android/Resources/layout/ekranStartowy.xml index e32f64a..f5766ff 100644 --- a/Klient/Klient/Klient.Android/Resources/layout/ekranStartowy.xml +++ b/Klient/Klient/Klient.Android/Resources/layout/ekranStartowy.xml @@ -29,9 +29,9 @@ android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" />