mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-10-16 10:14:43 +00:00
Can display specific error message on create account form.
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/activity_login_bg">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/loading_progress"
|
||||
@@ -14,8 +15,7 @@
|
||||
<ScrollView
|
||||
android:id="@+id/create_account_form"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/activity_login_bg">
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -44,6 +44,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<EditText
|
||||
android:inputType="textPersonName"
|
||||
android:id="@+id/first_name"
|
||||
style="@style/CreateAccountInput"
|
||||
android:layout_width="match_parent"
|
||||
@@ -58,6 +59,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<EditText
|
||||
android:inputType="textPersonName"
|
||||
android:id="@+id/last_name"
|
||||
style="@style/CreateAccountInput"
|
||||
android:layout_width="match_parent"
|
||||
|
@@ -228,9 +228,10 @@
|
||||
<string name="err_invalid_password">Please specify a valid password!</string>
|
||||
<string name="err_password_confirmation_not_identical">The password and its confirmation are not the same!</string>
|
||||
<string name="err_need_accept_terms">Please accept the terms of use of Comunic !</string>
|
||||
<string name="err_while_creating_account">An error occurred while trying to create your account! Maybe an account with the same email address already exists!</string>
|
||||
<string name="err_while_creating_account">An error occurred while trying to create your account!</string>
|
||||
<string name="account_created_title">Congratulations</string>
|
||||
<string name="account_created_message">Your account has been created. You can now sign into your new account to use all the features of Comunic.</string>
|
||||
<string name="account_created_sign_in">Sign in</string>
|
||||
<string name="activity_login_too_many_request">Too many failed login requests. Please try again later…</string>
|
||||
<string name="err_create_account_existing_email">This email address is already associated with an account!</string>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user