Added failed login toasts & password visibility toggle & no server field auto correct

This commit is contained in:
Thibault Nocchi 2020-07-11 19:21:16 +02:00
commit bcd17d4853
4 changed files with 21 additions and 2 deletions

View file

@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
tools:context=".ui.activities.LoginActivity">
@ -39,7 +40,8 @@
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
app:endIconMode="password_toggle">
<EditText
android:id="@+id/password"
@ -66,7 +68,7 @@
android:layout_marginEnd="32dp"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:inputType="textShortMessage"
android:inputType="textNoSuggestions"
android:hint="@string/server" />
</com.google.android.material.textfield.TextInputLayout>