POS-36 Wprowadzono zmiany do wyglądu ekranu profilu.
This commit is contained in:
parent
70afc48290
commit
c322233ae8
@ -34,7 +34,8 @@ namespace Klient.Droid
|
||||
base.OnCreate(savedInstanceState);
|
||||
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
|
||||
LoadApplication(new App());
|
||||
SetContentView(Resource.Layout.ekranStartowy);
|
||||
//SetContentView(Resource.Layout.ekranStartowy);
|
||||
SetContentView(Resource.Layout.ekranPoLogowaniu);
|
||||
}
|
||||
|
||||
[Java.Interop.Export("SignIn")]
|
||||
@ -174,6 +175,10 @@ namespace Klient.Droid
|
||||
public void GoToProfile(View v)
|
||||
{
|
||||
SetContentView(Resource.Layout.ekranProfil);
|
||||
FindViewById<EditText>(Resource.Id.ChangeName).Text = savedName;
|
||||
FindViewById<EditText>(Resource.Id.ChangeSurname).Text = savedSurname;
|
||||
FindViewById<EditText>(Resource.Id.ChangeEmail).Text = savedEmail;
|
||||
FindViewById<TextView>(Resource.Id.ProfilPageLogin).Text = savedLogin;
|
||||
}
|
||||
|
||||
[Java.Interop.Export("Save")]
|
||||
@ -208,8 +213,10 @@ namespace Klient.Droid
|
||||
|
||||
var responseString = await response.Content.ReadAsStringAsync();
|
||||
|
||||
if (response.StatusCode == HttpStatusCode.OK) FindViewById<TextView>(Resource.Id.NullValueProfile).Text = "Zapisano!";
|
||||
|
||||
if (response.StatusCode == HttpStatusCode.OK)
|
||||
{
|
||||
FindViewById<TextView>(Resource.Id.NullValueProfile).Text = "Zapisano!";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -7,11 +7,21 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#ffbdd7f0">
|
||||
<TextView
|
||||
android:text=""
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/ProfilPageLogin"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textStyle="bold"
|
||||
android:textSize="30dp" />
|
||||
<android.support.design.widget.TextInputLayout
|
||||
android:id="@+id/LayoutNameC"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/ProfilPageLogin"
|
||||
android:hint="Imie"
|
||||
android:layout_alignParentLeft="true">
|
||||
<android.support.design.widget.TextInputEditText
|
||||
@ -83,5 +93,14 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/Save"
|
||||
android:textColor="#ffd60000" />
|
||||
<TextView
|
||||
android:text="Poszukiwacz 2020"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/text3"
|
||||
android:textColor="#ff000000"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user