1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2017-2022 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
8 Privacy Browser Android 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 Android 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 Android. 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"
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"
107 android:textColor="?android:textColorPrimary"
108 android:textSize="18sp" />
113 android:layout_height="wrap_content"
114 android:layout_width="match_parent"
115 android:orientation="horizontal" >
118 android:id="@+id/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/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/cookies"
134 android:textColor="?android:textColorPrimary"
135 android:textSize="18sp" />
138 <!-- DOM Storage. -->
140 android:layout_height="wrap_content"
141 android:layout_width="match_parent"
142 android:orientation="horizontal" >
145 android:id="@+id/dom_storage_imageview"
146 android:layout_height="wrap_content"
147 android:layout_width="wrap_content"
148 android:layout_marginTop="1dp"
149 android:layout_marginEnd="10dp"
150 android:layout_gravity="center_vertical"
151 tools:ignore="contentDescription" />
153 <androidx.appcompat.widget.SwitchCompat
154 android:id="@+id/dom_storage_switch"
155 android:layout_height="wrap_content"
156 android:layout_width="match_parent"
157 android:layout_marginStart="8dp"
158 android:layout_marginTop="14dp"
159 android:layout_marginBottom="14dp"
160 android:text="@string/dom_storage_preference"
161 android:textColor="?android:textColorPrimary"
162 android:textSize="18sp" />
167 android:layout_height="wrap_content"
168 android:layout_width="match_parent"
169 android:orientation="horizontal" >
172 android:id="@+id/form_data_imageview"
173 android:layout_height="wrap_content"
174 android:layout_width="wrap_content"
175 android:layout_marginTop="1dp"
176 android:layout_marginEnd="10dp"
177 android:layout_gravity="center_vertical"
178 tools:ignore="contentDescription" />
180 <androidx.appcompat.widget.SwitchCompat
181 android:id="@+id/form_data_switch"
182 android:layout_height="wrap_content"
183 android:layout_width="match_parent"
184 android:layout_marginStart="8dp"
185 android:layout_marginTop="14dp"
186 android:layout_marginBottom="14dp"
187 android:text="@string/form_data"
188 android:textColor="?android:textColorPrimary"
189 android:textSize="18sp" />
194 android:layout_height="wrap_content"
195 android:layout_width="match_parent"
196 android:orientation="horizontal" >
199 android:id="@+id/easylist_imageview"
200 android:layout_height="wrap_content"
201 android:layout_width="wrap_content"
202 android:layout_marginTop="1dp"
203 android:layout_marginEnd="10dp"
204 android:layout_gravity="center_vertical"
205 tools:ignore="contentDescription" />
207 <androidx.appcompat.widget.SwitchCompat
208 android:id="@+id/easylist_switch"
209 android:layout_height="wrap_content"
210 android:layout_width="match_parent"
211 android:layout_marginStart="8dp"
212 android:layout_marginTop="14dp"
213 android:layout_marginBottom="14dp"
214 android:text="@string/easylist"
215 android:textColor="?android:textColorPrimary"
216 android:textSize="18sp" />
219 <!-- EasyPrivacy. -->
221 android:layout_height="wrap_content"
222 android:layout_width="match_parent"
223 android:orientation="horizontal" >
226 android:id="@+id/easyprivacy_imageview"
227 android:layout_height="wrap_content"
228 android:layout_width="wrap_content"
229 android:layout_marginTop="1dp"
230 android:layout_marginEnd="10dp"
231 android:layout_gravity="center_vertical"
232 tools:ignore="contentDescription" />
234 <androidx.appcompat.widget.SwitchCompat
235 android:id="@+id/easyprivacy_switch"
236 android:layout_height="wrap_content"
237 android:layout_width="match_parent"
238 android:layout_marginStart="8dp"
239 android:layout_marginTop="14dp"
240 android:layout_marginBottom="14dp"
241 android:text="@string/easyprivacy"
242 android:textColor="?android:textColorPrimary"
243 android:textSize="18sp" />
246 <!-- Fanboy's Annoyance List. -->
248 android:layout_height="wrap_content"
249 android:layout_width="match_parent"
250 android:orientation="horizontal" >
253 android:id="@+id/fanboys_annoyance_list_imageview"
254 android:layout_height="wrap_content"
255 android:layout_width="wrap_content"
256 android:layout_marginTop="1dp"
257 android:layout_marginEnd="10dp"
258 android:layout_gravity="center_vertical"
259 tools:ignore="contentDescription" />
261 <androidx.appcompat.widget.SwitchCompat
262 android:id="@+id/fanboys_annoyance_list_switch"
263 android:layout_height="wrap_content"
264 android:layout_width="match_parent"
265 android:layout_marginStart="8dp"
266 android:layout_marginTop="14dp"
267 android:layout_marginBottom="14dp"
268 android:text="@string/fanboys_annoyance_list"
269 android:textColor="?android:textColorPrimary"
270 android:textSize="18sp" />
273 <!-- Fanboy's Social Blocking List. -->
275 android:layout_height="wrap_content"
276 android:layout_width="match_parent"
277 android:orientation="horizontal" >
280 android:id="@+id/fanboys_social_blocking_list_imageview"
281 android:layout_height="wrap_content"
282 android:layout_width="wrap_content"
283 android:layout_marginTop="1dp"
284 android:layout_marginEnd="10dp"
285 android:layout_gravity="center_vertical"
286 tools:ignore="contentDescription" />
288 <androidx.appcompat.widget.SwitchCompat
289 android:id="@+id/fanboys_social_blocking_list_switch"
290 android:layout_height="wrap_content"
291 android:layout_width="match_parent"
292 android:layout_marginStart="8dp"
293 android:layout_marginTop="14dp"
294 android:layout_marginBottom="14dp"
295 android:text="@string/fanboys_social_blocking_list"
296 android:textColor="?android:textColorPrimary"
297 android:textSize="18sp" />
302 android:layout_height="wrap_content"
303 android:layout_width="match_parent"
304 android:orientation="horizontal" >
307 android:id="@+id/ultralist_imageview"
308 android:layout_height="wrap_content"
309 android:layout_width="wrap_content"
310 android:layout_marginTop="1dp"
311 android:layout_marginEnd="10dp"
312 android:layout_gravity="center_vertical"
313 tools:ignore="contentDescription" />
315 <androidx.appcompat.widget.SwitchCompat
316 android:id="@+id/ultralist_switch"
317 android:layout_height="wrap_content"
318 android:layout_width="match_parent"
319 android:layout_marginStart="8dp"
320 android:layout_marginTop="14dp"
321 android:layout_marginBottom="14dp"
322 android:text="@string/ultralist"
323 android:textColor="?android:textColorPrimary"
324 android:textSize="18sp" />
327 <!-- UltraPrivacy. -->
329 android:layout_height="wrap_content"
330 android:layout_width="match_parent"
331 android:orientation="horizontal" >
334 android:id="@+id/ultraprivacy_imageview"
335 android:layout_height="wrap_content"
336 android:layout_width="wrap_content"
337 android:layout_marginTop="1dp"
338 android:layout_marginEnd="10dp"
339 android:layout_gravity="center_vertical"
340 tools:ignore="contentDescription" />
342 <androidx.appcompat.widget.SwitchCompat
343 android:id="@+id/ultraprivacy_switch"
344 android:layout_height="wrap_content"
345 android:layout_width="match_parent"
346 android:layout_marginStart="8dp"
347 android:layout_marginTop="14dp"
348 android:layout_marginBottom="14dp"
349 android:text="@string/ultraprivacy"
350 android:textColor="?android:textColorPrimary"
351 android:textSize="18sp" />
354 <!-- Block All Third Party Requests. -->
356 android:layout_height="wrap_content"
357 android:layout_width="match_parent"
358 android:orientation="horizontal" >
361 android:id="@+id/block_all_third_party_requests_imageview"
362 android:layout_height="wrap_content"
363 android:layout_width="wrap_content"
364 android:layout_marginTop="1dp"
365 android:layout_marginEnd="10dp"
366 android:layout_gravity="center_vertical"
367 tools:ignore="contentDescription" />
369 <androidx.appcompat.widget.SwitchCompat
370 android:id="@+id/block_all_third_party_requests_switch"
371 android:layout_height="wrap_content"
372 android:layout_width="match_parent"
373 android:layout_marginStart="8dp"
374 android:layout_marginTop="14dp"
375 android:layout_marginBottom="14dp"
376 android:text="@string/block_all_third_party_requests"
377 android:textColor="?android:textColorPrimary"
378 android:textSize="18sp" />
383 android:layout_height="wrap_content"
384 android:layout_width="match_parent"
385 android:orientation="vertical"
386 android:layout_marginTop="14dp"
387 android:layout_marginBottom="14dp" >
390 android:layout_height="wrap_content"
391 android:layout_width="match_parent"
392 android:orientation="horizontal" >
395 android:layout_height="wrap_content"
396 android:layout_width="wrap_content"
397 android:layout_marginTop="1dp"
398 android:layout_marginEnd="10dp"
399 android:layout_gravity="center_vertical"
400 android:src="@drawable/user_agent"
401 app:tint="?attr/domainSettingsIconTintColor"
402 android:contentDescription="@string/user_agent" />
405 android:id="@+id/user_agent_spinner"
406 android:layout_height="wrap_content"
407 android:layout_width="match_parent" />
411 android:id="@+id/user_agent_textview"
412 android:layout_height="match_parent"
413 android:layout_width="match_parent"
414 android:layout_marginStart="45dp"
415 android:layout_marginEnd="36dp"
416 android:textSize="13sp" />
419 android:id="@+id/custom_user_agent_edittext"
420 android:layout_height="wrap_content"
421 android:layout_width="match_parent"
422 android:layout_marginStart="40dp"
423 android:layout_marginEnd="60dp"
424 android:inputType="textUri"
425 android:hint="@string/custom_user_agent"
426 android:importantForAutofill="no" />
431 android:layout_height="wrap_content"
432 android:layout_width="match_parent"
433 android:orientation="vertical"
434 android:layout_marginTop="14dp"
435 android:layout_marginBottom="14dp" >
438 android:layout_height="wrap_content"
439 android:layout_width="match_parent"
440 android:orientation="horizontal" >
443 android:layout_height="wrap_content"
444 android:layout_width="wrap_content"
445 android:layout_marginTop="1dp"
446 android:layout_marginEnd="10dp"
447 android:layout_gravity="center_vertical"
448 android:src="@drawable/font_size"
449 app:tint="?attr/domainSettingsIconTintColor"
450 android:contentDescription="@string/font_size" />
453 android:id="@+id/font_size_spinner"
454 android:layout_height="wrap_content"
455 android:layout_width="match_parent" />
459 android:id="@+id/default_font_size_textview"
460 android:layout_height="match_parent"
461 android:layout_width="match_parent"
462 android:layout_marginStart="45dp"
463 android:layout_marginEnd="36dp"
464 android:textSize="13sp" />
467 android:id="@+id/custom_font_size_edittext"
468 android:layout_height="wrap_content"
469 android:layout_width="match_parent"
470 android:layout_marginStart="40dp"
471 android:layout_marginEnd="60dp"
472 android:inputType="number"
473 android:hint="@string/font_size"
474 android:importantForAutofill="no" />
477 <!-- Swipe to Refresh. -->
479 android:layout_height="wrap_content"
480 android:layout_width="match_parent"
481 android:orientation="vertical"
482 android:layout_marginTop="14dp"
483 android:layout_marginBottom="14dp" >
486 android:layout_height="wrap_content"
487 android:layout_width="match_parent"
488 android:orientation="horizontal" >
491 android:id="@+id/swipe_to_refresh_imageview"
492 android:layout_height="wrap_content"
493 android:layout_width="wrap_content"
494 android:layout_marginTop="1dp"
495 android:layout_marginEnd="10dp"
496 android:layout_gravity="center_vertical"
497 android:contentDescription="@string/swipe_to_refresh" />
500 android:id="@+id/swipe_to_refresh_spinner"
501 android:layout_height="wrap_content"
502 android:layout_width="match_parent" />
506 android:id="@+id/swipe_to_refresh_textview"
507 android:layout_height="match_parent"
508 android:layout_width="match_parent"
509 android:layout_marginStart="45dp"
510 android:layout_marginEnd="36dp"
511 android:textSize="13sp" />
514 <!-- WebView Theme. -->
516 android:id="@+id/webview_theme_linearlayout"
517 android:layout_height="wrap_content"
518 android:layout_width="match_parent"
519 android:orientation="vertical"
520 android:layout_marginTop="14dp"
521 android:layout_marginBottom="14dp" >
524 android:layout_height="wrap_content"
525 android:layout_width="match_parent"
526 android:orientation="horizontal" >
529 android:id="@+id/webview_theme_imageview"
530 android:layout_height="wrap_content"
531 android:layout_width="wrap_content"
532 android:layout_marginTop="1dp"
533 android:layout_marginEnd="10dp"
534 android:layout_gravity="center_vertical"
535 android:contentDescription="@string/webview_theme" />
538 android:id="@+id/webview_theme_spinner"
539 android:layout_height="wrap_content"
540 android:layout_width="match_parent" />
544 android:id="@+id/webview_theme_textview"
545 android:layout_height="match_parent"
546 android:layout_width="match_parent"
547 android:layout_marginStart="45dp"
548 android:layout_marginEnd="36dp"
549 android:textSize="13sp" />
552 <!-- Wide Viewport. -->
554 android:layout_height="wrap_content"
555 android:layout_width="match_parent"
556 android:orientation="vertical"
557 android:layout_marginTop="14dp"
558 android:layout_marginBottom="14dp" >
561 android:layout_height="wrap_content"
562 android:layout_width="match_parent"
563 android:orientation="horizontal" >
566 android:id="@+id/wide_viewport_imageview"
567 android:layout_height="wrap_content"
568 android:layout_width="wrap_content"
569 android:layout_marginTop="1dp"
570 android:layout_marginEnd="10dp"
571 android:layout_gravity="center_vertical"
572 android:contentDescription="@string/wide_viewport" />
575 android:id="@+id/wide_viewport_spinner"
576 android:layout_height="wrap_content"
577 android:layout_width="match_parent" />
581 android:id="@+id/wide_viewport_textview"
582 android:layout_height="match_parent"
583 android:layout_width="match_parent"
584 android:layout_marginStart="45dp"
585 android:layout_marginEnd="36dp"
586 android:textSize="13sp" />
589 <!-- Display Images. -->
591 android:layout_height="wrap_content"
592 android:layout_width="match_parent"
593 android:orientation="vertical"
594 android:layout_marginTop="14dp"
595 android:layout_marginBottom="14dp" >
598 android:layout_height="wrap_content"
599 android:layout_width="match_parent"
600 android:orientation="horizontal" >
603 android:id="@+id/display_webpage_images_imageview"
604 android:layout_height="wrap_content"
605 android:layout_width="wrap_content"
606 android:layout_marginTop="1dp"
607 android:layout_marginEnd="10dp"
608 android:layout_gravity="center_vertical"
609 android:contentDescription="@string/display_webpage_images" />
612 android:id="@+id/display_webpage_images_spinner"
613 android:layout_height="wrap_content"
614 android:layout_width="match_parent" />
618 android:id="@+id/display_webpage_images_textview"
619 android:layout_height="match_parent"
620 android:layout_width="match_parent"
621 android:layout_marginStart="45dp"
622 android:layout_marginEnd="36dp"
623 android:textSize="13sp" />
626 <!-- Pinned SSL Certificate -->
628 android:layout_height="wrap_content"
629 android:layout_width="match_parent"
630 android:orientation="vertical"
631 android:layout_marginTop="18dp"
632 android:layout_marginBottom="18dp" >
636 android:layout_height="wrap_content"
637 android:layout_width="match_parent"
638 android:orientation="horizontal" >
641 android:id="@+id/pinned_ssl_certificate_imageview"
642 android:layout_height="wrap_content"
643 android:layout_width="wrap_content"
644 android:layout_marginTop="1dp"
645 android:layout_marginEnd="10dp"
646 android:layout_gravity="center_vertical"
647 tools:ignore="contentDescription" />
649 <androidx.appcompat.widget.SwitchCompat
650 android:id="@+id/pinned_ssl_certificate_switch"
651 android:layout_height="wrap_content"
652 android:layout_width="match_parent"
653 android:layout_marginStart="8dp"
654 android:text="@string/pinned_ssl_certificate"
655 android:textColor="?android:textColorPrimary"
656 android:textSize="18sp"
657 tools:ignore="TooManyViews" />
660 <!-- Saved Certificate -->
661 <androidx.cardview.widget.CardView
662 android:id="@+id/saved_ssl_certificate_cardview"
663 android:layout_height="wrap_content"
664 android:layout_width="match_parent"
665 android:layout_marginTop="10dp"
666 android:layout_marginStart="10dp"
667 android:layout_marginEnd="10dp" >
670 android:id="@+id/saved_ssl_certificate_linearlayout"
671 android:layout_height="wrap_content"
672 android:layout_width="match_parent"
673 android:orientation="vertical"
674 android:padding="10dp" >
677 android:id="@+id/saved_ssl_certificate_radiobutton"
678 android:layout_height="wrap_content"
679 android:layout_width="match_parent"
680 android:text="@string/saved_ssl_certificate"
681 android:textSize="17sp"
682 android:textAllCaps="true"
683 android:textStyle="bold"
684 android:textColor="?android:textColorPrimary" />
687 android:layout_height="wrap_content"
688 android:layout_width="match_parent"
689 android:layout_marginStart="32dp"
690 android:orientation="vertical" >
692 <!-- Saved Certificate Issued To. -->
694 android:layout_height="wrap_content"
695 android:layout_width="match_parent"
696 android:text="@string/issued_to"
697 android:textAllCaps="true"
698 android:textStyle="bold"
699 android:textColor="?attr/blueTitleTextColor" />
702 android:id="@+id/saved_ssl_certificate_issued_to_cname"
703 android:layout_height="wrap_content"
704 android:layout_width="match_parent" />
707 android:id="@+id/saved_ssl_certificate_issued_to_oname"
708 android:layout_height="wrap_content"
709 android:layout_width="match_parent" />
712 android:id="@+id/saved_ssl_certificate_issued_to_uname"
713 android:layout_height="wrap_content"
714 android:layout_width="match_parent"/>
716 <!-- Saved Certificate Issued By. -->
718 android:layout_height="wrap_content"
719 android:layout_width="match_parent"
720 android:layout_marginTop="15dp"
721 android:text="@string/issued_by"
722 android:textAllCaps="true"
723 android:textStyle="bold"
724 android:textColor="?attr/blueTitleTextColor"/>
727 android:id="@+id/saved_ssl_certificate_issued_by_cname"
728 android:layout_height="wrap_content"
729 android:layout_width="match_parent" />
732 android:id="@+id/saved_ssl_certificate_issued_by_oname"
733 android:layout_height="wrap_content"
734 android:layout_width="match_parent" />
737 android:id="@+id/saved_ssl_certificate_issued_by_uname"
738 android:layout_height="wrap_content"
739 android:layout_width="match_parent" />
741 <!-- Saved Certificate Valid Dates. -->
743 android:layout_height="wrap_content"
744 android:layout_width="match_parent"
745 android:layout_marginTop="15dp"
746 android:text="@string/valid_dates"
747 android:textAllCaps="true"
748 android:textStyle="bold"
749 android:textColor="?attr/blueTitleTextColor"/>
752 android:id="@+id/saved_ssl_certificate_start_date"
753 android:layout_height="wrap_content"
754 android:layout_width="match_parent" />
757 android:id="@+id/saved_ssl_certificate_end_date"
758 android:layout_height="wrap_content"
759 android:layout_width="match_parent" />
762 </androidx.cardview.widget.CardView>
764 <!-- Current Website Certificate -->
765 <androidx.cardview.widget.CardView
766 android:id="@+id/current_website_certificate_cardview"
767 android:layout_height="wrap_content"
768 android:layout_width="match_parent"
769 android:layout_margin="10dp" >
772 android:id="@+id/current_website_certificate_linearlayout"
773 android:layout_height="wrap_content"
774 android:layout_width="match_parent"
775 android:orientation="vertical"
776 android:padding="10dp" >
779 android:id="@+id/current_website_certificate_radiobutton"
780 android:layout_height="wrap_content"
781 android:layout_width="match_parent"
782 android:text="@string/current_website_ssl_certificate"
783 android:textSize="17sp"
784 android:textAllCaps="true"
785 android:textStyle="bold"
786 android:textColor="?android:textColorPrimary" />
789 android:layout_height="wrap_content"
790 android:layout_width="match_parent"
791 android:layout_marginStart="32dp"
792 android:orientation="vertical" >
794 <!-- Current Website Certificate Issued To. -->
796 android:layout_height="wrap_content"
797 android:layout_width="match_parent"
798 android:text="@string/issued_to"
799 android:textAllCaps="true"
800 android:textStyle="bold"
801 android:textColor="?attr/blueTitleTextColor" />
804 android:id="@+id/current_website_certificate_issued_to_cname"
805 android:layout_height="wrap_content"
806 android:layout_width="match_parent" />
809 android:id="@+id/current_website_certificate_issued_to_oname"
810 android:layout_height="wrap_content"
811 android:layout_width="match_parent" />
814 android:id="@+id/current_website_certificate_issued_to_uname"
815 android:layout_height="wrap_content"
816 android:layout_width="match_parent" />
818 <!-- Current Website Certificate Issued By. -->
820 android:layout_height="wrap_content"
821 android:layout_width="match_parent"
822 android:layout_marginTop="15dp"
823 android:text="@string/issued_by"
824 android:textAllCaps="true"
825 android:textStyle="bold"
826 android:textColor="?attr/blueTitleTextColor" />
829 android:id="@+id/current_website_certificate_issued_by_cname"
830 android:layout_height="wrap_content"
831 android:layout_width="match_parent" />
834 android:id="@+id/current_website_certificate_issued_by_oname"
835 android:layout_height="wrap_content"
836 android:layout_width="match_parent" />
839 android:id="@+id/current_website_certificate_issued_by_uname"
840 android:layout_height="wrap_content"
841 android:layout_width="match_parent" />
843 <!-- Current Website Certificate Valid Dates. -->
845 android:layout_height="wrap_content"
846 android:layout_width="match_parent"
847 android:layout_marginTop="15dp"
848 android:text="@string/valid_dates"
849 android:textAllCaps="true"
850 android:textStyle="bold"
851 android:textColor="?attr/blueTitleTextColor" />
854 android:id="@+id/current_website_certificate_start_date"
855 android:layout_height="wrap_content"
856 android:layout_width="match_parent" />
859 android:id="@+id/current_website_certificate_end_date"
860 android:layout_height="wrap_content"
861 android:layout_width="match_parent" />
864 </androidx.cardview.widget.CardView>
866 <!-- Load An Encrypted Website Instructions. -->
868 android:id="@+id/no_current_website_certificate"
869 android:layout_height="wrap_content"
870 android:layout_width="match_parent"
871 android:layout_marginTop="10dp"
872 android:layout_marginBottom="10dp"
873 android:layout_marginStart="40dp"
874 android:layout_marginEnd="40dp"
875 android:gravity="center_horizontal"
876 android:text="@string/load_an_encrypted_website" />
879 <!-- Pinned IP Addresses -->
881 android:layout_height="wrap_content"
882 android:layout_width="match_parent"
883 android:orientation="vertical"
884 android:layout_marginTop="18dp"
885 android:layout_marginBottom="18dp" >
889 android:layout_height="wrap_content"
890 android:layout_width="match_parent"
891 android:orientation="horizontal" >
894 android:id="@+id/pinned_ip_addresses_imageview"
895 android:layout_height="wrap_content"
896 android:layout_width="wrap_content"
897 android:layout_marginTop="1dp"
898 android:layout_marginEnd="10dp"
899 android:layout_gravity="center_vertical"
900 tools:ignore="contentDescription" />
902 <androidx.appcompat.widget.SwitchCompat
903 android:id="@+id/pinned_ip_addresses_switch"
904 android:layout_height="wrap_content"
905 android:layout_width="match_parent"
906 android:layout_marginStart="8dp"
907 android:text="@string/pinned_ip_addresses"
908 android:textColor="?android:textColorPrimary"
909 android:textSize="18sp" />
912 <!-- Saved IP Addresses -->
913 <androidx.cardview.widget.CardView
914 android:id="@+id/saved_ip_addresses_cardview"
915 android:layout_height="wrap_content"
916 android:layout_width="match_parent"
917 android:layout_marginTop="10dp"
918 android:layout_marginStart="10dp"
919 android:layout_marginEnd="10dp" >
922 android:id="@+id/saved_ip_addresses_linearlayout"
923 android:layout_height="wrap_content"
924 android:layout_width="match_parent"
925 android:orientation="vertical"
926 android:padding="10dp" >
929 android:id="@+id/saved_ip_addresses_radiobutton"
930 android:layout_height="wrap_content"
931 android:layout_width="match_parent"
932 android:text="@string/saved_ip_addresses"
933 android:textSize="17sp"
934 android:textAllCaps="true"
935 android:textStyle="bold"
936 android:textColor="?android:textColorPrimary" />
939 android:id="@+id/saved_ip_addresses_textview"
940 android:layout_height="wrap_content"
941 android:layout_width="match_parent"
942 android:layout_marginStart="32dp"
943 android:textColor="?attr/blueTextColor" />
945 </androidx.cardview.widget.CardView>
947 <androidx.cardview.widget.CardView
948 android:id="@+id/current_ip_addresses_cardview"
949 android:layout_height="wrap_content"
950 android:layout_width="match_parent"
951 android:layout_margin="10dp">
954 android:id="@+id/current_ip_addresses_linearlayout"
955 android:layout_height="wrap_content"
956 android:layout_width="match_parent"
957 android:orientation="vertical"
958 android:padding="10dp" >
961 android:id="@+id/current_ip_addresses_radiobutton"
962 android:layout_height="wrap_content"
963 android:layout_width="match_parent"
964 android:text="@string/current_ip_addresses"
965 android:textSize="17sp"
966 android:textAllCaps="true"
967 android:textStyle="bold"
968 android:textColor="?android:textColorPrimary" />
971 android:id="@+id/current_ip_addresses_textview"
972 android:layout_height="wrap_content"
973 android:layout_width="match_parent"
974 android:layout_marginStart="32dp"
975 android:textColor="?attr/blueTextColor" />
977 </androidx.cardview.widget.CardView>