1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2017-2019 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"
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 tools:ignore="contentDescription" />
155 android:id="@+id/third_party_cookies_switch"
156 android:layout_height="wrap_content"
157 android:layout_width="match_parent"
158 android:layout_marginStart="8dp"
159 android:layout_marginTop="14dp"
160 android:layout_marginBottom="14dp"
161 android:text="@string/third_party_cookies_enabled"
162 android:textColor="?android:textColorPrimary"
163 android:textSize="18sp" />
166 <!-- DOM Storage. -->
168 android:layout_height="wrap_content"
169 android:layout_width="match_parent"
170 android:orientation="horizontal" >
173 android:id="@+id/dom_storage_imageview"
174 android:layout_height="wrap_content"
175 android:layout_width="wrap_content"
176 android:layout_marginTop="1dp"
177 android:layout_marginEnd="10dp"
178 android:layout_gravity="center_vertical"
179 tools:ignore="contentDescription" />
182 android:id="@+id/dom_storage_switch"
183 android:layout_height="wrap_content"
184 android:layout_width="match_parent"
185 android:layout_marginStart="8dp"
186 android:layout_marginTop="14dp"
187 android:layout_marginBottom="14dp"
188 android:text="@string/dom_storage_enabled"
189 android:textColor="?android:textColorPrimary"
190 android:textSize="18sp" />
195 android:layout_height="wrap_content"
196 android:layout_width="match_parent"
197 android:orientation="horizontal" >
200 android:id="@+id/form_data_imageview"
201 android:layout_height="wrap_content"
202 android:layout_width="wrap_content"
203 android:layout_marginTop="1dp"
204 android:layout_marginEnd="10dp"
205 android:layout_gravity="center_vertical"
206 tools:ignore="contentDescription" />
209 android:id="@+id/form_data_switch"
210 android:layout_height="wrap_content"
211 android:layout_width="match_parent"
212 android:layout_marginStart="8dp"
213 android:layout_marginTop="14dp"
214 android:layout_marginBottom="14dp"
215 android:text="@string/form_data_enabled"
216 android:textColor="?android:textColorPrimary"
217 android:textSize="18sp" />
222 android:layout_height="wrap_content"
223 android:layout_width="match_parent"
224 android:orientation="horizontal" >
227 android:id="@+id/easylist_imageview"
228 android:layout_height="wrap_content"
229 android:layout_width="wrap_content"
230 android:layout_marginTop="1dp"
231 android:layout_marginEnd="10dp"
232 android:layout_gravity="center_vertical"
233 tools:ignore="contentDescription" />
236 android:id="@+id/easylist_switch"
237 android:layout_height="wrap_content"
238 android:layout_width="match_parent"
239 android:layout_marginStart="8dp"
240 android:layout_marginTop="14dp"
241 android:layout_marginBottom="14dp"
242 android:text="@string/easylist"
243 android:textColor="?android:textColorPrimary"
244 android:textSize="18sp" />
247 <!-- EasyPrivacy. -->
249 android:layout_height="wrap_content"
250 android:layout_width="match_parent"
251 android:orientation="horizontal" >
254 android:id="@+id/easyprivacy_imageview"
255 android:layout_height="wrap_content"
256 android:layout_width="wrap_content"
257 android:layout_marginTop="1dp"
258 android:layout_marginEnd="10dp"
259 android:layout_gravity="center_vertical"
260 tools:ignore="contentDescription" />
263 android:id="@+id/easyprivacy_switch"
264 android:layout_height="wrap_content"
265 android:layout_width="match_parent"
266 android:layout_marginStart="8dp"
267 android:layout_marginTop="14dp"
268 android:layout_marginBottom="14dp"
269 android:text="@string/easyprivacy"
270 android:textColor="?android:textColorPrimary"
271 android:textSize="18sp" />
274 <!-- Fanboy's Annoyance List. -->
276 android:layout_height="wrap_content"
277 android:layout_width="match_parent"
278 android:orientation="horizontal" >
281 android:id="@+id/fanboys_annoyance_list_imageview"
282 android:layout_height="wrap_content"
283 android:layout_width="wrap_content"
284 android:layout_marginTop="1dp"
285 android:layout_marginEnd="10dp"
286 android:layout_gravity="center_vertical"
287 tools:ignore="contentDescription" />
290 android:id="@+id/fanboys_annoyance_list_switch"
291 android:layout_height="wrap_content"
292 android:layout_width="match_parent"
293 android:layout_marginStart="8dp"
294 android:layout_marginTop="14dp"
295 android:layout_marginBottom="14dp"
296 android:text="@string/fanboys_annoyance_list"
297 android:textColor="?android:textColorPrimary"
298 android:textSize="18sp" />
301 <!-- Fanboy's Social Blocking List. -->
303 android:layout_height="wrap_content"
304 android:layout_width="match_parent"
305 android:orientation="horizontal" >
308 android:id="@+id/fanboys_social_blocking_list_imageview"
309 android:layout_height="wrap_content"
310 android:layout_width="wrap_content"
311 android:layout_marginTop="1dp"
312 android:layout_marginEnd="10dp"
313 android:layout_gravity="center_vertical"
314 tools:ignore="contentDescription" />
317 android:id="@+id/fanboys_social_blocking_list_switch"
318 android:layout_height="wrap_content"
319 android:layout_width="match_parent"
320 android:layout_marginStart="8dp"
321 android:layout_marginTop="14dp"
322 android:layout_marginBottom="14dp"
323 android:text="@string/fanboys_social_blocking_list"
324 android:textColor="?android:textColorPrimary"
325 android:textSize="18sp" />
328 <!-- UltraPrivacy. -->
330 android:layout_height="wrap_content"
331 android:layout_width="match_parent"
332 android:orientation="horizontal" >
335 android:id="@+id/ultraprivacy_imageview"
336 android:layout_height="wrap_content"
337 android:layout_width="wrap_content"
338 android:layout_marginTop="1dp"
339 android:layout_marginEnd="10dp"
340 android:layout_gravity="center_vertical"
341 tools:ignore="contentDescription" />
344 android:id="@+id/ultraprivacy_switch"
345 android:layout_height="wrap_content"
346 android:layout_width="match_parent"
347 android:layout_marginStart="8dp"
348 android:layout_marginTop="14dp"
349 android:layout_marginBottom="14dp"
350 android:text="@string/ultraprivacy"
351 android:textColor="?android:textColorPrimary"
352 android:textSize="18sp" />
355 <!-- Block All Third Party Requests. -->
357 android:layout_height="wrap_content"
358 android:layout_width="match_parent"
359 android:orientation="horizontal" >
362 android:id="@+id/block_all_third_party_requests_imageview"
363 android:layout_height="wrap_content"
364 android:layout_width="wrap_content"
365 android:layout_marginTop="1dp"
366 android:layout_marginEnd="10dp"
367 android:layout_gravity="center_vertical"
368 tools:ignore="contentDescription" />
371 android:id="@+id/block_all_third_party_requests_switch"
372 android:layout_height="wrap_content"
373 android:layout_width="match_parent"
374 android:layout_marginStart="8dp"
375 android:layout_marginTop="14dp"
376 android:layout_marginBottom="14dp"
377 android:text="@string/block_all_third_party_requests"
378 android:textColor="?android:textColorPrimary"
379 android:textSize="18sp" />
384 android:layout_height="wrap_content"
385 android:layout_width="match_parent"
386 android:orientation="vertical"
387 android:layout_marginTop="14dp"
388 android:layout_marginBottom="14dp" >
391 android:layout_height="wrap_content"
392 android:layout_width="match_parent"
393 android:orientation="horizontal" >
396 android:layout_height="wrap_content"
397 android:layout_width="wrap_content"
398 android:layout_marginTop="1dp"
399 android:layout_marginEnd="10dp"
400 android:layout_gravity="center_vertical"
401 android:src="@drawable/user_agent_light"
402 android:tint="?attr/domainSettingsIconTintColor"
403 android:contentDescription="@string/user_agent" />
406 android:id="@+id/user_agent_spinner"
407 android:layout_height="wrap_content"
408 android:layout_width="match_parent" />
412 android:id="@+id/user_agent_textview"
413 android:layout_height="match_parent"
414 android:layout_width="match_parent"
415 android:layout_marginStart="45dp"
416 android:layout_marginEnd="36dp"
417 android:textSize="13sp" />
420 android:id="@+id/custom_user_agent_edittext"
421 android:layout_height="wrap_content"
422 android:layout_width="match_parent"
423 android:layout_marginStart="40dp"
424 android:layout_marginEnd="60dp"
425 android:inputType="textUri"
426 android:hint="@string/custom_user_agent"
427 android:importantForAutofill="no"
428 tools:targetApi="26" />
433 android:layout_height="wrap_content"
434 android:layout_width="match_parent"
435 android:orientation="vertical"
436 android:layout_marginTop="14dp"
437 android:layout_marginBottom="14dp" >
440 android:layout_height="wrap_content"
441 android:layout_width="match_parent"
442 android:orientation="horizontal" >
445 android:layout_height="wrap_content"
446 android:layout_width="wrap_content"
447 android:layout_marginTop="1dp"
448 android:layout_marginEnd="10dp"
449 android:layout_gravity="center_vertical"
450 android:src="@drawable/font_size_light"
451 android:tint="?attr/domainSettingsIconTintColor"
452 android:contentDescription="@string/font_size" />
455 android:id="@+id/font_size_spinner"
456 android:layout_height="wrap_content"
457 android:layout_width="match_parent" />
461 android:id="@+id/font_size_textview"
462 android:layout_height="match_parent"
463 android:layout_width="match_parent"
464 android:layout_marginStart="45dp"
465 android:layout_marginEnd="36dp"
466 android:textSize="13sp" />
470 <!-- Swipe to Refresh. -->
472 android:layout_height="wrap_content"
473 android:layout_width="match_parent"
474 android:orientation="vertical"
475 android:layout_marginTop="14dp"
476 android:layout_marginBottom="14dp" >
479 android:layout_height="wrap_content"
480 android:layout_width="match_parent"
481 android:orientation="horizontal" >
484 android:id="@+id/swipe_to_refresh_imageview"
485 android:layout_height="wrap_content"
486 android:layout_width="wrap_content"
487 android:layout_marginTop="1dp"
488 android:layout_marginEnd="10dp"
489 android:layout_gravity="center_vertical"
490 android:contentDescription="@string/swipe_to_refresh" />
493 android:id="@+id/swipe_to_refresh_spinner"
494 android:layout_height="wrap_content"
495 android:layout_width="match_parent" />
499 android:id="@+id/swipe_to_refresh_textview"
500 android:layout_height="match_parent"
501 android:layout_width="match_parent"
502 android:layout_marginStart="45dp"
503 android:layout_marginEnd="36dp"
504 android:textSize="13sp" />
509 android:layout_height="wrap_content"
510 android:layout_width="match_parent"
511 android:orientation="vertical"
512 android:layout_marginTop="14dp"
513 android:layout_marginBottom="14dp" >
516 android:layout_height="wrap_content"
517 android:layout_width="match_parent"
518 android:orientation="horizontal" >
521 android:id="@+id/night_mode_imageview"
522 android:layout_height="wrap_content"
523 android:layout_width="wrap_content"
524 android:layout_marginTop="1dp"
525 android:layout_marginEnd="10dp"
526 android:layout_gravity="center_vertical"
527 android:contentDescription="@string/night_mode" />
530 android:id="@+id/night_mode_spinner"
531 android:layout_height="wrap_content"
532 android:layout_width="match_parent" />
536 android:id="@+id/night_mode_textview"
537 android:layout_height="match_parent"
538 android:layout_width="match_parent"
539 android:layout_marginStart="45dp"
540 android:layout_marginEnd="36dp"
541 android:textSize="13sp" />
544 <!-- Wide Viewport. -->
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/wide_viewport_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/wide_viewport" />
567 android:id="@+id/wide_viewport_spinner"
568 android:layout_height="wrap_content"
569 android:layout_width="match_parent" />
573 android:id="@+id/wide_viewport_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 <!-- Display Images. -->
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/display_webpage_images_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/display_webpage_images" />
604 android:id="@+id/display_webpage_images_spinner"
605 android:layout_height="wrap_content"
606 android:layout_width="match_parent" />
610 android:id="@+id/display_webpage_images_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 <!-- Pinned SSL Certificate -->
620 android:layout_height="wrap_content"
621 android:layout_width="match_parent"
622 android:orientation="vertical"
623 android:layout_marginTop="18dp"
624 android:layout_marginBottom="18dp" >
628 android:layout_height="wrap_content"
629 android:layout_width="match_parent"
630 android:orientation="horizontal" >
633 android:id="@+id/pinned_ssl_certificate_imageview"
634 android:layout_height="wrap_content"
635 android:layout_width="wrap_content"
636 android:layout_marginTop="1dp"
637 android:layout_marginEnd="10dp"
638 android:layout_gravity="center_vertical"
639 tools:ignore="contentDescription" />
642 android:id="@+id/pinned_ssl_certificate_switch"
643 android:layout_height="wrap_content"
644 android:layout_width="match_parent"
645 android:layout_marginStart="8dp"
646 android:text="@string/pinned_ssl_certificate"
647 android:textColor="?android:textColorPrimary"
648 android:textSize="18sp" />
651 <!-- Saved Certificate -->
652 <androidx.cardview.widget.CardView
653 android:id="@+id/saved_ssl_certificate_cardview"
654 android:layout_height="wrap_content"
655 android:layout_width="match_parent"
656 android:layout_marginTop="10dp"
657 android:layout_marginStart="10dp"
658 android:layout_marginEnd="10dp" >
661 android:id="@+id/saved_ssl_certificate_linearlayout"
662 android:layout_height="wrap_content"
663 android:layout_width="match_parent"
664 android:orientation="vertical"
665 android:padding="10dp" >
668 android:id="@+id/saved_ssl_certificate_radiobutton"
669 android:layout_height="wrap_content"
670 android:layout_width="match_parent"
671 android:text="@string/saved_ssl_certificate"
672 android:textSize="17sp"
673 android:textAllCaps="true"
674 android:textStyle="bold"
675 android:textColor="?android:textColorPrimary" />
678 android:layout_height="wrap_content"
679 android:layout_width="match_parent"
680 android:layout_marginStart="32dp"
681 android:orientation="vertical" >
683 <!-- Saved Certificate Issued To. -->
685 android:layout_height="wrap_content"
686 android:layout_width="match_parent"
687 android:text="@string/issued_to"
688 android:textAllCaps="true"
689 android:textStyle="bold"
690 android:textColor="?attr/sslTitle" />
693 android:id="@+id/saved_ssl_certificate_issued_to_cname"
694 android:layout_height="wrap_content"
695 android:layout_width="match_parent" />
698 android:id="@+id/saved_ssl_certificate_issued_to_oname"
699 android:layout_height="wrap_content"
700 android:layout_width="match_parent" />
703 android:id="@+id/saved_ssl_certificate_issued_to_uname"
704 android:layout_height="wrap_content"
705 android:layout_width="match_parent"/>
707 <!-- Saved Certificate Issued By. -->
709 android:layout_height="wrap_content"
710 android:layout_width="match_parent"
711 android:layout_marginTop="15dp"
712 android:text="@string/issued_by"
713 android:textAllCaps="true"
714 android:textStyle="bold"
715 android:textColor="?attr/sslTitle"/>
718 android:id="@+id/saved_ssl_certificate_issued_by_cname"
719 android:layout_height="wrap_content"
720 android:layout_width="match_parent" />
723 android:id="@+id/saved_ssl_certificate_issued_by_oname"
724 android:layout_height="wrap_content"
725 android:layout_width="match_parent" />
728 android:id="@+id/saved_ssl_certificate_issued_by_uname"
729 android:layout_height="wrap_content"
730 android:layout_width="match_parent" />
732 <!-- Saved Certificate Valid Dates. -->
734 android:layout_height="wrap_content"
735 android:layout_width="match_parent"
736 android:layout_marginTop="15dp"
737 android:text="@string/valid_dates"
738 android:textAllCaps="true"
739 android:textStyle="bold"
740 android:textColor="?attr/sslTitle"/>
743 android:id="@+id/saved_ssl_certificate_start_date"
744 android:layout_height="wrap_content"
745 android:layout_width="match_parent" />
748 android:id="@+id/saved_ssl_certificate_end_date"
749 android:layout_height="wrap_content"
750 android:layout_width="match_parent" />
753 </androidx.cardview.widget.CardView>
755 <!-- Current Website Certificate -->
756 <androidx.cardview.widget.CardView
757 android:id="@+id/current_website_certificate_cardview"
758 android:layout_height="wrap_content"
759 android:layout_width="match_parent"
760 android:layout_margin="10dp" >
763 android:id="@+id/current_website_certificate_linearlayout"
764 android:layout_height="wrap_content"
765 android:layout_width="match_parent"
766 android:orientation="vertical"
767 android:padding="10dp" >
770 android:id="@+id/current_website_certificate_radiobutton"
771 android:layout_height="wrap_content"
772 android:layout_width="match_parent"
773 android:text="@string/current_website_ssl_certificate"
774 android:textSize="17sp"
775 android:textAllCaps="true"
776 android:textStyle="bold"
777 android:textColor="?android:textColorPrimary" />
780 android:layout_height="wrap_content"
781 android:layout_width="match_parent"
782 android:layout_marginStart="32dp"
783 android:orientation="vertical" >
785 <!-- Current Website Certificate Issued To. -->
787 android:layout_height="wrap_content"
788 android:layout_width="match_parent"
789 android:text="@string/issued_to"
790 android:textAllCaps="true"
791 android:textStyle="bold"
792 android:textColor="?attr/sslTitle" />
795 android:id="@+id/current_website_certificate_issued_to_cname"
796 android:layout_height="wrap_content"
797 android:layout_width="match_parent" />
800 android:id="@+id/current_website_certificate_issued_to_oname"
801 android:layout_height="wrap_content"
802 android:layout_width="match_parent" />
805 android:id="@+id/current_website_certificate_issued_to_uname"
806 android:layout_height="wrap_content"
807 android:layout_width="match_parent" />
809 <!-- Current Website Certificate Issued By. -->
811 android:layout_height="wrap_content"
812 android:layout_width="match_parent"
813 android:layout_marginTop="15dp"
814 android:text="@string/issued_by"
815 android:textAllCaps="true"
816 android:textStyle="bold"
817 android:textColor="?attr/sslTitle" />
820 android:id="@+id/current_website_certificate_issued_by_cname"
821 android:layout_height="wrap_content"
822 android:layout_width="match_parent" />
825 android:id="@+id/current_website_certificate_issued_by_oname"
826 android:layout_height="wrap_content"
827 android:layout_width="match_parent" />
830 android:id="@+id/current_website_certificate_issued_by_uname"
831 android:layout_height="wrap_content"
832 android:layout_width="match_parent" />
834 <!-- Current Website Certificate Valid Dates. -->
836 android:layout_height="wrap_content"
837 android:layout_width="match_parent"
838 android:layout_marginTop="15dp"
839 android:text="@string/valid_dates"
840 android:textAllCaps="true"
841 android:textStyle="bold"
842 android:textColor="?attr/sslTitle" />
845 android:id="@+id/current_website_certificate_start_date"
846 android:layout_height="wrap_content"
847 android:layout_width="match_parent" />
850 android:id="@+id/current_website_certificate_end_date"
851 android:layout_height="wrap_content"
852 android:layout_width="match_parent" />
855 </androidx.cardview.widget.CardView>
857 <!-- Load An Encrypted Website Instructions. -->
859 android:id="@+id/no_current_website_certificate"
860 android:layout_height="wrap_content"
861 android:layout_width="match_parent"
862 android:layout_marginTop="10dp"
863 android:layout_marginBottom="10dp"
864 android:layout_marginStart="40dp"
865 android:layout_marginEnd="40dp"
866 android:gravity="center_horizontal"
867 android:text="@string/load_an_encrypted_website" />
870 <!-- Pinned IP Addresses -->
872 android:layout_height="wrap_content"
873 android:layout_width="match_parent"
874 android:orientation="vertical"
875 android:layout_marginTop="18dp"
876 android:layout_marginBottom="18dp" >
880 android:layout_height="wrap_content"
881 android:layout_width="match_parent"
882 android:orientation="horizontal" >
885 android:id="@+id/pinned_ip_addresses_imageview"
886 android:layout_height="wrap_content"
887 android:layout_width="wrap_content"
888 android:layout_marginTop="1dp"
889 android:layout_marginEnd="10dp"
890 android:layout_gravity="center_vertical"
891 tools:ignore="contentDescription" />
894 android:id="@+id/pinned_ip_addresses_switch"
895 android:layout_height="wrap_content"
896 android:layout_width="match_parent"
897 android:layout_marginStart="8dp"
898 android:text="@string/pinned_ip_addresses"
899 android:textColor="?android:textColorPrimary"
900 android:textSize="18sp" />
903 <!-- Saved IP Addresses -->
904 <androidx.cardview.widget.CardView
905 android:id="@+id/saved_ip_addresses_cardview"
906 android:layout_height="wrap_content"
907 android:layout_width="match_parent"
908 android:layout_marginTop="10dp"
909 android:layout_marginStart="10dp"
910 android:layout_marginEnd="10dp" >
913 android:id="@+id/saved_ip_addresses_linearlayout"
914 android:layout_height="wrap_content"
915 android:layout_width="match_parent"
916 android:orientation="vertical"
917 android:padding="10dp" >
920 android:id="@+id/saved_ip_addresses_radiobutton"
921 android:layout_height="wrap_content"
922 android:layout_width="match_parent"
923 android:text="@string/saved_ip_addresses"
924 android:textSize="17sp"
925 android:textAllCaps="true"
926 android:textStyle="bold"
927 android:textColor="?android:textColorPrimary" />
930 android:id="@+id/saved_ip_addresses_textview"
931 android:layout_height="wrap_content"
932 android:layout_width="match_parent"
933 android:layout_marginStart="32dp"
934 android:textColor="?attr/aboutText" />
936 </androidx.cardview.widget.CardView>
938 <androidx.cardview.widget.CardView
939 android:id="@+id/current_ip_addresses_cardview"
940 android:layout_height="wrap_content"
941 android:layout_width="match_parent"
942 android:layout_margin="10dp">
945 android:id="@+id/current_ip_addresses_linearlayout"
946 android:layout_height="wrap_content"
947 android:layout_width="match_parent"
948 android:orientation="vertical"
949 android:padding="10dp" >
952 android:id="@+id/current_ip_addresses_radiobutton"
953 android:layout_height="wrap_content"
954 android:layout_width="match_parent"
955 android:text="@string/current_ip_addresses"
956 android:textSize="17sp"
957 android:textAllCaps="true"
958 android:textStyle="bold"
959 android:textColor="?android:textColorPrimary" />
962 android:id="@+id/current_ip_addresses_textview"
963 android:layout_height="wrap_content"
964 android:layout_width="match_parent"
965 android:layout_marginStart="32dp"
966 android:textColor="?attr/aboutText" />
968 </androidx.cardview.widget.CardView>