1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2017-2020 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
8 Privacy Browser is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Privacy Browser is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
21 <ScrollView android:id="@+id/domain_settings_scrollview"
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 xmlns:tools="http://schemas.android.com/tools"
24 android:layout_height="wrap_content"
25 android:layout_width="match_parent"
26 android:focusable="true"
27 android:focusableInTouchMode="true"
28 android:descendantFocusability="beforeDescendants"
29 xmlns:app="http://schemas.android.com/apk/res-auto">
32 android:layout_height="wrap_content"
33 android:layout_width="match_parent"
34 android:layout_margin="12dp"
35 android:orientation="vertical"
36 android:divider="?android:attr/dividerVertical" >
40 android:layout_height="wrap_content"
41 android:layout_width="match_parent"
42 android:orientation="vertical" >
45 android:layout_height="wrap_content"
46 android:layout_width="match_parent"
47 android:orientation="horizontal" >
50 android:layout_height="wrap_content"
51 android:layout_width="wrap_content"
52 android:layout_marginEnd="10dp"
53 android:layout_marginBottom="12dp"
54 android:layout_gravity="bottom"
55 android:src="@drawable/domains_day"
56 app:tint="?attr/domainSettingsIconTintColor"
57 tools:ignore="contentDescription" />
59 <!-- `TextInputLayout` makes the `android:hint` float above the `EditText`. -->
60 <com.google.android.material.textfield.TextInputLayout
61 android:layout_height="wrap_content"
62 android:layout_width="match_parent"
63 android:layout_marginStart="6dp" >
65 <!-- `android:inputType="textUri"` disables spell check in the `EditText`. -->
66 <com.google.android.material.textfield.TextInputEditText
67 android:id="@+id/domain_settings_name_edittext"
68 android:layout_width="match_parent"
69 android:layout_height="wrap_content"
70 android:hint="@string/domain_name"
71 android:inputType="textUri" />
72 </com.google.android.material.textfield.TextInputLayout>
76 android:layout_height="wrap_content"
77 android:layout_width="match_parent"
78 android:text="@string/domain_name_instructions"
79 android:textSize="12sp"
80 android:layout_marginStart="43dp"
81 android:layout_marginBottom="14dp" />
86 android:layout_height="wrap_content"
87 android:layout_width="match_parent"
88 android:orientation="horizontal" >
91 android:id="@+id/javascript_imageview"
92 android:layout_height="wrap_content"
93 android:layout_width="wrap_content"
94 android:layout_marginTop="1dp"
95 android:layout_marginEnd="10dp"
96 android:layout_gravity="center_vertical"
97 tools:ignore="contentDescription" />
99 <androidx.appcompat.widget.SwitchCompat
100 android:id="@+id/javascript_switch"
101 android:layout_height="wrap_content"
102 android:layout_width="match_parent"
103 android:layout_marginStart="8dp"
104 android:layout_marginTop="14dp"
105 android:layout_marginBottom="14dp"
106 android:text="@string/javascript_enabled"
107 android:textColor="?android:textColorPrimary"
108 android:textSize="18sp" />
111 <!-- First-Party Cookies. -->
113 android:layout_height="wrap_content"
114 android:layout_width="match_parent"
115 android:orientation="horizontal" >
118 android:id="@+id/first_party_cookies_imageview"
119 android:layout_height="wrap_content"
120 android:layout_width="wrap_content"
121 android:layout_marginTop="1dp"
122 android:layout_marginEnd="10dp"
123 android:layout_gravity="center_vertical"
124 tools:ignore="contentDescription" />
126 <androidx.appcompat.widget.SwitchCompat
127 android:id="@+id/first_party_cookies_switch"
128 android:layout_height="wrap_content"
129 android:layout_width="match_parent"
130 android:layout_marginStart="8dp"
131 android:layout_marginTop="14dp"
132 android:layout_marginBottom="14dp"
133 android:text="@string/first_party_cookies_enabled"
134 android:textColor="?android:textColorPrimary"
135 android:textSize="18sp" />
138 <!-- Third-Party Cookies. -->
140 android:id="@+id/third_party_cookies_linearlayout"
141 android:layout_height="wrap_content"
142 android:layout_width="match_parent"
143 android:orientation="horizontal" >
146 android:id="@+id/third_party_cookies_imageview"
147 android:layout_height="wrap_content"
148 android:layout_width="wrap_content"
149 android:layout_marginTop="1dp"
150 android:layout_marginEnd="10dp"
151 android:layout_gravity="center_vertical"
152 android:src="@drawable/cookies_enabled"
153 tools:ignore="contentDescription" />
155 <androidx.appcompat.widget.SwitchCompat
156 android:id="@+id/third_party_cookies_switch"
157 android:layout_height="wrap_content"
158 android:layout_width="match_parent"
159 android:layout_marginStart="8dp"
160 android:layout_marginTop="14dp"
161 android:layout_marginBottom="14dp"
162 android:text="@string/third_party_cookies_enabled"
163 android:textColor="?android:textColorPrimary"
164 android:textSize="18sp" />
167 <!-- DOM Storage. -->
169 android:layout_height="wrap_content"
170 android:layout_width="match_parent"
171 android:orientation="horizontal" >
174 android:id="@+id/dom_storage_imageview"
175 android:layout_height="wrap_content"
176 android:layout_width="wrap_content"
177 android:layout_marginTop="1dp"
178 android:layout_marginEnd="10dp"
179 android:layout_gravity="center_vertical"
180 tools:ignore="contentDescription" />
182 <androidx.appcompat.widget.SwitchCompat
183 android:id="@+id/dom_storage_switch"
184 android:layout_height="wrap_content"
185 android:layout_width="match_parent"
186 android:layout_marginStart="8dp"
187 android:layout_marginTop="14dp"
188 android:layout_marginBottom="14dp"
189 android:text="@string/dom_storage_enabled"
190 android:textColor="?android:textColorPrimary"
191 android:textSize="18sp" />
196 android:layout_height="wrap_content"
197 android:layout_width="match_parent"
198 android:orientation="horizontal" >
201 android:id="@+id/form_data_imageview"
202 android:layout_height="wrap_content"
203 android:layout_width="wrap_content"
204 android:layout_marginTop="1dp"
205 android:layout_marginEnd="10dp"
206 android:layout_gravity="center_vertical"
207 tools:ignore="contentDescription" />
209 <androidx.appcompat.widget.SwitchCompat
210 android:id="@+id/form_data_switch"
211 android:layout_height="wrap_content"
212 android:layout_width="match_parent"
213 android:layout_marginStart="8dp"
214 android:layout_marginTop="14dp"
215 android:layout_marginBottom="14dp"
216 android:text="@string/form_data_enabled"
217 android:textColor="?android:textColorPrimary"
218 android:textSize="18sp" />
223 android:layout_height="wrap_content"
224 android:layout_width="match_parent"
225 android:orientation="horizontal" >
228 android:id="@+id/easylist_imageview"
229 android:layout_height="wrap_content"
230 android:layout_width="wrap_content"
231 android:layout_marginTop="1dp"
232 android:layout_marginEnd="10dp"
233 android:layout_gravity="center_vertical"
234 tools:ignore="contentDescription" />
236 <androidx.appcompat.widget.SwitchCompat
237 android:id="@+id/easylist_switch"
238 android:layout_height="wrap_content"
239 android:layout_width="match_parent"
240 android:layout_marginStart="8dp"
241 android:layout_marginTop="14dp"
242 android:layout_marginBottom="14dp"
243 android:text="@string/easylist"
244 android:textColor="?android:textColorPrimary"
245 android:textSize="18sp" />
248 <!-- EasyPrivacy. -->
250 android:layout_height="wrap_content"
251 android:layout_width="match_parent"
252 android:orientation="horizontal" >
255 android:id="@+id/easyprivacy_imageview"
256 android:layout_height="wrap_content"
257 android:layout_width="wrap_content"
258 android:layout_marginTop="1dp"
259 android:layout_marginEnd="10dp"
260 android:layout_gravity="center_vertical"
261 tools:ignore="contentDescription" />
263 <androidx.appcompat.widget.SwitchCompat
264 android:id="@+id/easyprivacy_switch"
265 android:layout_height="wrap_content"
266 android:layout_width="match_parent"
267 android:layout_marginStart="8dp"
268 android:layout_marginTop="14dp"
269 android:layout_marginBottom="14dp"
270 android:text="@string/easyprivacy"
271 android:textColor="?android:textColorPrimary"
272 android:textSize="18sp" />
275 <!-- Fanboy's Annoyance List. -->
277 android:layout_height="wrap_content"
278 android:layout_width="match_parent"
279 android:orientation="horizontal" >
282 android:id="@+id/fanboys_annoyance_list_imageview"
283 android:layout_height="wrap_content"
284 android:layout_width="wrap_content"
285 android:layout_marginTop="1dp"
286 android:layout_marginEnd="10dp"
287 android:layout_gravity="center_vertical"
288 tools:ignore="contentDescription" />
290 <androidx.appcompat.widget.SwitchCompat
291 android:id="@+id/fanboys_annoyance_list_switch"
292 android:layout_height="wrap_content"
293 android:layout_width="match_parent"
294 android:layout_marginStart="8dp"
295 android:layout_marginTop="14dp"
296 android:layout_marginBottom="14dp"
297 android:text="@string/fanboys_annoyance_list"
298 android:textColor="?android:textColorPrimary"
299 android:textSize="18sp" />
302 <!-- Fanboy's Social Blocking List. -->
304 android:layout_height="wrap_content"
305 android:layout_width="match_parent"
306 android:orientation="horizontal" >
309 android:id="@+id/fanboys_social_blocking_list_imageview"
310 android:layout_height="wrap_content"
311 android:layout_width="wrap_content"
312 android:layout_marginTop="1dp"
313 android:layout_marginEnd="10dp"
314 android:layout_gravity="center_vertical"
315 tools:ignore="contentDescription" />
317 <androidx.appcompat.widget.SwitchCompat
318 android:id="@+id/fanboys_social_blocking_list_switch"
319 android:layout_height="wrap_content"
320 android:layout_width="match_parent"
321 android:layout_marginStart="8dp"
322 android:layout_marginTop="14dp"
323 android:layout_marginBottom="14dp"
324 android:text="@string/fanboys_social_blocking_list"
325 android:textColor="?android:textColorPrimary"
326 android:textSize="18sp" />
331 android:layout_height="wrap_content"
332 android:layout_width="match_parent"
333 android:orientation="horizontal" >
336 android:id="@+id/ultralist_imageview"
337 android:layout_height="wrap_content"
338 android:layout_width="wrap_content"
339 android:layout_marginTop="1dp"
340 android:layout_marginEnd="10dp"
341 android:layout_gravity="center_vertical"
342 tools:ignore="contentDescription" />
344 <androidx.appcompat.widget.SwitchCompat
345 android:id="@+id/ultralist_switch"
346 android:layout_height="wrap_content"
347 android:layout_width="match_parent"
348 android:layout_marginStart="8dp"
349 android:layout_marginTop="14dp"
350 android:layout_marginBottom="14dp"
351 android:text="@string/ultralist"
352 android:textColor="?android:textColorPrimary"
353 android:textSize="18sp" />
356 <!-- UltraPrivacy. -->
358 android:layout_height="wrap_content"
359 android:layout_width="match_parent"
360 android:orientation="horizontal" >
363 android:id="@+id/ultraprivacy_imageview"
364 android:layout_height="wrap_content"
365 android:layout_width="wrap_content"
366 android:layout_marginTop="1dp"
367 android:layout_marginEnd="10dp"
368 android:layout_gravity="center_vertical"
369 tools:ignore="contentDescription" />
371 <androidx.appcompat.widget.SwitchCompat
372 android:id="@+id/ultraprivacy_switch"
373 android:layout_height="wrap_content"
374 android:layout_width="match_parent"
375 android:layout_marginStart="8dp"
376 android:layout_marginTop="14dp"
377 android:layout_marginBottom="14dp"
378 android:text="@string/ultraprivacy"
379 android:textColor="?android:textColorPrimary"
380 android:textSize="18sp" />
383 <!-- Block All Third Party Requests. -->
385 android:layout_height="wrap_content"
386 android:layout_width="match_parent"
387 android:orientation="horizontal" >
390 android:id="@+id/block_all_third_party_requests_imageview"
391 android:layout_height="wrap_content"
392 android:layout_width="wrap_content"
393 android:layout_marginTop="1dp"
394 android:layout_marginEnd="10dp"
395 android:layout_gravity="center_vertical"
396 tools:ignore="contentDescription" />
398 <androidx.appcompat.widget.SwitchCompat
399 android:id="@+id/block_all_third_party_requests_switch"
400 android:layout_height="wrap_content"
401 android:layout_width="match_parent"
402 android:layout_marginStart="8dp"
403 android:layout_marginTop="14dp"
404 android:layout_marginBottom="14dp"
405 android:text="@string/block_all_third_party_requests"
406 android:textColor="?android:textColorPrimary"
407 android:textSize="18sp" />
412 android:layout_height="wrap_content"
413 android:layout_width="match_parent"
414 android:orientation="vertical"
415 android:layout_marginTop="14dp"
416 android:layout_marginBottom="14dp" >
419 android:layout_height="wrap_content"
420 android:layout_width="match_parent"
421 android:orientation="horizontal" >
424 android:layout_height="wrap_content"
425 android:layout_width="wrap_content"
426 android:layout_marginTop="1dp"
427 android:layout_marginEnd="10dp"
428 android:layout_gravity="center_vertical"
429 android:src="@drawable/user_agent_day"
430 app:tint="?attr/domainSettingsIconTintColor"
431 android:contentDescription="@string/user_agent" />
434 android:id="@+id/user_agent_spinner"
435 android:layout_height="wrap_content"
436 android:layout_width="match_parent" />
440 android:id="@+id/user_agent_textview"
441 android:layout_height="match_parent"
442 android:layout_width="match_parent"
443 android:layout_marginStart="45dp"
444 android:layout_marginEnd="36dp"
445 android:textSize="13sp" />
448 android:id="@+id/custom_user_agent_edittext"
449 android:layout_height="wrap_content"
450 android:layout_width="match_parent"
451 android:layout_marginStart="40dp"
452 android:layout_marginEnd="60dp"
453 android:inputType="textUri"
454 android:hint="@string/custom_user_agent"
455 android:importantForAutofill="no" />
460 android:layout_height="wrap_content"
461 android:layout_width="match_parent"
462 android:orientation="vertical"
463 android:layout_marginTop="14dp"
464 android:layout_marginBottom="14dp" >
467 android:layout_height="wrap_content"
468 android:layout_width="match_parent"
469 android:orientation="horizontal" >
472 android:layout_height="wrap_content"
473 android:layout_width="wrap_content"
474 android:layout_marginTop="1dp"
475 android:layout_marginEnd="10dp"
476 android:layout_gravity="center_vertical"
477 android:src="@drawable/font_size_day"
478 app:tint="?attr/domainSettingsIconTintColor"
479 android:contentDescription="@string/font_size" />
482 android:id="@+id/font_size_spinner"
483 android:layout_height="wrap_content"
484 android:layout_width="match_parent" />
488 android:id="@+id/default_font_size_textview"
489 android:layout_height="match_parent"
490 android:layout_width="match_parent"
491 android:layout_marginStart="45dp"
492 android:layout_marginEnd="36dp"
493 android:textSize="13sp" />
496 android:id="@+id/custom_font_size_edittext"
497 android:layout_height="wrap_content"
498 android:layout_width="match_parent"
499 android:layout_marginStart="40dp"
500 android:layout_marginEnd="60dp"
501 android:inputType="number"
502 android:hint="@string/font_size"
503 android:importantForAutofill="no" />
506 <!-- Swipe to Refresh. -->
508 android:layout_height="wrap_content"
509 android:layout_width="match_parent"
510 android:orientation="vertical"
511 android:layout_marginTop="14dp"
512 android:layout_marginBottom="14dp" >
515 android:layout_height="wrap_content"
516 android:layout_width="match_parent"
517 android:orientation="horizontal" >
520 android:id="@+id/swipe_to_refresh_imageview"
521 android:layout_height="wrap_content"
522 android:layout_width="wrap_content"
523 android:layout_marginTop="1dp"
524 android:layout_marginEnd="10dp"
525 android:layout_gravity="center_vertical"
526 android:contentDescription="@string/swipe_to_refresh" />
529 android:id="@+id/swipe_to_refresh_spinner"
530 android:layout_height="wrap_content"
531 android:layout_width="match_parent" />
535 android:id="@+id/swipe_to_refresh_textview"
536 android:layout_height="match_parent"
537 android:layout_width="match_parent"
538 android:layout_marginStart="45dp"
539 android:layout_marginEnd="36dp"
540 android:textSize="13sp" />
543 <!-- WebView Theme. -->
545 android:id="@+id/webview_theme_linearlayout"
546 android:layout_height="wrap_content"
547 android:layout_width="match_parent"
548 android:orientation="vertical"
549 android:layout_marginTop="14dp"
550 android:layout_marginBottom="14dp" >
553 android:layout_height="wrap_content"
554 android:layout_width="match_parent"
555 android:orientation="horizontal" >
558 android:id="@+id/webview_theme_imageview"
559 android:layout_height="wrap_content"
560 android:layout_width="wrap_content"
561 android:layout_marginTop="1dp"
562 android:layout_marginEnd="10dp"
563 android:layout_gravity="center_vertical"
564 android:contentDescription="@string/webview_theme" />
567 android:id="@+id/webview_theme_spinner"
568 android:layout_height="wrap_content"
569 android:layout_width="match_parent" />
573 android:id="@+id/webview_theme_textview"
574 android:layout_height="match_parent"
575 android:layout_width="match_parent"
576 android:layout_marginStart="45dp"
577 android:layout_marginEnd="36dp"
578 android:textSize="13sp" />
581 <!-- Wide Viewport. -->
583 android:layout_height="wrap_content"
584 android:layout_width="match_parent"
585 android:orientation="vertical"
586 android:layout_marginTop="14dp"
587 android:layout_marginBottom="14dp" >
590 android:layout_height="wrap_content"
591 android:layout_width="match_parent"
592 android:orientation="horizontal" >
595 android:id="@+id/wide_viewport_imageview"
596 android:layout_height="wrap_content"
597 android:layout_width="wrap_content"
598 android:layout_marginTop="1dp"
599 android:layout_marginEnd="10dp"
600 android:layout_gravity="center_vertical"
601 android:contentDescription="@string/wide_viewport" />
604 android:id="@+id/wide_viewport_spinner"
605 android:layout_height="wrap_content"
606 android:layout_width="match_parent" />
610 android:id="@+id/wide_viewport_textview"
611 android:layout_height="match_parent"
612 android:layout_width="match_parent"
613 android:layout_marginStart="45dp"
614 android:layout_marginEnd="36dp"
615 android:textSize="13sp" />
618 <!-- Display Images. -->
620 android:layout_height="wrap_content"
621 android:layout_width="match_parent"
622 android:orientation="vertical"
623 android:layout_marginTop="14dp"
624 android:layout_marginBottom="14dp" >
627 android:layout_height="wrap_content"
628 android:layout_width="match_parent"
629 android:orientation="horizontal" >
632 android:id="@+id/display_webpage_images_imageview"
633 android:layout_height="wrap_content"
634 android:layout_width="wrap_content"
635 android:layout_marginTop="1dp"
636 android:layout_marginEnd="10dp"
637 android:layout_gravity="center_vertical"
638 android:contentDescription="@string/display_webpage_images" />
641 android:id="@+id/display_webpage_images_spinner"
642 android:layout_height="wrap_content"
643 android:layout_width="match_parent" />
647 android:id="@+id/display_webpage_images_textview"
648 android:layout_height="match_parent"
649 android:layout_width="match_parent"
650 android:layout_marginStart="45dp"
651 android:layout_marginEnd="36dp"
652 android:textSize="13sp" />
655 <!-- Pinned SSL Certificate -->
657 android:layout_height="wrap_content"
658 android:layout_width="match_parent"
659 android:orientation="vertical"
660 android:layout_marginTop="18dp"
661 android:layout_marginBottom="18dp" >
665 android:layout_height="wrap_content"
666 android:layout_width="match_parent"
667 android:orientation="horizontal" >
670 android:id="@+id/pinned_ssl_certificate_imageview"
671 android:layout_height="wrap_content"
672 android:layout_width="wrap_content"
673 android:layout_marginTop="1dp"
674 android:layout_marginEnd="10dp"
675 android:layout_gravity="center_vertical"
676 tools:ignore="contentDescription" />
678 <androidx.appcompat.widget.SwitchCompat
679 android:id="@+id/pinned_ssl_certificate_switch"
680 android:layout_height="wrap_content"
681 android:layout_width="match_parent"
682 android:layout_marginStart="8dp"
683 android:text="@string/pinned_ssl_certificate"
684 android:textColor="?android:textColorPrimary"
685 android:textSize="18sp"
686 tools:ignore="TooManyViews" />
689 <!-- Saved Certificate -->
690 <androidx.cardview.widget.CardView
691 android:id="@+id/saved_ssl_certificate_cardview"
692 android:layout_height="wrap_content"
693 android:layout_width="match_parent"
694 android:layout_marginTop="10dp"
695 android:layout_marginStart="10dp"
696 android:layout_marginEnd="10dp" >
699 android:id="@+id/saved_ssl_certificate_linearlayout"
700 android:layout_height="wrap_content"
701 android:layout_width="match_parent"
702 android:orientation="vertical"
703 android:padding="10dp" >
706 android:id="@+id/saved_ssl_certificate_radiobutton"
707 android:layout_height="wrap_content"
708 android:layout_width="match_parent"
709 android:text="@string/saved_ssl_certificate"
710 android:textSize="17sp"
711 android:textAllCaps="true"
712 android:textStyle="bold"
713 android:textColor="?android:textColorPrimary" />
716 android:layout_height="wrap_content"
717 android:layout_width="match_parent"
718 android:layout_marginStart="32dp"
719 android:orientation="vertical" >
721 <!-- Saved Certificate Issued To. -->
723 android:layout_height="wrap_content"
724 android:layout_width="match_parent"
725 android:text="@string/issued_to"
726 android:textAllCaps="true"
727 android:textStyle="bold"
728 android:textColor="?attr/blueTitleTextColor" />
731 android:id="@+id/saved_ssl_certificate_issued_to_cname"
732 android:layout_height="wrap_content"
733 android:layout_width="match_parent" />
736 android:id="@+id/saved_ssl_certificate_issued_to_oname"
737 android:layout_height="wrap_content"
738 android:layout_width="match_parent" />
741 android:id="@+id/saved_ssl_certificate_issued_to_uname"
742 android:layout_height="wrap_content"
743 android:layout_width="match_parent"/>
745 <!-- Saved Certificate Issued By. -->
747 android:layout_height="wrap_content"
748 android:layout_width="match_parent"
749 android:layout_marginTop="15dp"
750 android:text="@string/issued_by"
751 android:textAllCaps="true"
752 android:textStyle="bold"
753 android:textColor="?attr/blueTitleTextColor"/>
756 android:id="@+id/saved_ssl_certificate_issued_by_cname"
757 android:layout_height="wrap_content"
758 android:layout_width="match_parent" />
761 android:id="@+id/saved_ssl_certificate_issued_by_oname"
762 android:layout_height="wrap_content"
763 android:layout_width="match_parent" />
766 android:id="@+id/saved_ssl_certificate_issued_by_uname"
767 android:layout_height="wrap_content"
768 android:layout_width="match_parent" />
770 <!-- Saved Certificate Valid Dates. -->
772 android:layout_height="wrap_content"
773 android:layout_width="match_parent"
774 android:layout_marginTop="15dp"
775 android:text="@string/valid_dates"
776 android:textAllCaps="true"
777 android:textStyle="bold"
778 android:textColor="?attr/blueTitleTextColor"/>
781 android:id="@+id/saved_ssl_certificate_start_date"
782 android:layout_height="wrap_content"
783 android:layout_width="match_parent" />
786 android:id="@+id/saved_ssl_certificate_end_date"
787 android:layout_height="wrap_content"
788 android:layout_width="match_parent" />
791 </androidx.cardview.widget.CardView>
793 <!-- Current Website Certificate -->
794 <androidx.cardview.widget.CardView
795 android:id="@+id/current_website_certificate_cardview"
796 android:layout_height="wrap_content"
797 android:layout_width="match_parent"
798 android:layout_margin="10dp" >
801 android:id="@+id/current_website_certificate_linearlayout"
802 android:layout_height="wrap_content"
803 android:layout_width="match_parent"
804 android:orientation="vertical"
805 android:padding="10dp" >
808 android:id="@+id/current_website_certificate_radiobutton"
809 android:layout_height="wrap_content"
810 android:layout_width="match_parent"
811 android:text="@string/current_website_ssl_certificate"
812 android:textSize="17sp"
813 android:textAllCaps="true"
814 android:textStyle="bold"
815 android:textColor="?android:textColorPrimary" />
818 android:layout_height="wrap_content"
819 android:layout_width="match_parent"
820 android:layout_marginStart="32dp"
821 android:orientation="vertical" >
823 <!-- Current Website Certificate Issued To. -->
825 android:layout_height="wrap_content"
826 android:layout_width="match_parent"
827 android:text="@string/issued_to"
828 android:textAllCaps="true"
829 android:textStyle="bold"
830 android:textColor="?attr/blueTitleTextColor" />
833 android:id="@+id/current_website_certificate_issued_to_cname"
834 android:layout_height="wrap_content"
835 android:layout_width="match_parent" />
838 android:id="@+id/current_website_certificate_issued_to_oname"
839 android:layout_height="wrap_content"
840 android:layout_width="match_parent" />
843 android:id="@+id/current_website_certificate_issued_to_uname"
844 android:layout_height="wrap_content"
845 android:layout_width="match_parent" />
847 <!-- Current Website Certificate Issued By. -->
849 android:layout_height="wrap_content"
850 android:layout_width="match_parent"
851 android:layout_marginTop="15dp"
852 android:text="@string/issued_by"
853 android:textAllCaps="true"
854 android:textStyle="bold"
855 android:textColor="?attr/blueTitleTextColor" />
858 android:id="@+id/current_website_certificate_issued_by_cname"
859 android:layout_height="wrap_content"
860 android:layout_width="match_parent" />
863 android:id="@+id/current_website_certificate_issued_by_oname"
864 android:layout_height="wrap_content"
865 android:layout_width="match_parent" />
868 android:id="@+id/current_website_certificate_issued_by_uname"
869 android:layout_height="wrap_content"
870 android:layout_width="match_parent" />
872 <!-- Current Website Certificate Valid Dates. -->
874 android:layout_height="wrap_content"
875 android:layout_width="match_parent"
876 android:layout_marginTop="15dp"
877 android:text="@string/valid_dates"
878 android:textAllCaps="true"
879 android:textStyle="bold"
880 android:textColor="?attr/blueTitleTextColor" />
883 android:id="@+id/current_website_certificate_start_date"
884 android:layout_height="wrap_content"
885 android:layout_width="match_parent" />
888 android:id="@+id/current_website_certificate_end_date"
889 android:layout_height="wrap_content"
890 android:layout_width="match_parent" />
893 </androidx.cardview.widget.CardView>
895 <!-- Load An Encrypted Website Instructions. -->
897 android:id="@+id/no_current_website_certificate"
898 android:layout_height="wrap_content"
899 android:layout_width="match_parent"
900 android:layout_marginTop="10dp"
901 android:layout_marginBottom="10dp"
902 android:layout_marginStart="40dp"
903 android:layout_marginEnd="40dp"
904 android:gravity="center_horizontal"
905 android:text="@string/load_an_encrypted_website" />
908 <!-- Pinned IP Addresses -->
910 android:layout_height="wrap_content"
911 android:layout_width="match_parent"
912 android:orientation="vertical"
913 android:layout_marginTop="18dp"
914 android:layout_marginBottom="18dp" >
918 android:layout_height="wrap_content"
919 android:layout_width="match_parent"
920 android:orientation="horizontal" >
923 android:id="@+id/pinned_ip_addresses_imageview"
924 android:layout_height="wrap_content"
925 android:layout_width="wrap_content"
926 android:layout_marginTop="1dp"
927 android:layout_marginEnd="10dp"
928 android:layout_gravity="center_vertical"
929 tools:ignore="contentDescription" />
931 <androidx.appcompat.widget.SwitchCompat
932 android:id="@+id/pinned_ip_addresses_switch"
933 android:layout_height="wrap_content"
934 android:layout_width="match_parent"
935 android:layout_marginStart="8dp"
936 android:text="@string/pinned_ip_addresses"
937 android:textColor="?android:textColorPrimary"
938 android:textSize="18sp" />
941 <!-- Saved IP Addresses -->
942 <androidx.cardview.widget.CardView
943 android:id="@+id/saved_ip_addresses_cardview"
944 android:layout_height="wrap_content"
945 android:layout_width="match_parent"
946 android:layout_marginTop="10dp"
947 android:layout_marginStart="10dp"
948 android:layout_marginEnd="10dp" >
951 android:id="@+id/saved_ip_addresses_linearlayout"
952 android:layout_height="wrap_content"
953 android:layout_width="match_parent"
954 android:orientation="vertical"
955 android:padding="10dp" >
958 android:id="@+id/saved_ip_addresses_radiobutton"
959 android:layout_height="wrap_content"
960 android:layout_width="match_parent"
961 android:text="@string/saved_ip_addresses"
962 android:textSize="17sp"
963 android:textAllCaps="true"
964 android:textStyle="bold"
965 android:textColor="?android:textColorPrimary" />
968 android:id="@+id/saved_ip_addresses_textview"
969 android:layout_height="wrap_content"
970 android:layout_width="match_parent"
971 android:layout_marginStart="32dp"
972 android:textColor="?attr/blueTextColor" />
974 </androidx.cardview.widget.CardView>
976 <androidx.cardview.widget.CardView
977 android:id="@+id/current_ip_addresses_cardview"
978 android:layout_height="wrap_content"
979 android:layout_width="match_parent"
980 android:layout_margin="10dp">
983 android:id="@+id/current_ip_addresses_linearlayout"
984 android:layout_height="wrap_content"
985 android:layout_width="match_parent"
986 android:orientation="vertical"
987 android:padding="10dp" >
990 android:id="@+id/current_ip_addresses_radiobutton"
991 android:layout_height="wrap_content"
992 android:layout_width="match_parent"
993 android:text="@string/current_ip_addresses"
994 android:textSize="17sp"
995 android:textAllCaps="true"
996 android:textStyle="bold"
997 android:textColor="?android:textColorPrimary" />
1000 android:id="@+id/current_ip_addresses_textview"
1001 android:layout_height="wrap_content"
1002 android:layout_width="match_parent"
1003 android:layout_marginStart="32dp"
1004 android:textColor="?attr/blueTextColor" />
1006 </androidx.cardview.widget.CardView>