@@ -6,12 +6,11 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ProfileActivity">
<TextView
android:id="@+id/profileCreationLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Create a Tox profile"
android:text="@string/create_a_tox_profile"
android:textSize="25sp"
android:gravity="center"
app:layout_constraintBottom_toTopOf="@id/username"
@@ -19,35 +18,31 @@
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"/>
<EditText
android:id="@+id/username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autofillHints="username"
android:hint="Name"
android:hint="@string/name"
android:inputType="text"
android:maxLines="1"
app:layout_constraintTop_toBottomOf="@id/profileCreationLabel"
app:layout_constraintBottom_toTopOf="@id/password"/>
<EditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autofillHints="password"
android:hint="Password (optional)"
android:hint="@string/password_optional"
android:inputType="textPassword"
android:maxLines="1"
app:layout_constraintTop_toBottomOf="@id/username"
app:layout_constraintBottom_toTopOf="@id/btnCreate"/>
<Button
android:id="@+id/btnCreate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Create"
android:text="@string/create"
app:layout_constraintTop_toBottomOf="@+id/password"
app:layout_constraintBottom_toBottomOf="parent"/>
</android.support.constraint.ConstraintLayout>