Smaller connection box

This commit is contained in:
Mylloon 2021-08-28 23:47:32 +02:00
parent c6b5bdb932
commit 26abaf4e27

View file

@ -10,7 +10,9 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/exo_2_light"
android:text="@string/titleLogin"
android:textAlignment="center"
android:textSize="34sp"
app:layout_constraintBottom_toTopOf="@+id/usernameInput"
app:layout_constraintHorizontal_bias="0.0"
@ -21,46 +23,51 @@
<EditText
android:id="@+id/usernameInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_width="331dp"
android:layout_height="48dp"
android:autofillHints="username"
android:ems="10"
android:fontFamily="@font/exo_2_light"
android:hint="@string/userLogin"
android:inputType="textPersonName"
app:layout_constraintBottom_toTopOf="@+id/passwordInput"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintHorizontal_bias="0.504"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.917" />
app:layout_constraintVertical_bias="0.864"
tools:ignore="TextContrastCheck" />
<EditText
android:id="@+id/passwordInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_width="331dp"
android:layout_height="48dp"
android:autofillHints="password"
android:ems="10"
android:fontFamily="@font/exo_2_light"
android:hint="@string/passwordLogin"
android:inputType="textPassword"
app:layout_constraintBottom_toTopOf="@+id/loginButton"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintHorizontal_bias="0.504"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.88" />
app:layout_constraintVertical_bias="0.88"
tools:ignore="TextContrastCheck" />
<Button
android:id="@+id/loginButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_width="345dp"
android:layout_height="102dp"
android:enabled="false"
android:fontFamily="@font/exo_2_medium"
android:text="@string/buttonLogin"
android:textSize="34sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintHorizontal_bias="0.505"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.542" />
app:layout_constraintVertical_bias="0.54" />
</androidx.constraintlayout.widget.ConstraintLayout>