Password input
This commit is contained in:
parent
67dfbaa59c
commit
52d0dceacf
@ -8,7 +8,7 @@ tools:context="ru.myitschool.work.ui.login.LoginFragment">
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="342dp"
|
android:layout_width="342dp"
|
||||||
android:layout_height="220dp"
|
android:layout_height="280dp"
|
||||||
android:layout_marginStart="32dp"
|
android:layout_marginStart="32dp"
|
||||||
android:layout_marginTop="250dp"
|
android:layout_marginTop="250dp"
|
||||||
android:layout_marginEnd="32dp"
|
android:layout_marginEnd="32dp"
|
||||||
@ -33,7 +33,7 @@ tools:context="ru.myitschool.work.ui.login.LoginFragment">
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="61dp"
|
android:layout_height="61dp"
|
||||||
android:layout_marginTop="20sp"
|
android:layout_marginTop="20sp"
|
||||||
android:autofillHints=""
|
android:autofillHints="username"
|
||||||
android:ems="10"
|
android:ems="10"
|
||||||
android:fontFamily="@font/montserrat_medium"
|
android:fontFamily="@font/montserrat_medium"
|
||||||
android:hint="@string/username_hint"
|
android:hint="@string/username_hint"
|
||||||
@ -41,6 +41,19 @@ tools:context="ru.myitschool.work.ui.login.LoginFragment">
|
|||||||
android:textAlignment="textStart"
|
android:textAlignment="textStart"
|
||||||
android:textColorLink="#000000" />
|
android:textColorLink="#000000" />
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/password"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="61dp"
|
||||||
|
android:layout_marginTop="20sp"
|
||||||
|
android:autofillHints="password"
|
||||||
|
android:ems="10"
|
||||||
|
android:fontFamily="@font/montserrat_medium"
|
||||||
|
android:hint="@string/password_hint"
|
||||||
|
android:inputType="textPassword"
|
||||||
|
android:textAlignment="textStart"
|
||||||
|
android:textColorLink="#000000" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loginBtn"
|
android:id="@+id/loginBtn"
|
||||||
android:layout_width="312dp"
|
android:layout_width="312dp"
|
||||||
|
@ -15,4 +15,5 @@
|
|||||||
<string name="close_btn">Close</string>
|
<string name="close_btn">Close</string>
|
||||||
<string name="close_button">Close</string>
|
<string name="close_button">Close</string>
|
||||||
<string name="result_null_text">Operation was cancelled</string>
|
<string name="result_null_text">Operation was cancelled</string>
|
||||||
|
<string name="password_hint">Enter your password</string>
|
||||||
</resources>
|
</resources>
|
@ -15,6 +15,7 @@
|
|||||||
<string name="result_fail_text">Что-то пошло не так</string>
|
<string name="result_fail_text">Что-то пошло не так</string>
|
||||||
<string name="result_null_text">Вход был отменён</string>
|
<string name="result_null_text">Вход был отменён</string>
|
||||||
<string name="close_btn">Закрыть</string>
|
<string name="close_btn">Закрыть</string>
|
||||||
|
<string name="password_hint">Введите пароль</string>
|
||||||
<!-- TODO: Remove or change this placeholder text -->
|
<!-- TODO: Remove or change this placeholder text -->
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user