|
15 | 15 | --> |
16 | 16 |
|
17 | 17 | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
18 | | - xmlns:app="http://schemas.android.com/apk/res-auto" |
19 | | - android:layout_width="match_parent" |
20 | | - android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools" |
21 | | - android:paddingTop="20dp"> |
22 | | - |
| 18 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 19 | + xmlns:tools="http://schemas.android.com/tools" |
| 20 | + android:layout_width="match_parent" |
| 21 | + android:layout_height="match_parent" |
| 22 | + android:paddingTop="20dp"> |
23 | 23 |
|
24 | 24 | <TextView |
25 | 25 | android:id="@+id/httpAuthInformationText" |
26 | 26 | android:layout_width="match_parent" |
27 | 27 | android:layout_height="wrap_content" |
28 | | - android:layout_marginTop="8dp" |
29 | 28 | android:layout_marginStart="20dp" |
| 29 | + android:layout_marginTop="8dp" |
30 | 30 | android:layout_marginEnd="20dp" |
31 | 31 | app:layout_constraintTop_toTopOf="parent" /> |
32 | 32 |
|
33 | 33 | <com.google.android.material.textfield.TextInputLayout |
34 | 34 | android:id="@+id/httpAuthUsernameContainer" |
35 | 35 | android:layout_width="match_parent" |
36 | | - android:layout_height="wrap_content" |
| 36 | + android:layout_height="60dp" |
| 37 | + style="@style/TextInputLayoutTheme" |
37 | 38 | android:layout_marginStart="20dp" |
38 | | - android:layout_marginEnd="20dp" |
39 | 39 | android:layout_marginTop="20dp" |
| 40 | + android:layout_marginEnd="20dp" |
40 | 41 | app:layout_constraintTop_toBottomOf="@id/httpAuthInformationText"> |
41 | 42 |
|
42 | | - <EditText |
| 43 | + <com.google.android.material.textfield.TextInputEditText |
43 | 44 | android:id="@+id/usernameInput" |
44 | 45 | android:layout_width="match_parent" |
45 | 46 | android:layout_height="wrap_content" |
| 47 | + android:autofillHints="username" |
46 | 48 | android:hint="@string/authenticationDialogUsernameHint" |
47 | | - android:inputType="text" |
48 | 49 | android:importantForAutofill="yes" |
49 | | - android:autofillHints="username" |
| 50 | + android:inputType="text" |
50 | 51 | tools:ignore="UnusedAttribute" /> |
51 | 52 |
|
52 | 53 | </com.google.android.material.textfield.TextInputLayout> |
53 | 54 |
|
54 | 55 | <com.google.android.material.textfield.TextInputLayout |
55 | 56 | android:id="@+id/httpAuthPasswordContainer" |
56 | 57 | android:layout_width="match_parent" |
57 | | - android:layout_height="wrap_content" |
| 58 | + android:layout_height="60dp" |
| 59 | + style="@style/TextInputLayoutTheme" |
58 | 60 | android:layout_marginStart="20dp" |
59 | 61 | android:layout_marginEnd="20dp" |
60 | 62 | app:layout_constraintTop_toBottomOf="@id/httpAuthUsernameContainer"> |
61 | 63 |
|
62 | | - <EditText |
| 64 | + <com.google.android.material.textfield.TextInputEditText |
63 | 65 | android:id="@+id/passwordInput" |
64 | 66 | android:layout_width="match_parent" |
65 | 67 | android:layout_height="wrap_content" |
| 68 | + android:autofillHints="password" |
66 | 69 | android:hint="@string/authenticationDialogPasswordHint" |
67 | | - android:inputType="textWebPassword" |
68 | 70 | android:importantForAutofill="yes" |
69 | | - android:autofillHints="password" |
| 71 | + android:inputType="textWebPassword" |
70 | 72 | tools:ignore="UnusedAttribute" /> |
71 | 73 |
|
72 | 74 | </com.google.android.material.textfield.TextInputLayout> |
|
0 commit comments