From 353c7283cfd8f9799112c72cebc0a0d7005dbb2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Przyby=C5=82a?= Date: Sat, 9 Jan 2021 19:27:00 +0100 Subject: [PATCH] =?UTF-8?q?POS-39=20Dodanie=20ekranu=20informacji=20do=20g?= =?UTF-8?q?=C5=82=C3=B3wnego=20ekranu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Klient/Klient/Klient.Android/MainActivity.cs | 8 ++- .../Klient/Klient.Android/Poszukiwacz.csproj | 5 ++ .../Resources/layout/ekranInformacji.xml | 57 +++++++++++++++++++ .../Resources/layout/ekranLogowania.xml | 2 +- .../Resources/layout/ekranPoLogowaniu.xml | 3 +- .../Resources/layout/ekranPoZdjeciu.xml | 9 +++ .../Resources/layout/ekranProfil.xml | 3 +- .../Resources/layout/ekranRejestracji.xml | 2 +- .../Resources/layout/ekranStartowy.xml | 17 +----- 9 files changed, 86 insertions(+), 20 deletions(-) create mode 100644 Klient/Klient/Klient.Android/Resources/layout/ekranInformacji.xml diff --git a/Klient/Klient/Klient.Android/MainActivity.cs b/Klient/Klient/Klient.Android/MainActivity.cs index de6d9f5..e286b2d 100644 --- a/Klient/Klient/Klient.Android/MainActivity.cs +++ b/Klient/Klient/Klient.Android/MainActivity.cs @@ -172,9 +172,13 @@ namespace Klient.Droid [Java.Interop.Export("about")] public void MainScreenAbout(View v) { - SetContentView(Resource.Layout.ekranStartowy); + SetContentView(Resource.Layout.ekranInformacji); + } + [Java.Interop.Export("GoToMainScreenFromInformation")] + public void GoToMainScreenFromInformation(View v) + { + SetContentView(Resource.Layout.ekranStartowy); } - [Java.Interop.Export("LoadFromFolder")] public void LoadFile(View v) { diff --git a/Klient/Klient/Klient.Android/Poszukiwacz.csproj b/Klient/Klient/Klient.Android/Poszukiwacz.csproj index c111326..26b87d0 100644 --- a/Klient/Klient/Klient.Android/Poszukiwacz.csproj +++ b/Klient/Klient/Klient.Android/Poszukiwacz.csproj @@ -149,6 +149,11 @@ Designer + + + Designer + + diff --git a/Klient/Klient/Klient.Android/Resources/layout/ekranInformacji.xml b/Klient/Klient/Klient.Android/Resources/layout/ekranInformacji.xml new file mode 100644 index 0000000..6b6adc4 --- /dev/null +++ b/Klient/Klient/Klient.Android/Resources/layout/ekranInformacji.xml @@ -0,0 +1,57 @@ + + + + + +