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="@color/blue_icon"
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 android:src="@drawable/cookies_enabled"
125 app:tint="@color/yellow_icon_selector"
126 tools:ignore="contentDescription" />
128 <androidx.appcompat.widget.SwitchCompat
129 android:id="@+id/cookies_switch"
130 android:layout_height="wrap_content"
131 android:layout_width="match_parent"
132 android:layout_marginStart="8dp"
133 android:layout_marginTop="14dp"
134 android:layout_marginBottom="14dp"
135 android:text="@string/cookies"
136 android:textColor="?android:textColorPrimary"
137 android:textSize="18sp" />
140 <!-- DOM Storage. -->
142 android:layout_height="wrap_content"
143 android:layout_width="match_parent"
144 android:orientation="horizontal" >
147 android:id="@+id/dom_storage_imageview"
148 android:layout_height="wrap_content"
149 android:layout_width="wrap_content"
150 android:layout_marginTop="1dp"
151 android:layout_marginEnd="10dp"
152 android:layout_gravity="center_vertical"
153 android:src="@drawable/dom_storage_enabled"
154 app:tint="@color/yellow_icon_selector"
155 tools:ignore="contentDescription" />
157 <androidx.appcompat.widget.SwitchCompat
158 android:id="@+id/dom_storage_switch"
159 android:layout_height="wrap_content"
160 android:layout_width="match_parent"
161 android:layout_marginStart="8dp"
162 android:layout_marginTop="14dp"
163 android:layout_marginBottom="14dp"
164 android:text="@string/dom_storage_preference"
165 android:textColor="?android:textColorPrimary"
166 android:textSize="18sp" />
171 android:layout_height="wrap_content"
172 android:layout_width="match_parent"
173 android:orientation="horizontal" >
176 android:id="@+id/form_data_imageview"
177 android:layout_height="wrap_content"
178 android:layout_width="wrap_content"
179 android:layout_marginTop="1dp"
180 android:layout_marginEnd="10dp"
181 android:layout_gravity="center_vertical"
182 android:src="@drawable/form_data_enabled"
183 app:tint="@color/yellow_icon_selector"
184 tools:ignore="contentDescription" />
186 <androidx.appcompat.widget.SwitchCompat
187 android:id="@+id/form_data_switch"
188 android:layout_height="wrap_content"
189 android:layout_width="match_parent"
190 android:layout_marginStart="8dp"
191 android:layout_marginTop="14dp"
192 android:layout_marginBottom="14dp"
193 android:text="@string/form_data"
194 android:textColor="?android:textColorPrimary"
195 android:textSize="18sp" />
200 android:layout_height="wrap_content"
201 android:layout_width="match_parent"
202 android:orientation="horizontal" >
205 android:id="@+id/easylist_imageview"
206 android:layout_height="wrap_content"
207 android:layout_width="wrap_content"
208 android:layout_marginTop="1dp"
209 android:layout_marginEnd="10dp"
210 android:layout_gravity="center_vertical"
211 android:src="@drawable/block_ads_enabled"
212 app:tint="@color/blue_icon_selector"
213 tools:ignore="contentDescription" />
215 <androidx.appcompat.widget.SwitchCompat
216 android:id="@+id/easylist_switch"
217 android:layout_height="wrap_content"
218 android:layout_width="match_parent"
219 android:layout_marginStart="8dp"
220 android:layout_marginTop="14dp"
221 android:layout_marginBottom="14dp"
222 android:text="@string/easylist"
223 android:textColor="?android:textColorPrimary"
224 android:textSize="18sp" />
227 <!-- EasyPrivacy. -->
229 android:layout_height="wrap_content"
230 android:layout_width="match_parent"
231 android:orientation="horizontal" >
234 android:id="@+id/easyprivacy_imageview"
235 android:layout_height="wrap_content"
236 android:layout_width="wrap_content"
237 android:layout_marginTop="1dp"
238 android:layout_marginEnd="10dp"
239 android:layout_gravity="center_vertical"
240 android:src="@drawable/block_tracking_enabled"
241 app:tint="@color/blue_icon_selector"
242 tools:ignore="contentDescription" />
244 <androidx.appcompat.widget.SwitchCompat
245 android:id="@+id/easyprivacy_switch"
246 android:layout_height="wrap_content"
247 android:layout_width="match_parent"
248 android:layout_marginStart="8dp"
249 android:layout_marginTop="14dp"
250 android:layout_marginBottom="14dp"
251 android:text="@string/easyprivacy"
252 android:textColor="?android:textColorPrimary"
253 android:textSize="18sp" />
256 <!-- Fanboy's Annoyance List. -->
258 android:layout_height="wrap_content"
259 android:layout_width="match_parent"
260 android:orientation="horizontal" >
263 android:id="@+id/fanboys_annoyance_list_imageview"
264 android:layout_height="wrap_content"
265 android:layout_width="wrap_content"
266 android:layout_marginTop="1dp"
267 android:layout_marginEnd="10dp"
268 android:layout_gravity="center_vertical"
269 android:src="@drawable/social_media_enabled"
270 app:tint="@color/blue_icon_selector"
271 tools:ignore="contentDescription" />
273 <androidx.appcompat.widget.SwitchCompat
274 android:id="@+id/fanboys_annoyance_list_switch"
275 android:layout_height="wrap_content"
276 android:layout_width="match_parent"
277 android:layout_marginStart="8dp"
278 android:layout_marginTop="14dp"
279 android:layout_marginBottom="14dp"
280 android:text="@string/fanboys_annoyance_list"
281 android:textColor="?android:textColorPrimary"
282 android:textSize="18sp" />
285 <!-- Fanboy's Social Blocking List. -->
287 android:layout_height="wrap_content"
288 android:layout_width="match_parent"
289 android:orientation="horizontal" >
292 android:id="@+id/fanboys_social_blocking_list_imageview"
293 android:layout_height="wrap_content"
294 android:layout_width="wrap_content"
295 android:layout_marginTop="1dp"
296 android:layout_marginEnd="10dp"
297 android:layout_gravity="center_vertical"
298 android:src="@drawable/social_media_enabled"
299 app:tint="@color/blue_icon_selector"
300 tools:ignore="contentDescription" />
302 <androidx.appcompat.widget.SwitchCompat
303 android:id="@+id/fanboys_social_blocking_list_switch"
304 android:layout_height="wrap_content"
305 android:layout_width="match_parent"
306 android:layout_marginStart="8dp"
307 android:layout_marginTop="14dp"
308 android:layout_marginBottom="14dp"
309 android:text="@string/fanboys_social_blocking_list"
310 android:textColor="?android:textColorPrimary"
311 android:textSize="18sp" />
316 android:layout_height="wrap_content"
317 android:layout_width="match_parent"
318 android:orientation="horizontal" >
321 android:id="@+id/ultralist_imageview"
322 android:layout_height="wrap_content"
323 android:layout_width="wrap_content"
324 android:layout_marginTop="1dp"
325 android:layout_marginEnd="10dp"
326 android:layout_gravity="center_vertical"
327 android:src="@drawable/block_ads_enabled"
328 app:tint="@color/blue_icon_selector"
329 tools:ignore="contentDescription" />
331 <androidx.appcompat.widget.SwitchCompat
332 android:id="@+id/ultralist_switch"
333 android:layout_height="wrap_content"
334 android:layout_width="match_parent"
335 android:layout_marginStart="8dp"
336 android:layout_marginTop="14dp"
337 android:layout_marginBottom="14dp"
338 android:text="@string/ultralist"
339 android:textColor="?android:textColorPrimary"
340 android:textSize="18sp" />
343 <!-- UltraPrivacy. -->
345 android:layout_height="wrap_content"
346 android:layout_width="match_parent"
347 android:orientation="horizontal" >
350 android:id="@+id/ultraprivacy_imageview"
351 android:layout_height="wrap_content"
352 android:layout_width="wrap_content"
353 android:layout_marginTop="1dp"
354 android:layout_marginEnd="10dp"
355 android:layout_gravity="center_vertical"
356 android:src="@drawable/block_tracking_enabled"
357 app:tint="@color/blue_icon_selector"
358 tools:ignore="contentDescription" />
360 <androidx.appcompat.widget.SwitchCompat
361 android:id="@+id/ultraprivacy_switch"
362 android:layout_height="wrap_content"
363 android:layout_width="match_parent"
364 android:layout_marginStart="8dp"
365 android:layout_marginTop="14dp"
366 android:layout_marginBottom="14dp"
367 android:text="@string/ultraprivacy"
368 android:textColor="?android:textColorPrimary"
369 android:textSize="18sp" />
372 <!-- Block All Third Party Requests. -->
374 android:layout_height="wrap_content"
375 android:layout_width="match_parent"
376 android:orientation="horizontal" >
379 android:id="@+id/block_all_third_party_requests_imageview"
380 android:layout_height="wrap_content"
381 android:layout_width="wrap_content"
382 android:layout_marginTop="1dp"
383 android:layout_marginEnd="10dp"
384 android:layout_gravity="center_vertical"
385 android:src="@drawable/block_all_third_party_requests_enabled"
386 app:tint="@color/blue_icon_selector"
387 tools:ignore="contentDescription" />
389 <androidx.appcompat.widget.SwitchCompat
390 android:id="@+id/block_all_third_party_requests_switch"
391 android:layout_height="wrap_content"
392 android:layout_width="match_parent"
393 android:layout_marginStart="8dp"
394 android:layout_marginTop="14dp"
395 android:layout_marginBottom="14dp"
396 android:text="@string/block_all_third_party_requests"
397 android:textColor="?android:textColorPrimary"
398 android:textSize="18sp" />
403 android:layout_height="wrap_content"
404 android:layout_width="match_parent"
405 android:orientation="vertical"
406 android:layout_marginTop="14dp"
407 android:layout_marginBottom="14dp" >
410 android:layout_height="wrap_content"
411 android:layout_width="match_parent"
412 android:orientation="horizontal" >
415 android:layout_height="wrap_content"
416 android:layout_width="wrap_content"
417 android:layout_marginTop="1dp"
418 android:layout_marginEnd="10dp"
419 android:layout_gravity="center_vertical"
420 android:src="@drawable/user_agent"
421 app:tint="@color/blue_icon"
422 android:contentDescription="@string/user_agent" />
425 android:id="@+id/user_agent_spinner"
426 android:layout_height="wrap_content"
427 android:layout_width="match_parent" />
431 android:id="@+id/user_agent_textview"
432 android:layout_height="wrap_content"
433 android:layout_width="match_parent"
434 android:layout_marginStart="45dp"
435 android:layout_marginEnd="36dp"
436 android:textSize="13sp" />
439 android:id="@+id/custom_user_agent_edittext"
440 android:layout_height="wrap_content"
441 android:layout_width="match_parent"
442 android:layout_marginStart="40dp"
443 android:layout_marginEnd="60dp"
444 android:inputType="textUri"
445 android:hint="@string/custom_user_agent"
446 android:importantForAutofill="no" />
449 <!-- X-Requested-With Header. -->
451 android:layout_height="wrap_content"
452 android:layout_width="match_parent"
453 android:orientation="vertical"
454 android:layout_marginTop="14dp"
455 android:layout_marginBottom="14dp" >
458 android:layout_height="wrap_content"
459 android:layout_width="match_parent"
460 android:orientation="horizontal" >
463 android:id="@+id/x_requested_with_header_imageview"
464 android:layout_height="wrap_content"
465 android:layout_width="wrap_content"
466 android:layout_marginTop="1dp"
467 android:layout_marginEnd="10dp"
468 android:layout_gravity="center_vertical"
469 android:src="@drawable/x_requested_with_header_enabled"
470 app:tint="@color/blue_icon_selector"
471 android:contentDescription="@string/x_requested_with_header" />
474 android:id="@+id/x_requested_with_header_spinner"
475 android:layout_height="wrap_content"
476 android:layout_width="match_parent" />
480 android:id="@+id/x_requested_with_header_textview"
481 android:layout_height="wrap_content"
482 android:layout_width="match_parent"
483 android:layout_marginStart="45dp"
484 android:layout_marginEnd="36dp"
485 android:textSize="13sp" />
488 android:id="@+id/x_requested_with_header_explanation_textview"
489 android:layout_height="wrap_content"
490 android:layout_width="match_parent"
491 android:layout_marginTop="8dp"
492 android:layout_marginStart="45dp"
493 android:layout_marginEnd="36dp"
494 android:textSize="11sp"
495 android:text="@string/x_requested_with_header_explanation" />
500 android:layout_height="wrap_content"
501 android:layout_width="match_parent"
502 android:orientation="vertical"
503 android:layout_marginTop="14dp"
504 android:layout_marginBottom="14dp" >
507 android:layout_height="wrap_content"
508 android:layout_width="match_parent"
509 android:orientation="horizontal" >
512 android:layout_height="wrap_content"
513 android:layout_width="wrap_content"
514 android:layout_marginTop="1dp"
515 android:layout_marginEnd="10dp"
516 android:layout_gravity="center_vertical"
517 android:src="@drawable/font_size"
518 app:tint="@color/blue_icon"
519 android:contentDescription="@string/font_size" />
522 android:id="@+id/font_size_spinner"
523 android:layout_height="wrap_content"
524 android:layout_width="match_parent" />
528 android:id="@+id/default_font_size_textview"
529 android:layout_height="wrap_content"
530 android:layout_width="match_parent"
531 android:layout_marginStart="45dp"
532 android:layout_marginEnd="36dp"
533 android:textSize="13sp" />
536 android:id="@+id/custom_font_size_edittext"
537 android:layout_height="wrap_content"
538 android:layout_width="match_parent"
539 android:layout_marginStart="40dp"
540 android:layout_marginEnd="60dp"
541 android:inputType="number"
542 android:hint="@string/font_size"
543 android:importantForAutofill="no" />
546 <!-- Swipe to Refresh. -->
548 android:layout_height="wrap_content"
549 android:layout_width="match_parent"
550 android:orientation="vertical"
551 android:layout_marginTop="14dp"
552 android:layout_marginBottom="14dp" >
555 android:layout_height="wrap_content"
556 android:layout_width="match_parent"
557 android:orientation="horizontal" >
560 android:id="@+id/swipe_to_refresh_imageview"
561 android:layout_height="wrap_content"
562 android:layout_width="wrap_content"
563 android:layout_marginTop="1dp"
564 android:layout_marginEnd="10dp"
565 android:layout_gravity="center_vertical"
566 android:src="@drawable/refresh_enabled"
567 app:tint="@color/blue_icon_selector"
568 android:contentDescription="@string/swipe_to_refresh" />
571 android:id="@+id/swipe_to_refresh_spinner"
572 android:layout_height="wrap_content"
573 android:layout_width="match_parent" />
577 android:id="@+id/swipe_to_refresh_textview"
578 android:layout_height="wrap_content"
579 android:layout_width="match_parent"
580 android:layout_marginStart="45dp"
581 android:layout_marginEnd="36dp"
582 android:textSize="13sp" />
585 <!-- WebView Theme. -->
587 android:id="@+id/webview_theme_linearlayout"
588 android:layout_height="wrap_content"
589 android:layout_width="match_parent"
590 android:orientation="vertical"
591 android:layout_marginTop="14dp"
592 android:layout_marginBottom="14dp" >
595 android:layout_height="wrap_content"
596 android:layout_width="match_parent"
597 android:orientation="horizontal" >
600 android:id="@+id/webview_theme_imageview"
601 android:layout_height="wrap_content"
602 android:layout_width="wrap_content"
603 android:layout_marginTop="1dp"
604 android:layout_marginEnd="10dp"
605 android:layout_gravity="center_vertical"
606 android:src="@drawable/webview_light_theme"
607 app:tint="@color/blue_icon_selector"
608 android:contentDescription="@string/webview_theme" />
611 android:id="@+id/webview_theme_spinner"
612 android:layout_height="wrap_content"
613 android:layout_width="match_parent" />
617 android:id="@+id/webview_theme_textview"
618 android:layout_height="wrap_content"
619 android:layout_width="match_parent"
620 android:layout_marginStart="45dp"
621 android:layout_marginEnd="36dp"
622 android:textSize="13sp" />
625 <!-- Wide Viewport. -->
627 android:layout_height="wrap_content"
628 android:layout_width="match_parent"
629 android:orientation="vertical"
630 android:layout_marginTop="14dp"
631 android:layout_marginBottom="14dp" >
634 android:layout_height="wrap_content"
635 android:layout_width="match_parent"
636 android:orientation="horizontal" >
639 android:id="@+id/wide_viewport_imageview"
640 android:layout_height="wrap_content"
641 android:layout_width="wrap_content"
642 android:layout_marginTop="1dp"
643 android:layout_marginEnd="10dp"
644 android:layout_gravity="center_vertical"
645 android:src="@drawable/wide_viewport_enabled"
646 app:tint="@color/blue_icon_selector"
647 android:contentDescription="@string/wide_viewport" />
650 android:id="@+id/wide_viewport_spinner"
651 android:layout_height="wrap_content"
652 android:layout_width="match_parent" />
656 android:id="@+id/wide_viewport_textview"
657 android:layout_height="wrap_content"
658 android:layout_width="match_parent"
659 android:layout_marginStart="45dp"
660 android:layout_marginEnd="36dp"
661 android:textSize="13sp" />
664 <!-- Display Images. -->
666 android:layout_height="wrap_content"
667 android:layout_width="match_parent"
668 android:orientation="vertical"
669 android:layout_marginTop="14dp"
670 android:layout_marginBottom="14dp" >
673 android:layout_height="wrap_content"
674 android:layout_width="match_parent"
675 android:orientation="horizontal" >
678 android:id="@+id/display_webpage_images_imageview"
679 android:layout_height="wrap_content"
680 android:layout_width="wrap_content"
681 android:layout_marginTop="1dp"
682 android:layout_marginEnd="10dp"
683 android:layout_gravity="center_vertical"
684 android:src="@drawable/images_enabled"
685 app:tint="@color/blue_icon_selector"
686 android:contentDescription="@string/display_webpage_images" />
689 android:id="@+id/display_webpage_images_spinner"
690 android:layout_height="wrap_content"
691 android:layout_width="match_parent" />
695 android:id="@+id/display_webpage_images_textview"
696 android:layout_height="wrap_content"
697 android:layout_width="match_parent"
698 android:layout_marginStart="45dp"
699 android:layout_marginEnd="36dp"
700 android:textSize="13sp" />
703 <!-- Pinned SSL Certificate -->
705 android:layout_height="wrap_content"
706 android:layout_width="match_parent"
707 android:orientation="vertical"
708 android:layout_marginTop="18dp"
709 android:layout_marginBottom="18dp" >
713 android:layout_height="wrap_content"
714 android:layout_width="match_parent"
715 android:orientation="horizontal" >
718 android:id="@+id/pinned_ssl_certificate_imageview"
719 android:layout_height="wrap_content"
720 android:layout_width="wrap_content"
721 android:layout_marginTop="1dp"
722 android:layout_marginEnd="10dp"
723 android:layout_gravity="center_vertical"
724 android:src="@drawable/ssl_certificate_enabled"
725 app:tint="@color/blue_icon_selector"
726 tools:ignore="contentDescription" />
728 <androidx.appcompat.widget.SwitchCompat
729 android:id="@+id/pinned_ssl_certificate_switch"
730 android:layout_height="wrap_content"
731 android:layout_width="match_parent"
732 android:layout_marginStart="8dp"
733 android:text="@string/pinned_ssl_certificate"
734 android:textColor="?android:textColorPrimary"
735 android:textSize="18sp"
736 tools:ignore="TooManyViews" />
739 <!-- Saved Certificate -->
740 <androidx.cardview.widget.CardView
741 android:id="@+id/saved_ssl_certificate_cardview"
742 android:layout_height="wrap_content"
743 android:layout_width="match_parent"
744 android:layout_marginTop="10dp"
745 android:layout_marginStart="10dp"
746 android:layout_marginEnd="10dp" >
749 android:id="@+id/saved_ssl_certificate_linearlayout"
750 android:layout_height="wrap_content"
751 android:layout_width="match_parent"
752 android:orientation="vertical"
753 android:padding="10dp" >
756 android:id="@+id/saved_ssl_certificate_radiobutton"
757 android:layout_height="wrap_content"
758 android:layout_width="match_parent"
759 android:text="@string/saved_ssl_certificate"
760 android:textSize="17sp"
761 android:textAllCaps="true"
762 android:textStyle="bold"
763 android:textColor="?android:textColorPrimary" />
766 android:layout_height="wrap_content"
767 android:layout_width="match_parent"
768 android:layout_marginStart="32dp"
769 android:orientation="vertical" >
771 <!-- Saved Certificate Issued To. -->
773 android:layout_height="wrap_content"
774 android:layout_width="match_parent"
775 android:text="@string/issued_to"
776 android:textAllCaps="true"
777 android:textStyle="bold"
778 android:textColor="@color/blue_title_text" />
781 android:id="@+id/saved_ssl_certificate_issued_to_cname"
782 android:layout_height="wrap_content"
783 android:layout_width="match_parent" />
786 android:id="@+id/saved_ssl_certificate_issued_to_oname"
787 android:layout_height="wrap_content"
788 android:layout_width="match_parent" />
791 android:id="@+id/saved_ssl_certificate_issued_to_uname"
792 android:layout_height="wrap_content"
793 android:layout_width="match_parent"/>
795 <!-- Saved Certificate Issued By. -->
797 android:layout_height="wrap_content"
798 android:layout_width="match_parent"
799 android:layout_marginTop="15dp"
800 android:text="@string/issued_by"
801 android:textAllCaps="true"
802 android:textStyle="bold"
803 android:textColor="@color/blue_title_text"/>
806 android:id="@+id/saved_ssl_certificate_issued_by_cname"
807 android:layout_height="wrap_content"
808 android:layout_width="match_parent" />
811 android:id="@+id/saved_ssl_certificate_issued_by_oname"
812 android:layout_height="wrap_content"
813 android:layout_width="match_parent" />
816 android:id="@+id/saved_ssl_certificate_issued_by_uname"
817 android:layout_height="wrap_content"
818 android:layout_width="match_parent" />
820 <!-- Saved Certificate Valid Dates. -->
822 android:layout_height="wrap_content"
823 android:layout_width="match_parent"
824 android:layout_marginTop="15dp"
825 android:text="@string/valid_dates"
826 android:textAllCaps="true"
827 android:textStyle="bold"
828 android:textColor="@color/blue_title_text"/>
831 android:id="@+id/saved_ssl_certificate_start_date"
832 android:layout_height="wrap_content"
833 android:layout_width="match_parent" />
836 android:id="@+id/saved_ssl_certificate_end_date"
837 android:layout_height="wrap_content"
838 android:layout_width="match_parent" />
841 </androidx.cardview.widget.CardView>
843 <!-- Current Website Certificate -->
844 <androidx.cardview.widget.CardView
845 android:id="@+id/current_website_certificate_cardview"
846 android:layout_height="wrap_content"
847 android:layout_width="match_parent"
848 android:layout_margin="10dp" >
851 android:id="@+id/current_website_certificate_linearlayout"
852 android:layout_height="wrap_content"
853 android:layout_width="match_parent"
854 android:orientation="vertical"
855 android:padding="10dp" >
858 android:id="@+id/current_website_certificate_radiobutton"
859 android:layout_height="wrap_content"
860 android:layout_width="match_parent"
861 android:text="@string/current_website_ssl_certificate"
862 android:textSize="17sp"
863 android:textAllCaps="true"
864 android:textStyle="bold"
865 android:textColor="?android:textColorPrimary" />
868 android:layout_height="wrap_content"
869 android:layout_width="match_parent"
870 android:layout_marginStart="32dp"
871 android:orientation="vertical" >
873 <!-- Current Website Certificate Issued To. -->
875 android:layout_height="wrap_content"
876 android:layout_width="match_parent"
877 android:text="@string/issued_to"
878 android:textAllCaps="true"
879 android:textStyle="bold"
880 android:textColor="@color/blue_title_text" />
883 android:id="@+id/current_website_certificate_issued_to_cname"
884 android:layout_height="wrap_content"
885 android:layout_width="match_parent" />
888 android:id="@+id/current_website_certificate_issued_to_oname"
889 android:layout_height="wrap_content"
890 android:layout_width="match_parent" />
893 android:id="@+id/current_website_certificate_issued_to_uname"
894 android:layout_height="wrap_content"
895 android:layout_width="match_parent" />
897 <!-- Current Website Certificate Issued By. -->
899 android:layout_height="wrap_content"
900 android:layout_width="match_parent"
901 android:layout_marginTop="15dp"
902 android:text="@string/issued_by"
903 android:textAllCaps="true"
904 android:textStyle="bold"
905 android:textColor="@color/blue_title_text" />
908 android:id="@+id/current_website_certificate_issued_by_cname"
909 android:layout_height="wrap_content"
910 android:layout_width="match_parent" />
913 android:id="@+id/current_website_certificate_issued_by_oname"
914 android:layout_height="wrap_content"
915 android:layout_width="match_parent" />
918 android:id="@+id/current_website_certificate_issued_by_uname"
919 android:layout_height="wrap_content"
920 android:layout_width="match_parent" />
922 <!-- Current Website Certificate Valid Dates. -->
924 android:layout_height="wrap_content"
925 android:layout_width="match_parent"
926 android:layout_marginTop="15dp"
927 android:text="@string/valid_dates"
928 android:textAllCaps="true"
929 android:textStyle="bold"
930 android:textColor="@color/blue_title_text" />
933 android:id="@+id/current_website_certificate_start_date"
934 android:layout_height="wrap_content"
935 android:layout_width="match_parent" />
938 android:id="@+id/current_website_certificate_end_date"
939 android:layout_height="wrap_content"
940 android:layout_width="match_parent" />
943 </androidx.cardview.widget.CardView>
945 <!-- Load An Encrypted Website Instructions. -->
947 android:id="@+id/no_current_website_certificate"
948 android:layout_height="wrap_content"
949 android:layout_width="match_parent"
950 android:layout_marginTop="10dp"
951 android:layout_marginBottom="10dp"
952 android:layout_marginStart="40dp"
953 android:layout_marginEnd="40dp"
954 android:gravity="center_horizontal"
955 android:text="@string/load_an_encrypted_website" />
958 <!-- Pinned IP Addresses -->
960 android:layout_height="wrap_content"
961 android:layout_width="match_parent"
962 android:orientation="vertical"
963 android:layout_marginTop="18dp"
964 android:layout_marginBottom="18dp" >
968 android:layout_height="wrap_content"
969 android:layout_width="match_parent"
970 android:orientation="horizontal" >
973 android:id="@+id/pinned_ip_addresses_imageview"
974 android:layout_height="wrap_content"
975 android:layout_width="wrap_content"
976 android:layout_marginTop="1dp"
977 android:layout_marginEnd="10dp"
978 android:layout_gravity="center_vertical"
979 android:src="@drawable/ssl_certificate_enabled"
980 app:tint="@color/blue_icon_selector"
981 tools:ignore="contentDescription" />
983 <androidx.appcompat.widget.SwitchCompat
984 android:id="@+id/pinned_ip_addresses_switch"
985 android:layout_height="wrap_content"
986 android:layout_width="match_parent"
987 android:layout_marginStart="8dp"
988 android:text="@string/pinned_ip_addresses"
989 android:textColor="?android:textColorPrimary"
990 android:textSize="18sp" />
993 <!-- Saved IP Addresses -->
994 <androidx.cardview.widget.CardView
995 android:id="@+id/saved_ip_addresses_cardview"
996 android:layout_height="wrap_content"
997 android:layout_width="match_parent"
998 android:layout_marginTop="10dp"
999 android:layout_marginStart="10dp"
1000 android:layout_marginEnd="10dp" >
1003 android:id="@+id/saved_ip_addresses_linearlayout"
1004 android:layout_height="wrap_content"
1005 android:layout_width="match_parent"
1006 android:orientation="vertical"
1007 android:padding="10dp" >
1010 android:id="@+id/saved_ip_addresses_radiobutton"
1011 android:layout_height="wrap_content"
1012 android:layout_width="match_parent"
1013 android:text="@string/saved_ip_addresses"
1014 android:textSize="17sp"
1015 android:textAllCaps="true"
1016 android:textStyle="bold"
1017 android:textColor="?android:textColorPrimary" />
1020 android:id="@+id/saved_ip_addresses_textview"
1021 android:layout_height="wrap_content"
1022 android:layout_width="match_parent"
1023 android:layout_marginStart="32dp"
1024 android:textColor="@color/blue_text" />
1026 </androidx.cardview.widget.CardView>
1028 <androidx.cardview.widget.CardView
1029 android:id="@+id/current_ip_addresses_cardview"
1030 android:layout_height="wrap_content"
1031 android:layout_width="match_parent"
1032 android:layout_margin="10dp">
1035 android:id="@+id/current_ip_addresses_linearlayout"
1036 android:layout_height="wrap_content"
1037 android:layout_width="match_parent"
1038 android:orientation="vertical"
1039 android:padding="10dp" >
1042 android:id="@+id/current_ip_addresses_radiobutton"
1043 android:layout_height="wrap_content"
1044 android:layout_width="match_parent"
1045 android:text="@string/current_ip_addresses"
1046 android:textSize="17sp"
1047 android:textAllCaps="true"
1048 android:textStyle="bold"
1049 android:textColor="?android:textColorPrimary" />
1052 android:id="@+id/current_ip_addresses_textview"
1053 android:layout_height="wrap_content"
1054 android:layout_width="match_parent"
1055 android:layout_marginStart="32dp"
1056 android:textColor="@color/blue_text" />
1058 </androidx.cardview.widget.CardView>