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/>. -->
22 android:id="@+id/domain_settings_scrollview"
23 xmlns:android="http://schemas.android.com/apk/res/android"
24 xmlns:tools="http://schemas.android.com/tools"
25 android:layout_height="wrap_content"
26 android:layout_width="match_parent"
27 android:focusable="true"
28 android:focusableInTouchMode="true"
29 android:descendantFocusability="beforeDescendants" >
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 android: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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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 android: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 android: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" />
545 android:layout_height="wrap_content"
546 android:layout_width="match_parent"
547 android:orientation="vertical"
548 android:layout_marginTop="14dp"
549 android:layout_marginBottom="14dp" >
552 android:layout_height="wrap_content"
553 android:layout_width="match_parent"
554 android:orientation="horizontal" >
557 android:id="@+id/night_mode_imageview"
558 android:layout_height="wrap_content"
559 android:layout_width="wrap_content"
560 android:layout_marginTop="1dp"
561 android:layout_marginEnd="10dp"
562 android:layout_gravity="center_vertical"
563 android:contentDescription="@string/night_mode" />
566 android:id="@+id/night_mode_spinner"
567 android:layout_height="wrap_content"
568 android:layout_width="match_parent" />
572 android:id="@+id/night_mode_textview"
573 android:layout_height="match_parent"
574 android:layout_width="match_parent"
575 android:layout_marginStart="45dp"
576 android:layout_marginEnd="36dp"
577 android:textSize="13sp" />
580 <!-- Wide Viewport. -->
582 android:layout_height="wrap_content"
583 android:layout_width="match_parent"
584 android:orientation="vertical"
585 android:layout_marginTop="14dp"
586 android:layout_marginBottom="14dp" >
589 android:layout_height="wrap_content"
590 android:layout_width="match_parent"
591 android:orientation="horizontal" >
594 android:id="@+id/wide_viewport_imageview"
595 android:layout_height="wrap_content"
596 android:layout_width="wrap_content"
597 android:layout_marginTop="1dp"
598 android:layout_marginEnd="10dp"
599 android:layout_gravity="center_vertical"
600 android:contentDescription="@string/wide_viewport" />
603 android:id="@+id/wide_viewport_spinner"
604 android:layout_height="wrap_content"
605 android:layout_width="match_parent" />
609 android:id="@+id/wide_viewport_textview"
610 android:layout_height="match_parent"
611 android:layout_width="match_parent"
612 android:layout_marginStart="45dp"
613 android:layout_marginEnd="36dp"
614 android:textSize="13sp" />
617 <!-- Display Images. -->
619 android:layout_height="wrap_content"
620 android:layout_width="match_parent"
621 android:orientation="vertical"
622 android:layout_marginTop="14dp"
623 android:layout_marginBottom="14dp" >
626 android:layout_height="wrap_content"
627 android:layout_width="match_parent"
628 android:orientation="horizontal" >
631 android:id="@+id/display_webpage_images_imageview"
632 android:layout_height="wrap_content"
633 android:layout_width="wrap_content"
634 android:layout_marginTop="1dp"
635 android:layout_marginEnd="10dp"
636 android:layout_gravity="center_vertical"
637 android:contentDescription="@string/display_webpage_images" />
640 android:id="@+id/display_webpage_images_spinner"
641 android:layout_height="wrap_content"
642 android:layout_width="match_parent" />
646 android:id="@+id/display_webpage_images_textview"
647 android:layout_height="match_parent"
648 android:layout_width="match_parent"
649 android:layout_marginStart="45dp"
650 android:layout_marginEnd="36dp"
651 android:textSize="13sp" />
654 <!-- Pinned SSL Certificate -->
656 android:layout_height="wrap_content"
657 android:layout_width="match_parent"
658 android:orientation="vertical"
659 android:layout_marginTop="18dp"
660 android:layout_marginBottom="18dp" >
664 android:layout_height="wrap_content"
665 android:layout_width="match_parent"
666 android:orientation="horizontal" >
669 android:id="@+id/pinned_ssl_certificate_imageview"
670 android:layout_height="wrap_content"
671 android:layout_width="wrap_content"
672 android:layout_marginTop="1dp"
673 android:layout_marginEnd="10dp"
674 android:layout_gravity="center_vertical"
675 tools:ignore="contentDescription" />
678 android:id="@+id/pinned_ssl_certificate_switch"
679 android:layout_height="wrap_content"
680 android:layout_width="match_parent"
681 android:layout_marginStart="8dp"
682 android:text="@string/pinned_ssl_certificate"
683 android:textColor="?android:textColorPrimary"
684 android:textSize="18sp" />
687 <!-- Saved Certificate -->
688 <androidx.cardview.widget.CardView
689 android:id="@+id/saved_ssl_certificate_cardview"
690 android:layout_height="wrap_content"
691 android:layout_width="match_parent"
692 android:layout_marginTop="10dp"
693 android:layout_marginStart="10dp"
694 android:layout_marginEnd="10dp" >
697 android:id="@+id/saved_ssl_certificate_linearlayout"
698 android:layout_height="wrap_content"
699 android:layout_width="match_parent"
700 android:orientation="vertical"
701 android:padding="10dp" >
704 android:id="@+id/saved_ssl_certificate_radiobutton"
705 android:layout_height="wrap_content"
706 android:layout_width="match_parent"
707 android:text="@string/saved_ssl_certificate"
708 android:textSize="17sp"
709 android:textAllCaps="true"
710 android:textStyle="bold"
711 android:textColor="?android:textColorPrimary" />
714 android:layout_height="wrap_content"
715 android:layout_width="match_parent"
716 android:layout_marginStart="32dp"
717 android:orientation="vertical" >
719 <!-- Saved Certificate Issued To. -->
721 android:layout_height="wrap_content"
722 android:layout_width="match_parent"
723 android:text="@string/issued_to"
724 android:textAllCaps="true"
725 android:textStyle="bold"
726 android:textColor="?attr/blueTitleTextColor" />
729 android:id="@+id/saved_ssl_certificate_issued_to_cname"
730 android:layout_height="wrap_content"
731 android:layout_width="match_parent" />
734 android:id="@+id/saved_ssl_certificate_issued_to_oname"
735 android:layout_height="wrap_content"
736 android:layout_width="match_parent" />
739 android:id="@+id/saved_ssl_certificate_issued_to_uname"
740 android:layout_height="wrap_content"
741 android:layout_width="match_parent"/>
743 <!-- Saved Certificate Issued By. -->
745 android:layout_height="wrap_content"
746 android:layout_width="match_parent"
747 android:layout_marginTop="15dp"
748 android:text="@string/issued_by"
749 android:textAllCaps="true"
750 android:textStyle="bold"
751 android:textColor="?attr/blueTitleTextColor"/>
754 android:id="@+id/saved_ssl_certificate_issued_by_cname"
755 android:layout_height="wrap_content"
756 android:layout_width="match_parent" />
759 android:id="@+id/saved_ssl_certificate_issued_by_oname"
760 android:layout_height="wrap_content"
761 android:layout_width="match_parent" />
764 android:id="@+id/saved_ssl_certificate_issued_by_uname"
765 android:layout_height="wrap_content"
766 android:layout_width="match_parent" />
768 <!-- Saved Certificate Valid Dates. -->
770 android:layout_height="wrap_content"
771 android:layout_width="match_parent"
772 android:layout_marginTop="15dp"
773 android:text="@string/valid_dates"
774 android:textAllCaps="true"
775 android:textStyle="bold"
776 android:textColor="?attr/blueTitleTextColor"/>
779 android:id="@+id/saved_ssl_certificate_start_date"
780 android:layout_height="wrap_content"
781 android:layout_width="match_parent" />
784 android:id="@+id/saved_ssl_certificate_end_date"
785 android:layout_height="wrap_content"
786 android:layout_width="match_parent" />
789 </androidx.cardview.widget.CardView>
791 <!-- Current Website Certificate -->
792 <androidx.cardview.widget.CardView
793 android:id="@+id/current_website_certificate_cardview"
794 android:layout_height="wrap_content"
795 android:layout_width="match_parent"
796 android:layout_margin="10dp" >
799 android:id="@+id/current_website_certificate_linearlayout"
800 android:layout_height="wrap_content"
801 android:layout_width="match_parent"
802 android:orientation="vertical"
803 android:padding="10dp" >
806 android:id="@+id/current_website_certificate_radiobutton"
807 android:layout_height="wrap_content"
808 android:layout_width="match_parent"
809 android:text="@string/current_website_ssl_certificate"
810 android:textSize="17sp"
811 android:textAllCaps="true"
812 android:textStyle="bold"
813 android:textColor="?android:textColorPrimary" />
816 android:layout_height="wrap_content"
817 android:layout_width="match_parent"
818 android:layout_marginStart="32dp"
819 android:orientation="vertical" >
821 <!-- Current Website Certificate Issued To. -->
823 android:layout_height="wrap_content"
824 android:layout_width="match_parent"
825 android:text="@string/issued_to"
826 android:textAllCaps="true"
827 android:textStyle="bold"
828 android:textColor="?attr/blueTitleTextColor" />
831 android:id="@+id/current_website_certificate_issued_to_cname"
832 android:layout_height="wrap_content"
833 android:layout_width="match_parent" />
836 android:id="@+id/current_website_certificate_issued_to_oname"
837 android:layout_height="wrap_content"
838 android:layout_width="match_parent" />
841 android:id="@+id/current_website_certificate_issued_to_uname"
842 android:layout_height="wrap_content"
843 android:layout_width="match_parent" />
845 <!-- Current Website Certificate Issued By. -->
847 android:layout_height="wrap_content"
848 android:layout_width="match_parent"
849 android:layout_marginTop="15dp"
850 android:text="@string/issued_by"
851 android:textAllCaps="true"
852 android:textStyle="bold"
853 android:textColor="?attr/blueTitleTextColor" />
856 android:id="@+id/current_website_certificate_issued_by_cname"
857 android:layout_height="wrap_content"
858 android:layout_width="match_parent" />
861 android:id="@+id/current_website_certificate_issued_by_oname"
862 android:layout_height="wrap_content"
863 android:layout_width="match_parent" />
866 android:id="@+id/current_website_certificate_issued_by_uname"
867 android:layout_height="wrap_content"
868 android:layout_width="match_parent" />
870 <!-- Current Website Certificate Valid Dates. -->
872 android:layout_height="wrap_content"
873 android:layout_width="match_parent"
874 android:layout_marginTop="15dp"
875 android:text="@string/valid_dates"
876 android:textAllCaps="true"
877 android:textStyle="bold"
878 android:textColor="?attr/blueTitleTextColor" />
881 android:id="@+id/current_website_certificate_start_date"
882 android:layout_height="wrap_content"
883 android:layout_width="match_parent" />
886 android:id="@+id/current_website_certificate_end_date"
887 android:layout_height="wrap_content"
888 android:layout_width="match_parent" />
891 </androidx.cardview.widget.CardView>
893 <!-- Load An Encrypted Website Instructions. -->
895 android:id="@+id/no_current_website_certificate"
896 android:layout_height="wrap_content"
897 android:layout_width="match_parent"
898 android:layout_marginTop="10dp"
899 android:layout_marginBottom="10dp"
900 android:layout_marginStart="40dp"
901 android:layout_marginEnd="40dp"
902 android:gravity="center_horizontal"
903 android:text="@string/load_an_encrypted_website" />
906 <!-- Pinned IP Addresses -->
908 android:layout_height="wrap_content"
909 android:layout_width="match_parent"
910 android:orientation="vertical"
911 android:layout_marginTop="18dp"
912 android:layout_marginBottom="18dp" >
916 android:layout_height="wrap_content"
917 android:layout_width="match_parent"
918 android:orientation="horizontal" >
921 android:id="@+id/pinned_ip_addresses_imageview"
922 android:layout_height="wrap_content"
923 android:layout_width="wrap_content"
924 android:layout_marginTop="1dp"
925 android:layout_marginEnd="10dp"
926 android:layout_gravity="center_vertical"
927 tools:ignore="contentDescription" />
930 android:id="@+id/pinned_ip_addresses_switch"
931 android:layout_height="wrap_content"
932 android:layout_width="match_parent"
933 android:layout_marginStart="8dp"
934 android:text="@string/pinned_ip_addresses"
935 android:textColor="?android:textColorPrimary"
936 android:textSize="18sp" />
939 <!-- Saved IP Addresses -->
940 <androidx.cardview.widget.CardView
941 android:id="@+id/saved_ip_addresses_cardview"
942 android:layout_height="wrap_content"
943 android:layout_width="match_parent"
944 android:layout_marginTop="10dp"
945 android:layout_marginStart="10dp"
946 android:layout_marginEnd="10dp" >
949 android:id="@+id/saved_ip_addresses_linearlayout"
950 android:layout_height="wrap_content"
951 android:layout_width="match_parent"
952 android:orientation="vertical"
953 android:padding="10dp" >
956 android:id="@+id/saved_ip_addresses_radiobutton"
957 android:layout_height="wrap_content"
958 android:layout_width="match_parent"
959 android:text="@string/saved_ip_addresses"
960 android:textSize="17sp"
961 android:textAllCaps="true"
962 android:textStyle="bold"
963 android:textColor="?android:textColorPrimary" />
966 android:id="@+id/saved_ip_addresses_textview"
967 android:layout_height="wrap_content"
968 android:layout_width="match_parent"
969 android:layout_marginStart="32dp"
970 android:textColor="?attr/blueTextColor" />
972 </androidx.cardview.widget.CardView>
974 <androidx.cardview.widget.CardView
975 android:id="@+id/current_ip_addresses_cardview"
976 android:layout_height="wrap_content"
977 android:layout_width="match_parent"
978 android:layout_margin="10dp">
981 android:id="@+id/current_ip_addresses_linearlayout"
982 android:layout_height="wrap_content"
983 android:layout_width="match_parent"
984 android:orientation="vertical"
985 android:padding="10dp" >
988 android:id="@+id/current_ip_addresses_radiobutton"
989 android:layout_height="wrap_content"
990 android:layout_width="match_parent"
991 android:text="@string/current_ip_addresses"
992 android:textSize="17sp"
993 android:textAllCaps="true"
994 android:textStyle="bold"
995 android:textColor="?android:textColorPrimary" />
998 android:id="@+id/current_ip_addresses_textview"
999 android:layout_height="wrap_content"
1000 android:layout_width="match_parent"
1001 android:layout_marginStart="32dp"
1002 android:textColor="?attr/blueTextColor" />
1004 </androidx.cardview.widget.CardView>