|
@@ -61,21 +61,33 @@
|
|
|
/>
|
|
|
|
|
|
<TextView
|
|
|
- android:visibility="gone"
|
|
|
android:id="@+id/tv_bindAccount_createNew"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="24dp"
|
|
|
android:gravity="center_vertical|left"
|
|
|
android:text="@string/bind_account_create_new_text"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/btn_bindAccount_create"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/et_bindAccount_newEmail"
|
|
|
app:layout_constraintLeft_toLeftOf="@id/anchor_bindAccount_left"
|
|
|
app:layout_constraintRight_toRightOf="@id/anchor_bindAccount_right"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:layout_constraintVertical_chainStyle="packed" />
|
|
|
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_bindAccount_newEmail"
|
|
|
+ style="@style/EmailLoginRegisterFormEditText"
|
|
|
+ android:inputType="textEmailAddress"
|
|
|
+ android:hint="@string/email_input_hint"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@id/anchor_bindAccount_left"
|
|
|
+ app:layout_constraintRight_toRightOf="@id/anchor_bindAccount_right"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_bindAccount_createNew"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/btn_bindAccount_create"
|
|
|
+ />
|
|
|
+
|
|
|
<Button
|
|
|
- android:visibility="gone"
|
|
|
android:id="@+id/btn_bindAccount_create"
|
|
|
android:text="@string/bind_account_create_new_btn"
|
|
|
android:textSize="14sp"
|
|
@@ -83,15 +95,14 @@
|
|
|
android:background="@drawable/bg_bind_account_create_btn"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="40dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
app:layout_constraintLeft_toLeftOf="@id/anchor_bindAccount_left"
|
|
|
app:layout_constraintRight_toRightOf="@id/anchor_bindAccount_right"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/tv_bindAccount_createNew"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/et_bindAccount_newEmail"
|
|
|
app:layout_constraintBottom_toTopOf="@id/tv_bindAccount_orDivider"
|
|
|
/>
|
|
|
|
|
|
<TextView
|
|
|
- android:visibility="gone"
|
|
|
android:id="@+id/tv_bindAccount_orDivider"
|
|
|
android:text="@string/or"
|
|
|
android:textSize="@dimen/or_divider_text_size"
|
|
@@ -106,7 +117,6 @@
|
|
|
/>
|
|
|
|
|
|
<View
|
|
|
- android:visibility="gone"
|
|
|
android:background="@color/or_diver"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="1dp"
|
|
@@ -119,7 +129,6 @@
|
|
|
/>
|
|
|
|
|
|
<View
|
|
|
- android:visibility="gone"
|
|
|
android:background="@color/or_diver"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="1dp"
|
|
@@ -132,7 +141,6 @@
|
|
|
/>
|
|
|
|
|
|
<TextView
|
|
|
- android:visibility="gone"
|
|
|
android:id="@+id/tv_bindAccount_bind"
|
|
|
android:text="@string/bind_account_bind_text"
|
|
|
android:gravity="center_vertical|left"
|
|
@@ -142,11 +150,11 @@
|
|
|
app:layout_constraintLeft_toLeftOf="@id/anchor_bindAccount_left"
|
|
|
app:layout_constraintRight_toRightOf="@id/anchor_bindAccount_right"
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_bindAccount_orDivider"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/et_bindAccount_email"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/et_bindAccount_existingEmail"
|
|
|
/>
|
|
|
|
|
|
<EditText
|
|
|
- android:id="@+id/et_bindAccount_email"
|
|
|
+ android:id="@+id/et_bindAccount_existingEmail"
|
|
|
style="@style/EmailLoginRegisterFormEditText"
|
|
|
android:inputType="textEmailAddress"
|
|
|
android:hint="@string/email_input_hint"
|
|
@@ -156,11 +164,11 @@
|
|
|
app:layout_constraintLeft_toLeftOf="@id/anchor_bindAccount_left"
|
|
|
app:layout_constraintRight_toRightOf="@id/anchor_bindAccount_right"
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_bindAccount_bind"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/et_bindAccount_pwd"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/et_bindAccount_existingPwd"
|
|
|
/>
|
|
|
|
|
|
<EditText
|
|
|
- android:id="@+id/et_bindAccount_pwd"
|
|
|
+ android:id="@+id/et_bindAccount_existingPwd"
|
|
|
style="@style/EmailLoginRegisterFormEditText"
|
|
|
android:inputType="textPassword"
|
|
|
android:hint="@string/pwd_input_hint"
|
|
@@ -169,7 +177,7 @@
|
|
|
android:layout_marginTop="8dp"
|
|
|
app:layout_constraintLeft_toLeftOf="@id/anchor_bindAccount_left"
|
|
|
app:layout_constraintRight_toRightOf="@id/anchor_bindAccount_right"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/et_bindAccount_email"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/et_bindAccount_existingEmail"
|
|
|
app:layout_constraintBottom_toTopOf="@id/btn_bindAccount_bind"
|
|
|
/>
|
|
|
|
|
@@ -184,11 +192,12 @@
|
|
|
android:layout_marginTop="8dp"
|
|
|
app:layout_constraintLeft_toLeftOf="@id/anchor_bindAccount_left"
|
|
|
app:layout_constraintRight_toRightOf="@id/anchor_bindAccount_right"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/et_bindAccount_pwd"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/et_bindAccount_existingPwd"
|
|
|
app:layout_constraintBottom_toTopOf="@id/tv_bindAccount_bindExplanation"
|
|
|
/>
|
|
|
|
|
|
<TextView
|
|
|
+ android:visibility="gone"
|
|
|
android:id="@+id/tv_bindAccount_bindExplanation"
|
|
|
android:text="@string/bind_account_bind_explanation"
|
|
|
android:gravity="center_vertical|left"
|