|
@@ -19,16 +19,24 @@
|
|
|
app:cardBackgroundColor="@color/cardview_dark_background"
|
|
|
app:cardElevation="0dp" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/backgroundImage"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="200dp"
|
|
|
+ android:src="@drawable/default_background" />
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/profileImage"
|
|
|
android:layout_width="100dp"
|
|
|
android:layout_height="100dp"
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
android:layout_marginTop="150dp"
|
|
|
- android:src="@drawable/ic_user_white" />
|
|
|
+ android:background="@drawable/bg_circle_black"
|
|
|
+ android:padding="15dp"
|
|
|
+ android:src="@drawable/ic_upload_profile" />
|
|
|
</FrameLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical"
|
|
@@ -39,6 +47,7 @@
|
|
|
style="@style/BoxInputLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="48dp"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
app:endIconMode="clear_text"
|
|
|
app:hintEnabled="false">
|
|
|
|
|
@@ -58,6 +67,8 @@
|
|
|
style="@style/BoxInputLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="48dp"
|
|
|
+ android:layout_below="@id/til_firstname"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
app:endIconMode="clear_text"
|
|
|
app:hintEnabled="false">
|
|
|
|
|
@@ -76,6 +87,8 @@
|
|
|
android:id="@+id/et_gender"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/til_lastname"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
android:background="@color/color_white"
|
|
|
android:hint="@string/hint_lastname"
|
|
|
android:inputType="text"
|
|
@@ -84,8 +97,11 @@
|
|
|
android:paddingBottom="10dp" />
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/gender_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/et_gender"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
android:background="@color/color_gray_300"
|
|
|
android:orientation="vertical">
|
|
|
|
|
@@ -160,6 +176,8 @@
|
|
|
style="@style/BoxInputLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="48dp"
|
|
|
+ android:layout_below="@id/gender_layout"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
app:endIconMode="clear_text"
|
|
|
app:hintEnabled="false">
|
|
|
|
|
@@ -179,6 +197,8 @@
|
|
|
style="@style/BoxInputLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="48dp"
|
|
|
+ android:layout_below="@id/til_password"
|
|
|
+ android:layout_marginBottom="1dp"
|
|
|
app:endIconMode="clear_text"
|
|
|
app:hintEnabled="false">
|
|
|
|
|
@@ -193,17 +213,39 @@
|
|
|
android:padding="0dp" />
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/registerButton"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_agreement"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="32dp"
|
|
|
- android:layout_marginTop="32dp"
|
|
|
- android:layout_marginEnd="32dp"
|
|
|
- android:text="Register"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/confirmPasswordEditText" />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_below="@id/til_confirm_password"
|
|
|
+ android:text="@string/agreement_hint"
|
|
|
+ android:textColor="@color/color_white"
|
|
|
+ android:textSize="12sp" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/registerButton"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="58dp"
|
|
|
+ android:layout_below="@id/tv_agreement"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:backgroundTint="@color/color_blue_600"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Sign Up"
|
|
|
+ android:textColor="@color/color_white"
|
|
|
+ app:cornerRadius="0dp" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/loginButton"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="58dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_gravity="center|bottom"
|
|
|
+ android:backgroundTint="@color/color_blue_600"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Login"
|
|
|
+ android:textColor="@color/color_white"
|
|
|
+ app:cornerRadius="0dp" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|