Login Error Handeling
This commit is contained in:
@@ -41,16 +41,24 @@
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:contentDescription="@string/cd_ic_launcher"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/error_textview"
|
||||
android:textAppearance="@style/TextAppearance.Design.Error"
|
||||
android:textColor="@color/colorFURed"
|
||||
tools:text="@string/hello_blank_fragment" />
|
||||
|
||||
<!-- Email Label -->
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="8dp">
|
||||
<EditText android:id="@+id/input_username"
|
||||
<com.google.android.material.textfield.TextInputEditText android:id="@+id/input_username"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textEmailAddress"
|
||||
android:inputType="textNoSuggestions"
|
||||
android:hint="@string/username"
|
||||
android:autofillHints="username"
|
||||
tools:targetApi="o" />
|
||||
@@ -62,7 +70,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="8dp">
|
||||
<EditText android:id="@+id/input_password"
|
||||
<com.google.android.material.textfield.TextInputEditText android:id="@+id/input_password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textPassword"
|
||||
|
||||
@@ -112,4 +112,6 @@
|
||||
<string name="event_removed">Event entfernt: %1$s</string>
|
||||
<string name="gradebook_removed">Noteneintrag entfernt: %1$s</string>
|
||||
<string name="resource_removed">Ressource entfernt: %1$s</string>
|
||||
<string name="network_error">Ein Netzwerkfehler ist aufgetreten!</string>
|
||||
<string name="network_error_parameter">Ein Netzwerkfehler ist aufgetreten: %s!</string>
|
||||
</resources>
|
||||
@@ -120,4 +120,6 @@
|
||||
<string name="resource_updated">Resource updated: %1$s</string>
|
||||
<string name="resource_added">New resource: %1$s</string>
|
||||
<string name="resource_removed">Resource removed: %1$s</string>
|
||||
<string name="network_error">A network error occured!</string>
|
||||
<string name="network_error_parameter">A network error occured: %s!</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user