|
33 | 33 | tools:ignore="LabelFor,TextFields" /> |
34 | 34 | </LinearLayout> |
35 | 35 |
|
| 36 | + <TextView |
| 37 | + android:layout_width="wrap_content" |
| 38 | + android:layout_height="wrap_content" |
| 39 | + android:layout_marginTop="10dp" |
| 40 | + android:layout_marginStart="10dp" |
| 41 | + android:text="@string/account" |
| 42 | + android:textSize="14sp" |
| 43 | + android:textColor="@color/colorBlueGreyDark" |
| 44 | + tools:ignore="HardcodedText" /> |
| 45 | + |
36 | 46 | <LinearLayout |
37 | 47 | android:layout_width="match_parent" |
38 | 48 | android:layout_height="match_parent" |
|
43 | 53 | <TextView |
44 | 54 | android:layout_width="wrap_content" |
45 | 55 | android:layout_height="wrap_content" |
46 | | - android:text="@string/email_host" /> |
| 56 | + android:text="@string/email_account" /> |
47 | 57 |
|
48 | 58 | <EditText |
49 | | - android:id="@+id/editTextEmailHost" |
| 59 | + android:id="@+id/editTextEmailFromAdd" |
50 | 60 | android:layout_width="wrap_content" |
51 | 61 | android:layout_height="wrap_content" |
52 | 62 | android:layout_marginStart="3dp" |
53 | 63 | android:autofillHints="" |
54 | 64 | android:ems="14" |
55 | | - android:inputType="text" |
| 65 | + android:inputType="textEmailAddress" |
56 | 66 | android:text="" |
57 | | - tools:ignore="LabelFor,TextFields" /> |
| 67 | + tools:ignore="LabelFor" /> |
58 | 68 | </LinearLayout> |
59 | 69 |
|
60 | 70 | <LinearLayout |
|
67 | 77 | <TextView |
68 | 78 | android:layout_width="wrap_content" |
69 | 79 | android:layout_height="wrap_content" |
70 | | - android:text="@string/smtp_port" /> |
| 80 | + android:text="@string/email_password" /> |
71 | 81 |
|
72 | 82 | <EditText |
73 | | - android:id="@+id/editTextEmailPort" |
| 83 | + android:id="@+id/editTextEmailPsw" |
74 | 84 | android:layout_width="wrap_content" |
75 | 85 | android:layout_height="wrap_content" |
76 | 86 | android:layout_marginStart="3dp" |
77 | 87 | android:autofillHints="" |
78 | | - android:ems="5" |
79 | | - android:inputType="text" |
| 88 | + android:ems="14" |
| 89 | + android:inputType="textPassword" |
80 | 90 | android:text="" |
81 | 91 | tools:ignore="LabelFor,TextFields" /> |
| 92 | + </LinearLayout> |
| 93 | + |
| 94 | + <LinearLayout |
| 95 | + android:layout_width="match_parent" |
| 96 | + android:layout_height="match_parent" |
| 97 | + android:layout_marginLeft="10dp" |
| 98 | + android:layout_marginRight="10dp" |
| 99 | + android:orientation="horizontal"> |
82 | 100 |
|
83 | 101 | <TextView |
84 | 102 | android:layout_width="wrap_content" |
85 | 103 | android:layout_height="wrap_content" |
86 | | - android:text="@string/enable_ssl" /> |
| 104 | + android:text="@string/email_nickname" /> |
87 | 105 |
|
88 | | - <Switch |
89 | | - android:id="@+id/switchEmailSSl" |
| 106 | + <EditText |
| 107 | + android:id="@+id/editTextEmailNickname" |
90 | 108 | android:layout_width="wrap_content" |
91 | 109 | android:layout_height="wrap_content" |
92 | | - android:checked="true" |
93 | | - tools:ignore="UseSwitchCompatOrMaterialXml" /> |
| 110 | + android:layout_marginStart="3dp" |
| 111 | + android:autofillHints="" |
| 112 | + android:ems="14" |
| 113 | + android:inputType="text" |
| 114 | + android:text="" |
| 115 | + tools:ignore="LabelFor,TextFields" /> |
94 | 116 | </LinearLayout> |
95 | 117 |
|
| 118 | + <TextView |
| 119 | + android:layout_width="wrap_content" |
| 120 | + android:layout_height="wrap_content" |
| 121 | + android:layout_marginTop="10dp" |
| 122 | + android:layout_marginStart="10dp" |
| 123 | + android:text="@string/servers" |
| 124 | + android:textSize="14sp" |
| 125 | + android:textColor="@color/colorBlueGreyDark" |
| 126 | + tools:ignore="HardcodedText" /> |
| 127 | + |
96 | 128 | <LinearLayout |
97 | 129 | android:layout_width="match_parent" |
98 | 130 | android:layout_height="match_parent" |
99 | 131 | android:layout_marginLeft="10dp" |
100 | 132 | android:layout_marginRight="10dp" |
101 | | - android:orientation="horizontal"> |
| 133 | + android:layout_marginTop="5dp" |
| 134 | + android:orientation="horizontal" |
| 135 | + android:visibility="gone"> |
102 | 136 |
|
103 | 137 | <TextView |
104 | 138 | android:layout_width="wrap_content" |
105 | 139 | android:layout_height="wrap_content" |
106 | | - android:text="@string/email_account" /> |
| 140 | + android:paddingTop="5dp" |
| 141 | + android:text="@string/email_protocol" /> |
107 | 142 |
|
108 | | - <EditText |
109 | | - android:id="@+id/editTextEmailFromAdd" |
| 143 | + <RadioGroup |
| 144 | + android:id="@+id/radioGroupEmailProtocol" |
110 | 145 | android:layout_width="wrap_content" |
111 | 146 | android:layout_height="wrap_content" |
112 | 147 | android:layout_marginStart="3dp" |
113 | | - android:autofillHints="" |
114 | | - android:ems="14" |
115 | | - android:inputType="textEmailAddress" |
116 | | - android:text="" |
117 | | - tools:ignore="LabelFor" /> |
| 148 | + android:orientation="horizontal"> |
| 149 | + |
| 150 | + <RadioButton |
| 151 | + android:id="@+id/radioEmailProtocolSmtp" |
| 152 | + android:layout_width="wrap_content" |
| 153 | + android:layout_height="wrap_content" |
| 154 | + android:checked="true" |
| 155 | + android:text="@string/email_smtp" /> |
| 156 | + |
| 157 | + <RadioButton |
| 158 | + android:id="@+id/radioEmailProtocolImap" |
| 159 | + android:layout_width="wrap_content" |
| 160 | + android:layout_height="wrap_content" |
| 161 | + android:text="@string/email_imap" /> |
| 162 | + |
| 163 | + </RadioGroup> |
| 164 | + |
118 | 165 | </LinearLayout> |
119 | 166 |
|
120 | 167 | <LinearLayout |
|
127 | 174 | <TextView |
128 | 175 | android:layout_width="wrap_content" |
129 | 176 | android:layout_height="wrap_content" |
130 | | - android:text="@string/email_nickname" /> |
| 177 | + android:text="@string/email_host" /> |
131 | 178 |
|
132 | 179 | <EditText |
133 | | - android:id="@+id/editTextEmailNickname" |
| 180 | + android:id="@+id/editTextEmailHost" |
134 | 181 | android:layout_width="wrap_content" |
135 | 182 | android:layout_height="wrap_content" |
136 | 183 | android:layout_marginStart="3dp" |
|
151 | 198 | <TextView |
152 | 199 | android:layout_width="wrap_content" |
153 | 200 | android:layout_height="wrap_content" |
154 | | - android:text="@string/email_password" /> |
| 201 | + android:text="@string/smtp_port" /> |
155 | 202 |
|
156 | 203 | <EditText |
157 | | - android:id="@+id/editTextEmailPsw" |
| 204 | + android:id="@+id/editTextEmailPort" |
158 | 205 | android:layout_width="wrap_content" |
159 | 206 | android:layout_height="wrap_content" |
160 | 207 | android:layout_marginStart="3dp" |
161 | 208 | android:autofillHints="" |
162 | | - android:ems="14" |
163 | | - android:inputType="textPassword" |
| 209 | + android:ems="5" |
| 210 | + android:inputType="text" |
164 | 211 | android:text="" |
165 | 212 | tools:ignore="LabelFor,TextFields" /> |
| 213 | + |
| 214 | + <TextView |
| 215 | + android:layout_width="wrap_content" |
| 216 | + android:layout_height="wrap_content" |
| 217 | + android:text="@string/enable_ssl" /> |
| 218 | + |
| 219 | + <Switch |
| 220 | + android:id="@+id/switchEmailSSl" |
| 221 | + android:layout_width="wrap_content" |
| 222 | + android:layout_height="wrap_content" |
| 223 | + android:checked="true" |
| 224 | + tools:ignore="UseSwitchCompatOrMaterialXml" /> |
166 | 225 | </LinearLayout> |
167 | 226 |
|
| 227 | + <TextView |
| 228 | + android:layout_width="wrap_content" |
| 229 | + android:layout_height="wrap_content" |
| 230 | + android:layout_marginTop="10dp" |
| 231 | + android:layout_marginStart="10dp" |
| 232 | + android:text="@string/email" |
| 233 | + android:textSize="14sp" |
| 234 | + android:textColor="@color/colorBlueGreyDark" |
| 235 | + tools:ignore="HardcodedText" /> |
| 236 | + |
168 | 237 | <LinearLayout |
169 | 238 | android:layout_width="match_parent" |
170 | 239 | android:layout_height="match_parent" |
|
241 | 310 | android:layout_marginTop="5dp" |
242 | 311 | android:layout_marginBottom="5dp" |
243 | 312 | android:layout_weight="1" |
244 | | - android:background="@color/colorPrimary" |
| 313 | + android:background="@color/colorBlueGrey" |
245 | 314 | android:text="@string/insert_sender" |
246 | 315 | tools:ignore="ButtonStyle,NestedWeights" /> |
247 | 316 |
|
|
253 | 322 | android:layout_marginTop="5dp" |
254 | 323 | android:layout_marginBottom="5dp" |
255 | 324 | android:layout_weight="1" |
256 | | - android:background="@color/colorPrimary" |
| 325 | + android:background="@color/colorBlueGrey" |
257 | 326 | android:text="@string/insert_extra" |
258 | 327 | tools:ignore="ButtonStyle,NestedWeights" /> |
259 | 328 |
|
|
265 | 334 | android:layout_marginTop="5dp" |
266 | 335 | android:layout_marginBottom="5dp" |
267 | 336 | android:layout_weight="1" |
268 | | - android:background="@color/colorPrimary" |
| 337 | + android:background="@color/colorBlueGrey" |
269 | 338 | android:text="@string/insert_time" |
270 | 339 | tools:ignore="ButtonStyle,NestedWeights" /> |
271 | 340 |
|
|
277 | 346 | android:layout_marginTop="5dp" |
278 | 347 | android:layout_marginBottom="5dp" |
279 | 348 | android:layout_weight="1" |
280 | | - android:background="@color/colorPrimary" |
| 349 | + android:background="@color/colorBlueGrey" |
281 | 350 | android:text="@string/insert_device_name" |
282 | 351 | tools:ignore="ButtonStyle,NestedWeights" /> |
283 | 352 |
|
|
0 commit comments