diff --git a/Klient/Klient/Klient.Android/MainActivity.cs b/Klient/Klient/Klient.Android/MainActivity.cs index 1df438a..5841ad0 100644 --- a/Klient/Klient/Klient.Android/MainActivity.cs +++ b/Klient/Klient/Klient.Android/MainActivity.cs @@ -28,7 +28,7 @@ namespace Klient.Droid SetContentView(Resource.Layout.ekranLogowania); } - [Java.Interop.Export("In")] + [Java.Interop.Export("SignIn")] async public void SignIn(View v) { var Login = FindViewById(Resource.Id.Login).Text; @@ -56,7 +56,7 @@ namespace Klient.Droid var responseString = await response.Content.ReadAsStringAsync(); } - [Java.Interop.Export("Reset")] + [Java.Interop.Export("ResetPassword")] async public void ResetPassword() { diff --git a/Klient/Klient/Klient.Android/Resources/layout/ekranLogowania.xml b/Klient/Klient/Klient.Android/Resources/layout/ekranLogowania.xml index c3a8891..89a45d4 100644 --- a/Klient/Klient/Klient.Android/Resources/layout/ekranLogowania.xml +++ b/Klient/Klient/Klient.Android/Resources/layout/ekranLogowania.xml @@ -42,7 +42,7 @@ android:layout_below="@id/Password" android:layout_alignParentRight="false" android:gravity="center" - android:onClick="LogIn" + android:onClick="SignIn" android:text="Zaloguj" android:layout_centerHorizontal="true" android:foregroundGravity="center" /> diff --git a/Klient/Klient/Klient.Android/Resources/layout/ekranRejestracji.xml b/Klient/Klient/Klient.Android/Resources/layout/ekranRejestracji.xml index 037f107..746d4a7 100644 --- a/Klient/Klient/Klient.Android/Resources/layout/ekranRejestracji.xml +++ b/Klient/Klient/Klient.Android/Resources/layout/ekranRejestracji.xml @@ -102,7 +102,7 @@ android:layout_alignParentRight="false" android:foregroundGravity="center" android:layout_centerHorizontal="true" - android:onClick="Register" /> + android:onClick="SignUp" />