Smaller connection box
This commit is contained in:
parent
c6b5bdb932
commit
26abaf4e27
1 changed files with 19 additions and 12 deletions
|
@ -10,7 +10,9 @@
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="@font/exo_2_light"
|
||||||
android:text="@string/titleLogin"
|
android:text="@string/titleLogin"
|
||||||
|
android:textAlignment="center"
|
||||||
android:textSize="34sp"
|
android:textSize="34sp"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/usernameInput"
|
app:layout_constraintBottom_toTopOf="@+id/usernameInput"
|
||||||
app:layout_constraintHorizontal_bias="0.0"
|
app:layout_constraintHorizontal_bias="0.0"
|
||||||
|
@ -21,46 +23,51 @@
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/usernameInput"
|
android:id="@+id/usernameInput"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="331dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="48dp"
|
||||||
android:autofillHints="username"
|
android:autofillHints="username"
|
||||||
android:ems="10"
|
android:ems="10"
|
||||||
|
android:fontFamily="@font/exo_2_light"
|
||||||
android:hint="@string/userLogin"
|
android:hint="@string/userLogin"
|
||||||
android:inputType="textPersonName"
|
android:inputType="textPersonName"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/passwordInput"
|
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_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_bias="0.917" />
|
app:layout_constraintVertical_bias="0.864"
|
||||||
|
tools:ignore="TextContrastCheck" />
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/passwordInput"
|
android:id="@+id/passwordInput"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="331dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="48dp"
|
||||||
android:autofillHints="password"
|
android:autofillHints="password"
|
||||||
android:ems="10"
|
android:ems="10"
|
||||||
|
android:fontFamily="@font/exo_2_light"
|
||||||
android:hint="@string/passwordLogin"
|
android:hint="@string/passwordLogin"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/loginButton"
|
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_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_bias="0.88" />
|
app:layout_constraintVertical_bias="0.88"
|
||||||
|
tools:ignore="TextContrastCheck" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loginButton"
|
android:id="@+id/loginButton"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="345dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="102dp"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
|
android:fontFamily="@font/exo_2_medium"
|
||||||
android:text="@string/buttonLogin"
|
android:text="@string/buttonLogin"
|
||||||
android:textSize="34sp"
|
android:textSize="34sp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintHorizontal_bias="1.0"
|
app:layout_constraintHorizontal_bias="0.505"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_bias="0.542" />
|
app:layout_constraintVertical_bias="0.54" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
Reference in a new issue