Commit a64825bb authored by Antonia Wüst's avatar Antonia Wüst

update design of sign up screens

parent a87f7806
......@@ -13,12 +13,12 @@
android:layout_marginStart="8dp"
android:layout_marginTop="128dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:gravity="center"
android:paddingStart="64dp"
android:paddingEnd="64dp"
android:text="@string/signup_email_description_head"
android:textColor="@color/textWhite"
android:textSize="24sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
......@@ -28,57 +28,50 @@
android:id="@+id/textview_signup_email_description_top"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="32dp"
android:layout_marginBottom="8dp"
android:layout_marginStart="24dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="24dp"
android:gravity="center"
android:text="@string/signup_email_description_top"
android:textColor="@color/textWhite"
app:layout_constraintBottom_toTopOf="@+id/textinputlayout_signup_email"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textview_signup_email_description_head" />
<TextView
android:id="@+id/textview_signup_email_description_bottom"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="180dp"
android:layout_marginStart="24dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="24dp"
android:gravity="center"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:text="@string/signup_email_description_bottom"
android:textColor="@color/textWhite"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="parent"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textinputlayout_signup_email"
app:layout_constraintVertical_bias="1.0" />
app:layout_constraintTop_toBottomOf="@+id/textinputlayout_signup_email" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinputlayout_signup_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:layout_marginStart="24dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="24dp"
android:gravity="center"
android:theme="@style/AkamuEditText"
android:hint="@string/hint_signup_email"
android:textColor="@color/textWhite"
android:textColorHint="@color/textWhite"
app:layout_constraintBottom_toBottomOf="parent"
android:theme="@style/AkamuEditText"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.529">
app:layout_constraintTop_toBottomOf="@+id/textview_signup_email_description_top">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/textinputedittext_signup_email"
......
......@@ -10,14 +10,13 @@
android:id="@+id/textinputlayout_signup_password1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:layout_marginStart="24dp"
android:layout_marginTop="32dp"
android:layout_marginEnd="24dp"
android:hint="@string/hint_signup_enterpassword"
android:textColor="@color/textWhite"
android:textColorHint="@color/textWhite"
android:theme="@style/AkamuEditText"
app:layout_constraintBottom_toTopOf="@+id/textinputlayout_signup_password2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textview_signup_password_description"
......@@ -39,17 +38,17 @@
android:id="@+id/textinputlayout_signup_password2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="128dp"
android:layout_marginStart="24dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="24dp"
android:hint="@string/hint_signup_reenterpassword"
android:textColor="@color/textWhite"
android:textColorHint="@color/textWhite"
android:theme="@style/AkamuEditText"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textinputlayout_signup_password1"
app:passwordToggleEnabled="true"
app:passwordToggleTint="@color/white">
......@@ -73,12 +72,12 @@
android:layout_marginStart="8dp"
android:layout_marginTop="128dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:gravity="center"
android:paddingStart="64dp"
android:paddingEnd="64dp"
android:text="@string/signup_password_description_head"
android:textColor="@color/textWhite"
android:textSize="24sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
......@@ -96,6 +95,7 @@
android:paddingEnd="64dp"
android:text="@string/signup_password_description"
android:textColor="@color/textWhite"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/textview_signup_password_description_head" />
......
......@@ -14,10 +14,9 @@
android:layout_marginTop="128dp"
android:layout_marginEnd="8dp"
android:gravity="center"
android:paddingStart="64dp"
android:paddingEnd="64dp"
android:text="@string/signup_user_description_head"
android:textColor="@color/textWhite"
android:textSize="24sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
......@@ -25,50 +24,47 @@
<TextView
android:id="@+id/textview_signup_user_description"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginStart="24dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="8dp"
android:layout_marginEnd="24dp"
android:gravity="center"
android:paddingStart="64dp"
android:paddingEnd="64dp"
android:text="@string/signup_user_description"
android:textColor="@color/textWhite"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textview_signup_user_description_head" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinputlayout_signup_username"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:layout_marginStart="24dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="24dp"
android:gravity="center"
android:theme="@style/AkamuEditText"
android:hint="@string/hint_signup_chooseusername"
app:hintTextColor="@color/textWhite"
android:textColor="@color/textWhite"
android:textColorHint="@color/textWhite"
app:layout_constraintBottom_toBottomOf="parent"
android:theme="@style/AkamuEditText"
app:hintTextColor="@color/textWhite"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textview_signup_user_description"
app:layout_constraintVertical_bias="0.2">
app:layout_constraintTop_toBottomOf="@+id/textview_signup_user_description">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/textinputedittext_signup_username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="@color/textWhite"
android:imeOptions="actionUnspecified"
android:inputType="text"
android:maxLines="1"
android:singleLine="true"
android:textColor="@color/textWhite"
android:backgroundTint="@color/textWhite"/>
android:textSize="18sp" />
</com.google.android.material.textfield.TextInputLayout>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment