POS-39 Dodanie ekranu informacji do głównego ekranu.
This commit is contained in:
parent
a6679995b6
commit
353c7283cf
@ -172,9 +172,13 @@ namespace Klient.Droid
|
|||||||
[Java.Interop.Export("about")]
|
[Java.Interop.Export("about")]
|
||||||
public void MainScreenAbout(View v)
|
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")]
|
[Java.Interop.Export("LoadFromFolder")]
|
||||||
public void LoadFile(View v)
|
public void LoadFile(View v)
|
||||||
{
|
{
|
||||||
|
@ -149,6 +149,11 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</AndroidResource>
|
</AndroidResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<AndroidResourceAnalysisConfig Include="Resources\layout\ekranInformacji.xml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</AndroidResourceAnalysisConfig>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
<VisualStudio>
|
<VisualStudio>
|
||||||
|
@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="#ffbdd7f0"
|
||||||
|
android:paddingTop="30dp">
|
||||||
|
<TextView
|
||||||
|
android:text="Poszukiwacz"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:minWidth="25px"
|
||||||
|
android:minHeight="25px"
|
||||||
|
android:id="@+id/title"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:textSize="50dp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
<TextView
|
||||||
|
android:text="Poszukiwacz jest aplikacją mobilną pozwalającą na wyszukiwanie w Internece stron zawierających schematy i tutoriale na podstawie treści zadania. \n Jednocześnie pomaga w nauce, jaki i przyśpiesza proces dokonywania researchu danych. "
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/textView1"
|
||||||
|
android:layout_below="@id/title"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
android:gravity="center_horizontal" />
|
||||||
|
<TextView
|
||||||
|
android:text="Poszukiwacz 2021"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/text1"
|
||||||
|
android:textColor="#ff000000"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_centerHorizontal="true" />
|
||||||
|
<Button
|
||||||
|
android:text="Back"
|
||||||
|
android:layout_width="38.5dp"
|
||||||
|
android:layout_height="35.0dp"
|
||||||
|
android:id="@+id/backInformation"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:background="#ff0b31c8"
|
||||||
|
android:textColor="#fffcfcfc"
|
||||||
|
android:gravity="center"
|
||||||
|
android:onClick="GoToMainScreenFromInformation" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
@ -92,7 +92,7 @@
|
|||||||
android:layout_below="@id/In"
|
android:layout_below="@id/In"
|
||||||
android:layout_centerHorizontal="true" />
|
android:layout_centerHorizontal="true" />
|
||||||
<TextView
|
<TextView
|
||||||
android:text="Poszukiwacz 2020"
|
android:text="Poszukiwacz 2021"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
android:layout_marginLeft="75dp"
|
android:layout_marginLeft="75dp"
|
||||||
android:onClick="LoadFromFolder" />
|
android:onClick="LoadFromFolder" />
|
||||||
<TextView
|
<TextView
|
||||||
android:text="Poszukiwacz 2020"
|
android:text="Poszukiwacz 2021"
|
||||||
|
android:text="Poszukiwacz 2021"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -38,4 +38,13 @@
|
|||||||
android:textColor="#fffcfcfc"
|
android:textColor="#fffcfcfc"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:onClick="GoToPoLogowaniu" />
|
android:onClick="GoToPoLogowaniu" />
|
||||||
|
<TextView
|
||||||
|
android:text="Poszukiwacz 2021"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/text1"
|
||||||
|
android:textColor="#ff000000"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_centerHorizontal="true" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -94,7 +94,8 @@
|
|||||||
android:layout_below="@id/Save"
|
android:layout_below="@id/Save"
|
||||||
android:textColor="#ffd60000" />
|
android:textColor="#ffd60000" />
|
||||||
<TextView
|
<TextView
|
||||||
android:text="Poszukiwacz 2020"
|
android:text="Poszukiwacz 2021"
|
||||||
|
android:text="Poszukiwacz 2021"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -132,7 +132,7 @@
|
|||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:onClick="SignUp" />
|
android:onClick="SignUp" />
|
||||||
<TextView
|
<TextView
|
||||||
android:text="Poszukiwacz 2020"
|
android:text="Poszukiwacz 2021"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
android:textSize="45dp"
|
android:textSize="45dp"
|
||||||
android:layout_marginVertical="100dp" />
|
android:layout_marginVertical="100dp" />
|
||||||
<TextView
|
<TextView
|
||||||
android:text="Poszukiwacz 2020"
|
android:text="Poszukiwacz 2021"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -29,27 +29,16 @@
|
|||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_centerHorizontal="true" />
|
android:layout_centerHorizontal="true" />
|
||||||
<Button
|
<Button
|
||||||
android:text="?"
|
android:text="i"
|
||||||
android:layout_width="35.0dp"
|
android:layout_width="35.0dp"
|
||||||
android:layout_height="35.0dp"
|
android:layout_height="35.0dp"
|
||||||
android:id="@+id/help"
|
android:id="@+id/about"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:background="#ff0b31c8"
|
android:background="#ff0b31c8"
|
||||||
android:textColor="#fffcfcfc"
|
android:textColor="#fffcfcfc"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:onClick="HelpLoginScreen" />
|
android:onClick="HelpLoginScreen" />
|
||||||
<Button
|
|
||||||
android:text="I"
|
|
||||||
android:layout_width="35.0dp"
|
|
||||||
android:layout_height="35.0dp"
|
|
||||||
android:id="@+id/about"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:background="#ff0b31c8"
|
|
||||||
android:textColor="#fffcfcfc"
|
|
||||||
android:gravity="center"
|
|
||||||
android:onClick="AboutMainScreen" />
|
|
||||||
<Button
|
<Button
|
||||||
android:text="Zaloguj"
|
android:text="Zaloguj"
|
||||||
android:layout_width="200.0dp"
|
android:layout_width="200.0dp"
|
||||||
|
Loading…
Reference in New Issue
Block a user