|
82 | 82 |
|
83 | 83 | <RelativeLayout |
84 | 84 | android:id="@+id/settings_use_english_holder" |
85 | | - style="@style/SettingsHolderCheckboxStyle" |
| 85 | + style="@style/SettingsHolderSwitchStyle" |
86 | 86 | android:layout_width="match_parent" |
87 | 87 | android:layout_height="wrap_content"> |
88 | 88 |
|
89 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 89 | + <org.fossify.commons.views.MyMaterialSwitch |
90 | 90 | android:id="@+id/settings_use_english" |
91 | | - style="@style/SettingsCheckboxStyle" |
| 91 | + style="@style/SettingsSwitchStyle" |
92 | 92 | android:layout_width="match_parent" |
93 | 93 | android:layout_height="wrap_content" |
94 | 94 | android:text="@string/use_english_language" /> |
|
154 | 154 |
|
155 | 155 | <RelativeLayout |
156 | 156 | android:id="@+id/settings_show_word_count_holder" |
157 | | - style="@style/SettingsHolderCheckboxStyle" |
| 157 | + style="@style/SettingsHolderSwitchStyle" |
158 | 158 | android:layout_width="match_parent" |
159 | 159 | android:layout_height="wrap_content"> |
160 | 160 |
|
161 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 161 | + <org.fossify.commons.views.MyMaterialSwitch |
162 | 162 | android:id="@+id/settings_show_word_count" |
163 | | - style="@style/SettingsCheckboxStyle" |
| 163 | + style="@style/SettingsSwitchStyle" |
164 | 164 | android:layout_width="match_parent" |
165 | 165 | android:layout_height="wrap_content" |
166 | 166 | android:text="@string/show_word_count" /> |
|
169 | 169 |
|
170 | 170 | <RelativeLayout |
171 | 171 | android:id="@+id/settings_clickable_links_holder" |
172 | | - style="@style/SettingsHolderCheckboxStyle" |
| 172 | + style="@style/SettingsHolderSwitchStyle" |
173 | 173 | android:layout_width="match_parent" |
174 | 174 | android:layout_height="wrap_content"> |
175 | 175 |
|
176 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 176 | + <org.fossify.commons.views.MyMaterialSwitch |
177 | 177 | android:id="@+id/settings_clickable_links" |
178 | | - style="@style/SettingsCheckboxStyle" |
| 178 | + style="@style/SettingsSwitchStyle" |
179 | 179 | android:layout_width="match_parent" |
180 | 180 | android:layout_height="wrap_content" |
181 | 181 | android:text="@string/links_and_emails_clickable" /> |
|
184 | 184 |
|
185 | 185 | <RelativeLayout |
186 | 186 | android:id="@+id/settings_monospaced_font_holder" |
187 | | - style="@style/SettingsHolderCheckboxStyle" |
| 187 | + style="@style/SettingsHolderSwitchStyle" |
188 | 188 | android:layout_width="match_parent" |
189 | 189 | android:layout_height="wrap_content"> |
190 | 190 |
|
191 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 191 | + <org.fossify.commons.views.MyMaterialSwitch |
192 | 192 | android:id="@+id/settings_monospaced_font" |
193 | | - style="@style/SettingsCheckboxStyle" |
| 193 | + style="@style/SettingsSwitchStyle" |
194 | 194 | android:layout_width="match_parent" |
195 | 195 | android:layout_height="wrap_content" |
196 | 196 | android:text="@string/monospaced_font" /> |
|
199 | 199 |
|
200 | 200 | <RelativeLayout |
201 | 201 | android:id="@+id/settings_use_incognito_mode_holder" |
202 | | - style="@style/SettingsHolderCheckboxStyle" |
| 202 | + style="@style/SettingsHolderSwitchStyle" |
203 | 203 | android:layout_width="match_parent" |
204 | 204 | android:layout_height="wrap_content"> |
205 | 205 |
|
206 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 206 | + <org.fossify.commons.views.MyMaterialSwitch |
207 | 207 | android:id="@+id/settings_use_incognito_mode" |
208 | | - style="@style/SettingsCheckboxStyle" |
| 208 | + style="@style/SettingsSwitchStyle" |
209 | 209 | android:layout_width="match_parent" |
210 | 210 | android:layout_height="wrap_content" |
211 | 211 | android:text="@string/use_incognito_mode" /> |
|
214 | 214 |
|
215 | 215 | <RelativeLayout |
216 | 216 | android:id="@+id/settings_enable_line_wrap_holder" |
217 | | - style="@style/SettingsHolderCheckboxStyle" |
| 217 | + style="@style/SettingsHolderSwitchStyle" |
218 | 218 | android:layout_width="match_parent" |
219 | 219 | android:layout_height="wrap_content"> |
220 | 220 |
|
221 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 221 | + <org.fossify.commons.views.MyMaterialSwitch |
222 | 222 | android:id="@+id/settings_enable_line_wrap" |
223 | | - style="@style/SettingsCheckboxStyle" |
| 223 | + style="@style/SettingsSwitchStyle" |
224 | 224 | android:layout_width="match_parent" |
225 | 225 | android:layout_height="wrap_content" |
226 | 226 | android:text="@string/enable_line_wrap" /> |
|
229 | 229 |
|
230 | 230 | <RelativeLayout |
231 | 231 | android:id="@+id/settings_move_undone_checklist_items_holder" |
232 | | - style="@style/SettingsHolderCheckboxStyle" |
| 232 | + style="@style/SettingsHolderSwitchStyle" |
233 | 233 | android:layout_width="match_parent" |
234 | 234 | android:layout_height="wrap_content"> |
235 | 235 |
|
236 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 236 | + <org.fossify.commons.views.MyMaterialSwitch |
237 | 237 | android:id="@+id/settings_move_undone_checklist_items" |
238 | | - style="@style/SettingsCheckboxStyle" |
| 238 | + style="@style/SettingsSwitchStyle" |
239 | 239 | android:layout_width="match_parent" |
240 | 240 | android:layout_height="wrap_content" |
241 | 241 | android:text="@string/move_done_checklist_items" /> |
|
278 | 278 |
|
279 | 279 | <RelativeLayout |
280 | 280 | android:id="@+id/settings_cursor_placement_holder" |
281 | | - style="@style/SettingsHolderCheckboxStyle" |
| 281 | + style="@style/SettingsHolderSwitchStyle" |
282 | 282 | android:layout_width="match_parent" |
283 | 283 | android:layout_height="wrap_content"> |
284 | 284 |
|
285 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 285 | + <org.fossify.commons.views.MyMaterialSwitch |
286 | 286 | android:id="@+id/settings_cursor_placement" |
287 | | - style="@style/SettingsCheckboxStyle" |
| 287 | + style="@style/SettingsSwitchStyle" |
288 | 288 | android:layout_width="match_parent" |
289 | 289 | android:layout_height="wrap_content" |
290 | 290 | android:text="@string/place_cursor_end" /> |
|
293 | 293 |
|
294 | 294 | <RelativeLayout |
295 | 295 | android:id="@+id/settings_show_keyboard_holder" |
296 | | - style="@style/SettingsHolderCheckboxStyle" |
| 296 | + style="@style/SettingsHolderSwitchStyle" |
297 | 297 | android:layout_width="match_parent" |
298 | 298 | android:layout_height="wrap_content"> |
299 | 299 |
|
300 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 300 | + <org.fossify.commons.views.MyMaterialSwitch |
301 | 301 | android:id="@+id/settings_show_keyboard" |
302 | | - style="@style/SettingsCheckboxStyle" |
| 302 | + style="@style/SettingsSwitchStyle" |
303 | 303 | android:layout_width="match_parent" |
304 | 304 | android:layout_height="wrap_content" |
305 | 305 | android:text="@string/show_keyboard" /> |
|
308 | 308 |
|
309 | 309 | <RelativeLayout |
310 | 310 | android:id="@+id/settings_show_note_picker_holder" |
311 | | - style="@style/SettingsHolderCheckboxStyle" |
| 311 | + style="@style/SettingsHolderSwitchStyle" |
312 | 312 | android:layout_width="match_parent" |
313 | 313 | android:layout_height="wrap_content"> |
314 | 314 |
|
315 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 315 | + <org.fossify.commons.views.MyMaterialSwitch |
316 | 316 | android:id="@+id/settings_show_note_picker" |
317 | | - style="@style/SettingsCheckboxStyle" |
| 317 | + style="@style/SettingsSwitchStyle" |
318 | 318 | android:layout_width="match_parent" |
319 | 319 | android:layout_height="wrap_content" |
320 | 320 | android:text="@string/show_note_picker" /> |
|
334 | 334 |
|
335 | 335 | <RelativeLayout |
336 | 336 | android:id="@+id/settings_autosave_notes_holder" |
337 | | - style="@style/SettingsHolderCheckboxStyle" |
| 337 | + style="@style/SettingsHolderSwitchStyle" |
338 | 338 | android:layout_width="match_parent" |
339 | 339 | android:layout_height="wrap_content"> |
340 | 340 |
|
341 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 341 | + <org.fossify.commons.views.MyMaterialSwitch |
342 | 342 | android:id="@+id/settings_autosave_notes" |
343 | | - style="@style/SettingsCheckboxStyle" |
| 343 | + style="@style/SettingsSwitchStyle" |
344 | 344 | android:layout_width="match_parent" |
345 | 345 | android:layout_height="wrap_content" |
346 | 346 | android:text="@string/autosave_notes" /> |
|
349 | 349 |
|
350 | 350 | <RelativeLayout |
351 | 351 | android:id="@+id/settings_display_success_holder" |
352 | | - style="@style/SettingsHolderCheckboxStyle" |
| 352 | + style="@style/SettingsHolderSwitchStyle" |
353 | 353 | android:layout_width="match_parent" |
354 | 354 | android:layout_height="wrap_content"> |
355 | 355 |
|
356 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 356 | + <org.fossify.commons.views.MyMaterialSwitch |
357 | 357 | android:id="@+id/settings_display_success" |
358 | | - style="@style/SettingsCheckboxStyle" |
| 358 | + style="@style/SettingsSwitchStyle" |
359 | 359 | android:layout_width="match_parent" |
360 | 360 | android:layout_height="wrap_content" |
361 | 361 | android:text="@string/display_success_message" /> |
|
379 | 379 |
|
380 | 380 | <RelativeLayout |
381 | 381 | android:id="@+id/settings_app_password_protection_holder" |
382 | | - style="@style/SettingsHolderCheckboxStyle" |
| 382 | + style="@style/SettingsHolderSwitchStyle" |
383 | 383 | android:layout_width="match_parent" |
384 | 384 | android:layout_height="wrap_content"> |
385 | 385 |
|
386 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 386 | + <org.fossify.commons.views.MyMaterialSwitch |
387 | 387 | android:id="@+id/settings_app_password_protection" |
388 | | - style="@style/SettingsCheckboxStyle" |
| 388 | + style="@style/SettingsSwitchStyle" |
389 | 389 | android:layout_width="match_parent" |
390 | 390 | android:layout_height="wrap_content" |
391 | 391 | android:text="@string/password_protect_whole_app" /> |
|
394 | 394 |
|
395 | 395 | <RelativeLayout |
396 | 396 | android:id="@+id/settings_note_deletion_password_protection_holder" |
397 | | - style="@style/SettingsHolderCheckboxStyle" |
| 397 | + style="@style/SettingsHolderSwitchStyle" |
398 | 398 | android:layout_width="match_parent" |
399 | 399 | android:layout_height="wrap_content"> |
400 | 400 |
|
401 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 401 | + <org.fossify.commons.views.MyMaterialSwitch |
402 | 402 | android:id="@+id/settings_note_deletion_password_protection" |
403 | | - style="@style/SettingsCheckboxStyle" |
| 403 | + style="@style/SettingsSwitchStyle" |
404 | 404 | android:layout_width="match_parent" |
405 | 405 | android:layout_height="wrap_content" |
406 | 406 | android:text="@string/password_protect_note_deletion" /> |
|
420 | 420 |
|
421 | 421 | <RelativeLayout |
422 | 422 | android:id="@+id/settings_enable_automatic_backups_holder" |
423 | | - style="@style/SettingsHolderCheckboxStyle" |
| 423 | + style="@style/SettingsHolderSwitchStyle" |
424 | 424 | android:layout_width="match_parent" |
425 | 425 | android:layout_height="wrap_content"> |
426 | 426 |
|
427 | | - <org.fossify.commons.views.MyAppCompatCheckbox |
| 427 | + <org.fossify.commons.views.MyMaterialSwitch |
428 | 428 | android:id="@+id/settings_enable_automatic_backups" |
429 | | - style="@style/SettingsCheckboxStyle" |
| 429 | + style="@style/SettingsSwitchStyle" |
430 | 430 | android:layout_width="match_parent" |
431 | 431 | android:layout_height="wrap_content" |
432 | 432 | android:text="@string/enable_automatic_backups" /> |
|
0 commit comments