|
9 | 9 |
|
10 | 10 | <ImageView |
11 | 11 | android:id="@+id/imageView" |
12 | | - android:layout_width="145dp" |
13 | | - android:layout_height="148dp" |
| 12 | + android:layout_width="100dp" |
| 13 | + android:layout_height="100dp" |
14 | 14 | android:layout_marginTop="32dp" |
15 | 15 | android:contentDescription="@string/img_http_sms_logo" |
16 | 16 | app:layout_constraintEnd_toEndOf="parent" |
|
33 | 33 | app:layout_constraintBottom_toTopOf="@+id/loginApiKeyTextInputLayout" |
34 | 34 | app:layout_constraintEnd_toEndOf="parent" |
35 | 35 | app:layout_constraintHorizontal_bias="0.498" |
36 | | - app:layout_constraintStart_toStartOf="parent" /> |
| 36 | + app:layout_constraintStart_toStartOf="parent" |
| 37 | + app:layout_constraintTop_toBottomOf="@+id/imageView" /> |
37 | 38 |
|
38 | 39 | <com.google.android.material.textfield.TextInputLayout |
39 | 40 | android:id="@+id/loginApiKeyTextInputLayout" |
|
56 | 57 | </com.google.android.material.textfield.TextInputLayout> |
57 | 58 |
|
58 | 59 | <com.google.android.material.textfield.TextInputLayout |
59 | | - android:id="@+id/loginPhoneNumberLayout" |
| 60 | + android:id="@+id/loginPhoneNumberLayoutSIM1" |
60 | 61 | style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
61 | 62 | android:layout_width="match_parent" |
62 | 63 | android:layout_height="wrap_content" |
63 | 64 | android:layout_marginBottom="224dp" |
64 | | - android:hint="@string/phone_number" |
| 65 | + android:hint="@string/login_phone_number_sim1" |
65 | 66 | app:errorEnabled="true" |
66 | 67 | app:placeholderText="@string/login_phone_number_hint" |
67 | 68 | app:layout_constraintBottom_toBottomOf="parent" |
|
70 | 71 | tools:layout_editor_absoluteX="16dp"> |
71 | 72 |
|
72 | 73 | <com.google.android.material.textfield.TextInputEditText |
73 | | - android:id="@+id/loginPhoneNumberInput" |
| 74 | + android:id="@+id/loginPhoneNumberInputSIM1" |
74 | 75 | android:layout_width="match_parent" |
75 | 76 | android:layout_height="wrap_content" |
76 | 77 | android:inputType="textMultiLine" |
77 | 78 | tools:ignore="TextContrastCheck" /> |
78 | 79 |
|
79 | 80 | </com.google.android.material.textfield.TextInputLayout> |
80 | 81 |
|
81 | | - |
82 | 82 | <com.google.android.material.textfield.TextInputLayout |
83 | | - android:id="@+id/loginServerUrlLayout" |
| 83 | + android:id="@+id/loginPhoneNumberLayoutSIM2" |
84 | 84 | style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
85 | 85 | android:layout_width="match_parent" |
86 | 86 | android:layout_height="wrap_content" |
87 | | - android:layout_marginTop="-24dp" |
88 | | - android:hint="@string/server_url" |
| 87 | + app:layout_constraintTop_toBottomOf="@+id/loginPhoneNumberLayoutSIM1" |
| 88 | + android:layout_marginBottom="224dp" |
| 89 | + android:hint="@string/login_phone_number_sim2" |
89 | 90 | app:errorEnabled="true" |
90 | | - app:placeholderText="@string/login_server_url_hint" |
91 | | - app:layout_constraintBottom_toBottomOf="parent" |
92 | | - app:layout_constraintTop_toBottomOf="@+id/loginPhoneNumberLayout" |
93 | | - app:layout_constraintVertical_bias="0.137" |
94 | | - tools:layout_editor_absoluteX="16dp"> |
| 91 | + app:placeholderText="@string/login_phone_number_hint" |
| 92 | + app:layout_constraintVertical_bias="0.137"> |
95 | 93 |
|
96 | 94 | <com.google.android.material.textfield.TextInputEditText |
97 | | - android:id="@+id/loginServerUrlInput" |
| 95 | + android:id="@+id/loginPhoneNumberInputSIM2" |
98 | 96 | android:layout_width="match_parent" |
99 | 97 | android:layout_height="wrap_content" |
100 | 98 | android:inputType="textMultiLine" |
101 | 99 | tools:ignore="TextContrastCheck" /> |
102 | 100 |
|
103 | 101 | </com.google.android.material.textfield.TextInputLayout> |
104 | 102 |
|
| 103 | + <LinearLayout |
| 104 | + android:id="@+id/loginServerUrlLayoutContainer" |
| 105 | + android:orientation="vertical" |
| 106 | + app:layout_constraintTop_toBottomOf="@+id/loginPhoneNumberLayoutSIM2" |
| 107 | + android:layout_width="match_parent" |
| 108 | + android:layout_height="wrap_content"> |
| 109 | + <com.google.android.material.textfield.TextInputLayout |
| 110 | + android:id="@+id/loginServerUrlLayout" |
| 111 | + style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
| 112 | + android:layout_width="match_parent" |
| 113 | + android:layout_height="wrap_content" |
| 114 | + android:hint="@string/server_url" |
| 115 | + app:errorEnabled="true" |
| 116 | + app:placeholderText="@string/login_server_url_hint" |
| 117 | + app:layout_constraintBottom_toBottomOf="parent" |
| 118 | + app:layout_constraintVertical_bias="0.137"> |
| 119 | + |
| 120 | + <com.google.android.material.textfield.TextInputEditText |
| 121 | + android:id="@+id/loginServerUrlInput" |
| 122 | + android:layout_width="match_parent" |
| 123 | + android:layout_height="wrap_content" |
| 124 | + android:inputType="textMultiLine" |
| 125 | + tools:ignore="TextContrastCheck" /> |
| 126 | + |
| 127 | + </com.google.android.material.textfield.TextInputLayout> |
| 128 | + </LinearLayout> |
| 129 | + |
105 | 130 | <LinearLayout |
106 | 131 | android:id="@+id/linearLayout" |
107 | 132 | android:layout_width="wrap_content" |
|
110 | 135 | android:orientation="vertical" |
111 | 136 | app:layout_constraintEnd_toEndOf="parent" |
112 | 137 | app:layout_constraintStart_toStartOf="parent" |
113 | | - app:layout_constraintTop_toBottomOf="@+id/loginServerUrlLayout"> |
| 138 | + app:layout_constraintTop_toBottomOf="@+id/loginServerUrlLayoutContainer"> |
114 | 139 |
|
115 | 140 | <com.google.android.material.button.MaterialButton |
116 | 141 | android:id="@+id/loginButton" |
|
0 commit comments