changed hint strings

This commit is contained in:
marcin.jedynski 2018-12-17 00:45:38 +01:00
parent 962a222fa8
commit c1bf626bbc
4 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,8 @@
package com.uam.wmi.findmytutor.activity;
import android.os.Bundle;
import android.support.design.widget.TextInputEditText;
import android.support.design.widget.TextInputLayout;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
@ -45,7 +47,7 @@ public class TutorTab extends AppCompatActivity {
private CompositeDisposable disposable = new CompositeDisposable();
private TextView userName;
private TextView userDutyHours;
private EditText userNote;
private TextInputEditText userNote;
private TextView userRoom;
private TextView userEmail;
private TextView department;
@ -65,7 +67,8 @@ public class TutorTab extends AppCompatActivity {
setContentView(R.layout.content_tutor_tab);
userName = findViewById(R.id.userName);
userNote = findViewById(R.id.userNote);
userNote = (TextInputEditText) findViewById(R.id.userNote);
userNote.setHint("kupa kamieni tutaj leży"+"\n"+"a tutaj kupa gruzu");
userRoom = findViewById(R.id.userRoom);
userEmail = findViewById(R.id.userEmail);
department = findViewById(R.id.userDepartment);

View File

@ -143,7 +143,7 @@
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
<android.support.design.widget.TextInputEditText
android:id="@+id/userNote"
android:layout_width="match_parent"
android:layout_height="150dp"

View File

@ -147,7 +147,7 @@
<string name="remove_manual_location">Usuń manualną lokację</string>
<string name="title_activity_tutor_tab">Profil</string>
<string name="saveButton">Zapisz!</string>
<string name="tutorTabHint">Tutaj możesz dodać swoją notatkę. Będzie widoczna dla innych użytkowników.</string>
<string name="tutorTabHint">Edytuj swoją notatkę. Będzie widoczna dla innych.</string>
<string name="modal_location_send">WYŚLIJ</string>
<string name="modal_location_hint">Proszę nazwać wybraną lokację.</string>
<string name="manual_modal_title">Czy chcesz zapisać tę lokalizację?</string>

View File

@ -88,7 +88,7 @@
<string name="settings_description">Descrition</string>
<string name="saveButton">Save</string>
<string name="tutorTabHint">Here you can add your note. It will be visible to the other users.</string>
<string name="tutorTabHint">Edit your note. It will be shown in the users list.</string>
<string name="key_description">key_description</string>