1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2017-2023 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:app="http://schemas.android.com/apk/res-auto"
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:orientation="vertical"
35 android:divider="?android:attr/dividerVertical" >
39 android:layout_height="wrap_content"
40 android:layout_width="match_parent"
41 android:orientation="vertical"
42 android:layout_marginTop="12dp"
43 android:layout_marginStart="12dp"
44 android:layout_marginEnd="12dp" >
47 android:layout_height="wrap_content"
48 android:layout_width="match_parent"
49 android:orientation="horizontal" >
52 android:layout_height="wrap_content"
53 android:layout_width="wrap_content"
54 android:layout_marginEnd="10dp"
55 android:layout_marginBottom="12dp"
56 android:layout_gravity="bottom"
57 android:src="@drawable/domains"
58 app:tint="@color/blue_icon"
59 tools:ignore="contentDescription" />
61 <!-- `TextInputLayout` makes the `android:hint` float above the `EditText`. -->
62 <com.google.android.material.textfield.TextInputLayout
63 android:layout_height="wrap_content"
64 android:layout_width="match_parent"
65 android:layout_marginStart="6dp" >
67 <!-- `android:inputType="textUri"` disables spell check in the `EditText`. -->
68 <com.google.android.material.textfield.TextInputEditText
69 android:id="@+id/domain_settings_name_edittext"
70 android:layout_width="match_parent"
71 android:layout_height="wrap_content"
72 android:hint="@string/domain_name"
73 android:inputType="textUri" />
74 </com.google.android.material.textfield.TextInputLayout>
78 android:layout_height="wrap_content"
79 android:layout_width="match_parent"
80 android:text="@string/domain_name_instructions"
81 android:textSize="12sp"
82 android:layout_marginStart="43dp"
83 android:layout_marginBottom="14dp" />
88 android:layout_height="wrap_content"
89 android:layout_width="match_parent"
90 android:orientation="horizontal"
91 android:layout_marginStart="12dp"
92 android:layout_marginEnd="12dp" >
95 android:id="@+id/javascript_imageview"
96 android:layout_height="wrap_content"
97 android:layout_width="wrap_content"
98 android:layout_marginTop="1dp"
99 android:layout_marginEnd="10dp"
100 android:layout_gravity="center_vertical"
101 tools:ignore="contentDescription" />
103 <androidx.appcompat.widget.SwitchCompat
104 android:id="@+id/javascript_switch"
105 android:layout_height="wrap_content"
106 android:layout_width="match_parent"
107 android:layout_marginStart="8dp"
108 android:layout_marginTop="14dp"
109 android:layout_marginBottom="14dp"
110 android:text="@string/javascript"
111 android:textColor="?android:textColorPrimary"
112 android:textSize="18sp" />
117 android:layout_height="wrap_content"
118 android:layout_width="match_parent"
119 android:orientation="horizontal"
120 android:layout_marginStart="12dp"
121 android:layout_marginEnd="12dp" >
124 android:id="@+id/cookies_imageview"
125 android:layout_height="wrap_content"
126 android:layout_width="wrap_content"
127 android:layout_marginTop="1dp"
128 android:layout_marginEnd="10dp"
129 android:layout_gravity="center_vertical"
130 android:src="@drawable/cookies_enabled"
131 app:tint="@color/yellow_icon_selector"
132 tools:ignore="contentDescription" />
134 <androidx.appcompat.widget.SwitchCompat
135 android:id="@+id/cookies_switch"
136 android:layout_height="wrap_content"
137 android:layout_width="match_parent"
138 android:layout_marginStart="8dp"
139 android:layout_marginTop="14dp"
140 android:layout_marginBottom="14dp"
141 android:text="@string/cookies"
142 android:textColor="?android:textColorPrimary"
143 android:textSize="18sp" />
146 <!-- DOM Storage. -->
148 android:layout_height="wrap_content"
149 android:layout_width="match_parent"
150 android:orientation="horizontal"
151 android:layout_marginStart="12dp"
152 android:layout_marginEnd="12dp" >
155 android:id="@+id/dom_storage_imageview"
156 android:layout_height="wrap_content"
157 android:layout_width="wrap_content"
158 android:layout_marginTop="1dp"
159 android:layout_marginEnd="10dp"
160 android:layout_gravity="center_vertical"
161 android:src="@drawable/dom_storage_enabled"
162 app:tint="@color/yellow_icon_selector"
163 tools:ignore="contentDescription" />
165 <androidx.appcompat.widget.SwitchCompat
166 android:id="@+id/dom_storage_switch"
167 android:layout_height="wrap_content"
168 android:layout_width="match_parent"
169 android:layout_marginStart="8dp"
170 android:layout_marginTop="14dp"
171 android:layout_marginBottom="14dp"
172 android:text="@string/dom_storage_preference"
173 android:textColor="?android:textColorPrimary"
174 android:textSize="18sp" />
179 android:layout_height="wrap_content"
180 android:layout_width="match_parent"
181 android:orientation="horizontal"
182 android:layout_marginStart="12dp"
183 android:layout_marginEnd="12dp" >
186 android:id="@+id/form_data_imageview"
187 android:layout_height="wrap_content"
188 android:layout_width="wrap_content"
189 android:layout_marginTop="1dp"
190 android:layout_marginEnd="10dp"
191 android:layout_gravity="center_vertical"
192 android:src="@drawable/form_data_enabled"
193 app:tint="@color/yellow_icon_selector"
194 tools:ignore="contentDescription" />
196 <androidx.appcompat.widget.SwitchCompat
197 android:id="@+id/form_data_switch"
198 android:layout_height="wrap_content"
199 android:layout_width="match_parent"
200 android:layout_marginStart="8dp"
201 android:layout_marginTop="14dp"
202 android:layout_marginBottom="14dp"
203 android:text="@string/form_data"
204 android:textColor="?android:textColorPrimary"
205 android:textSize="18sp" />
210 android:layout_height="wrap_content"
211 android:layout_width="match_parent"
212 android:orientation="horizontal"
213 android:layout_marginStart="12dp"
214 android:layout_marginEnd="12dp" >
217 android:id="@+id/easylist_imageview"
218 android:layout_height="wrap_content"
219 android:layout_width="wrap_content"
220 android:layout_marginTop="1dp"
221 android:layout_marginEnd="10dp"
222 android:layout_gravity="center_vertical"
223 android:src="@drawable/block_ads_enabled"
224 app:tint="@color/blue_icon_selector"
225 tools:ignore="contentDescription" />
227 <androidx.appcompat.widget.SwitchCompat
228 android:id="@+id/easylist_switch"
229 android:layout_height="wrap_content"
230 android:layout_width="match_parent"
231 android:layout_marginStart="8dp"
232 android:layout_marginTop="14dp"
233 android:layout_marginBottom="14dp"
234 android:text="@string/easylist"
235 android:textColor="?android:textColorPrimary"
236 android:textSize="18sp" />
239 <!-- EasyPrivacy. -->
241 android:layout_height="wrap_content"
242 android:layout_width="match_parent"
243 android:orientation="horizontal"
244 android:layout_marginStart="12dp"
245 android:layout_marginEnd="12dp" >
248 android:id="@+id/easyprivacy_imageview"
249 android:layout_height="wrap_content"
250 android:layout_width="wrap_content"
251 android:layout_marginTop="1dp"
252 android:layout_marginEnd="10dp"
253 android:layout_gravity="center_vertical"
254 android:src="@drawable/block_tracking_enabled"
255 app:tint="@color/blue_icon_selector"
256 tools:ignore="contentDescription" />
258 <androidx.appcompat.widget.SwitchCompat
259 android:id="@+id/easyprivacy_switch"
260 android:layout_height="wrap_content"
261 android:layout_width="match_parent"
262 android:layout_marginStart="8dp"
263 android:layout_marginTop="14dp"
264 android:layout_marginBottom="14dp"
265 android:text="@string/easyprivacy"
266 android:textColor="?android:textColorPrimary"
267 android:textSize="18sp" />
270 <!-- Fanboy's Annoyance List. -->
272 android:layout_height="wrap_content"
273 android:layout_width="match_parent"
274 android:orientation="horizontal"
275 android:layout_marginStart="12dp"
276 android:layout_marginEnd="12dp" >
279 android:id="@+id/fanboys_annoyance_list_imageview"
280 android:layout_height="wrap_content"
281 android:layout_width="wrap_content"
282 android:layout_marginTop="1dp"
283 android:layout_marginEnd="10dp"
284 android:layout_gravity="center_vertical"
285 android:src="@drawable/social_media_enabled"
286 app:tint="@color/blue_icon_selector"
287 tools:ignore="contentDescription" />
289 <androidx.appcompat.widget.SwitchCompat
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"
306 android:layout_marginStart="12dp"
307 android:layout_marginEnd="12dp" >
310 android:id="@+id/fanboys_social_blocking_list_imageview"
311 android:layout_height="wrap_content"
312 android:layout_width="wrap_content"
313 android:layout_marginTop="1dp"
314 android:layout_marginEnd="10dp"
315 android:layout_gravity="center_vertical"
316 android:src="@drawable/social_media_enabled"
317 app:tint="@color/blue_icon_selector"
318 tools:ignore="contentDescription" />
320 <androidx.appcompat.widget.SwitchCompat
321 android:id="@+id/fanboys_social_blocking_list_switch"
322 android:layout_height="wrap_content"
323 android:layout_width="match_parent"
324 android:layout_marginStart="8dp"
325 android:layout_marginTop="14dp"
326 android:layout_marginBottom="14dp"
327 android:text="@string/fanboys_social_blocking_list"
328 android:textColor="?android:textColorPrimary"
329 android:textSize="18sp" />
334 android:layout_height="wrap_content"
335 android:layout_width="match_parent"
336 android:orientation="horizontal"
337 android:layout_marginStart="12dp"
338 android:layout_marginEnd="12dp" >
341 android:id="@+id/ultralist_imageview"
342 android:layout_height="wrap_content"
343 android:layout_width="wrap_content"
344 android:layout_marginTop="1dp"
345 android:layout_marginEnd="10dp"
346 android:layout_gravity="center_vertical"
347 android:src="@drawable/block_ads_enabled"
348 app:tint="@color/blue_icon_selector"
349 tools:ignore="contentDescription" />
351 <androidx.appcompat.widget.SwitchCompat
352 android:id="@+id/ultralist_switch"
353 android:layout_height="wrap_content"
354 android:layout_width="match_parent"
355 android:layout_marginStart="8dp"
356 android:layout_marginTop="14dp"
357 android:layout_marginBottom="14dp"
358 android:text="@string/ultralist"
359 android:textColor="?android:textColorPrimary"
360 android:textSize="18sp" />
363 <!-- UltraPrivacy. -->
365 android:layout_height="wrap_content"
366 android:layout_width="match_parent"
367 android:orientation="horizontal"
368 android:layout_marginStart="12dp"
369 android:layout_marginEnd="12dp" >
372 android:id="@+id/ultraprivacy_imageview"
373 android:layout_height="wrap_content"
374 android:layout_width="wrap_content"
375 android:layout_marginTop="1dp"
376 android:layout_marginEnd="10dp"
377 android:layout_gravity="center_vertical"
378 android:src="@drawable/block_tracking_enabled"
379 app:tint="@color/blue_icon_selector"
380 tools:ignore="contentDescription" />
382 <androidx.appcompat.widget.SwitchCompat
383 android:id="@+id/ultraprivacy_switch"
384 android:layout_height="wrap_content"
385 android:layout_width="match_parent"
386 android:layout_marginStart="8dp"
387 android:layout_marginTop="14dp"
388 android:layout_marginBottom="14dp"
389 android:text="@string/ultraprivacy"
390 android:textColor="?android:textColorPrimary"
391 android:textSize="18sp" />
394 <!-- Block All Third Party Requests. -->
396 android:layout_height="wrap_content"
397 android:layout_width="match_parent"
398 android:orientation="horizontal"
399 android:layout_marginStart="12dp"
400 android:layout_marginEnd="12dp" >
403 android:id="@+id/block_all_third_party_requests_imageview"
404 android:layout_height="wrap_content"
405 android:layout_width="wrap_content"
406 android:layout_marginTop="1dp"
407 android:layout_marginEnd="10dp"
408 android:layout_gravity="center_vertical"
409 android:src="@drawable/block_all_third_party_requests_enabled"
410 app:tint="@color/blue_icon_selector"
411 tools:ignore="contentDescription" />
413 <androidx.appcompat.widget.SwitchCompat
414 android:id="@+id/block_all_third_party_requests_switch"
415 android:layout_height="wrap_content"
416 android:layout_width="match_parent"
417 android:layout_marginStart="8dp"
418 android:layout_marginTop="14dp"
419 android:layout_marginBottom="14dp"
420 android:text="@string/block_all_third_party_requests"
421 android:textColor="?android:textColorPrimary"
422 android:textSize="18sp" />
427 android:id="@+id/user_agent_linearlayout"
428 android:layout_height="wrap_content"
429 android:layout_width="match_parent"
430 android:orientation="vertical"
431 android:padding="12dp" >
434 android:layout_height="wrap_content"
435 android:layout_width="match_parent"
436 android:text="@string/user_agent" />
439 android:layout_height="wrap_content"
440 android:layout_width="match_parent"
441 android:orientation="horizontal" >
444 android:layout_height="wrap_content"
445 android:layout_width="wrap_content"
446 android:layout_marginTop="1dp"
447 android:layout_marginEnd="10dp"
448 android:layout_gravity="center_vertical"
449 android:src="@drawable/user_agent"
450 app:tint="@color/blue_icon"
451 android:contentDescription="@string/user_agent" />
454 android:id="@+id/user_agent_spinner"
455 android:layout_height="wrap_content"
456 android:layout_width="match_parent" />
460 android:id="@+id/user_agent_textview"
461 android:layout_height="wrap_content"
462 android:layout_width="match_parent"
463 android:layout_marginStart="45dp"
464 android:layout_marginEnd="36dp"
465 android:textSize="13sp" />
468 android:id="@+id/custom_user_agent_edittext"
469 android:layout_height="wrap_content"
470 android:layout_width="match_parent"
471 android:layout_marginStart="40dp"
472 android:layout_marginEnd="60dp"
473 android:inputType="textUri"
474 android:hint="@string/custom_user_agent"
475 android:importantForAutofill="no" />
480 android:id="@+id/font_size_linearlayout"
481 android:layout_height="wrap_content"
482 android:layout_width="match_parent"
483 android:orientation="vertical"
484 android:padding="12dp" >
487 android:layout_height="wrap_content"
488 android:layout_width="match_parent"
489 android:text="@string/font_size" />
492 android:layout_height="wrap_content"
493 android:layout_width="match_parent"
494 android:orientation="horizontal" >
497 android:layout_height="wrap_content"
498 android:layout_width="wrap_content"
499 android:layout_marginTop="1dp"
500 android:layout_marginEnd="10dp"
501 android:layout_gravity="center_vertical"
502 android:src="@drawable/font_size"
503 app:tint="@color/blue_icon"
504 android:contentDescription="@string/font_size" />
507 android:id="@+id/font_size_spinner"
508 android:layout_height="wrap_content"
509 android:layout_width="match_parent" />
513 android:id="@+id/default_font_size_textview"
514 android:layout_height="wrap_content"
515 android:layout_width="match_parent"
516 android:layout_marginStart="45dp"
517 android:layout_marginEnd="36dp"
518 android:textSize="13sp" />
521 android:id="@+id/custom_font_size_edittext"
522 android:layout_height="wrap_content"
523 android:layout_width="match_parent"
524 android:layout_marginStart="40dp"
525 android:layout_marginEnd="60dp"
526 android:inputType="number"
527 android:hint="@string/font_size"
528 android:importantForAutofill="no" />
531 <!-- Swipe to Refresh. -->
533 android:id="@+id/swipe_to_refresh_linearlayout"
534 android:layout_height="wrap_content"
535 android:layout_width="match_parent"
536 android:orientation="vertical"
537 android:padding="12dp" >
540 android:layout_height="wrap_content"
541 android:layout_width="match_parent"
542 android:text="@string/swipe_to_refresh" />
545 android:layout_height="wrap_content"
546 android:layout_width="match_parent"
547 android:orientation="horizontal" >
550 android:id="@+id/swipe_to_refresh_imageview"
551 android:layout_height="wrap_content"
552 android:layout_width="wrap_content"
553 android:layout_marginTop="1dp"
554 android:layout_marginEnd="10dp"
555 android:layout_gravity="center_vertical"
556 android:src="@drawable/refresh_enabled"
557 app:tint="@color/blue_icon_selector"
558 android:contentDescription="@string/swipe_to_refresh" />
561 android:id="@+id/swipe_to_refresh_spinner"
562 android:layout_height="wrap_content"
563 android:layout_width="match_parent" />
567 android:id="@+id/swipe_to_refresh_textview"
568 android:layout_height="wrap_content"
569 android:layout_width="match_parent"
570 android:layout_marginStart="45dp"
571 android:layout_marginEnd="36dp"
572 android:textSize="13sp" />
575 <!-- WebView Theme. -->
577 android:id="@+id/webview_theme_linearlayout"
578 android:layout_height="wrap_content"
579 android:layout_width="match_parent"
580 android:orientation="vertical"
581 android:padding="12dp" >
584 android:layout_height="wrap_content"
585 android:layout_width="match_parent"
586 android:text="@string/webview_theme" />
589 android:layout_height="wrap_content"
590 android:layout_width="match_parent"
591 android:orientation="horizontal" >
594 android:id="@+id/webview_theme_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:src="@drawable/webview_light_theme"
601 app:tint="@color/blue_icon_selector"
602 android:contentDescription="@string/webview_theme" />
605 android:id="@+id/webview_theme_spinner"
606 android:layout_height="wrap_content"
607 android:layout_width="match_parent" />
611 android:id="@+id/webview_theme_textview"
612 android:layout_height="wrap_content"
613 android:layout_width="match_parent"
614 android:layout_marginStart="45dp"
615 android:layout_marginEnd="36dp"
616 android:textSize="13sp" />
619 <!-- Wide Viewport. -->
621 android:id="@+id/wide_viewport_linearlayout"
622 android:layout_height="wrap_content"
623 android:layout_width="match_parent"
624 android:orientation="vertical"
625 android:padding="12dp" >
628 android:layout_height="wrap_content"
629 android:layout_width="match_parent"
630 android:text="@string/wide_viewport" />
633 android:layout_height="wrap_content"
634 android:layout_width="match_parent"
635 android:orientation="horizontal" >
638 android:id="@+id/wide_viewport_imageview"
639 android:layout_height="wrap_content"
640 android:layout_width="wrap_content"
641 android:layout_marginTop="1dp"
642 android:layout_marginEnd="10dp"
643 android:layout_gravity="center_vertical"
644 android:src="@drawable/wide_viewport_enabled"
645 app:tint="@color/blue_icon_selector"
646 android:contentDescription="@string/wide_viewport" />
649 android:id="@+id/wide_viewport_spinner"
650 android:layout_height="wrap_content"
651 android:layout_width="match_parent" />
655 android:id="@+id/wide_viewport_textview"
656 android:layout_height="wrap_content"
657 android:layout_width="match_parent"
658 android:layout_marginStart="45dp"
659 android:layout_marginEnd="36dp"
660 android:textSize="13sp" />
663 <!-- Display Images. -->
665 android:id="@+id/display_images_linearlayout"
666 android:layout_height="wrap_content"
667 android:layout_width="match_parent"
668 android:orientation="vertical"
669 android:padding="12dp" >
672 android:layout_height="wrap_content"
673 android:layout_width="match_parent"
674 android:text="@string/display_images" />
677 android:layout_height="wrap_content"
678 android:layout_width="match_parent"
679 android:orientation="horizontal" >
682 android:id="@+id/display_images_imageview"
683 android:layout_height="wrap_content"
684 android:layout_width="wrap_content"
685 android:layout_marginTop="1dp"
686 android:layout_marginEnd="10dp"
687 android:layout_gravity="center_vertical"
688 android:src="@drawable/images_enabled"
689 app:tint="@color/blue_icon_selector"
690 android:contentDescription="@string/display_webpage_images" />
693 android:id="@+id/display_images_spinner"
694 android:layout_height="wrap_content"
695 android:layout_width="match_parent" />
699 android:id="@+id/display_images_textview"
700 android:layout_height="wrap_content"
701 android:layout_width="match_parent"
702 android:layout_marginStart="45dp"
703 android:layout_marginEnd="36dp"
704 android:textSize="13sp" />
707 <!-- Pinned SSL Certificate -->
709 android:layout_height="wrap_content"
710 android:layout_width="match_parent"
711 android:orientation="vertical"
712 android:layout_marginTop="18dp"
713 android:layout_marginBottom="18dp"
714 android:layout_marginStart="12dp"
715 android:layout_marginEnd="12dp"
716 tools:ignore="TooManyViews" >
720 android:layout_height="wrap_content"
721 android:layout_width="match_parent"
722 android:orientation="horizontal" >
725 android:id="@+id/pinned_ssl_certificate_imageview"
726 android:layout_height="wrap_content"
727 android:layout_width="wrap_content"
728 android:layout_marginTop="1dp"
729 android:layout_marginEnd="10dp"
730 android:layout_gravity="center_vertical"
731 android:src="@drawable/ssl_certificate"
732 app:tint="@color/blue_icon_selector"
733 tools:ignore="contentDescription" />
735 <androidx.appcompat.widget.SwitchCompat
736 android:id="@+id/pinned_ssl_certificate_switch"
737 android:layout_height="wrap_content"
738 android:layout_width="match_parent"
739 android:layout_marginStart="8dp"
740 android:text="@string/pinned_ssl_certificate"
741 android:textColor="?android:textColorPrimary"
742 android:textSize="18sp" />
745 <!-- Saved Certificate -->
746 <androidx.cardview.widget.CardView
747 android:id="@+id/saved_ssl_certificate_cardview"
748 android:layout_height="wrap_content"
749 android:layout_width="match_parent"
750 android:layout_marginTop="10dp"
751 android:layout_marginStart="10dp"
752 android:layout_marginEnd="10dp" >
755 android:id="@+id/saved_ssl_certificate_linearlayout"
756 android:layout_height="wrap_content"
757 android:layout_width="match_parent"
758 android:orientation="vertical"
759 android:padding="10dp" >
762 android:id="@+id/saved_ssl_certificate_radiobutton"
763 android:layout_height="wrap_content"
764 android:layout_width="match_parent"
765 android:text="@string/saved_ssl_certificate"
766 android:textSize="17sp"
767 android:textAllCaps="true"
768 android:textStyle="bold"
769 android:textColor="?android:textColorPrimary"
770 tools:ignore="TooManyViews" />
773 android:layout_height="wrap_content"
774 android:layout_width="match_parent"
775 android:layout_marginStart="32dp"
776 android:orientation="vertical" >
778 <!-- Saved Certificate Issued To. -->
780 android:layout_height="wrap_content"
781 android:layout_width="match_parent"
782 android:text="@string/issued_to"
783 android:textAllCaps="true"
784 android:textStyle="bold"
785 android:textColor="@color/blue_title_text" />
788 android:id="@+id/saved_ssl_certificate_issued_to_cname"
789 android:layout_height="wrap_content"
790 android:layout_width="match_parent" />
793 android:id="@+id/saved_ssl_certificate_issued_to_oname"
794 android:layout_height="wrap_content"
795 android:layout_width="match_parent" />
798 android:id="@+id/saved_ssl_certificate_issued_to_uname"
799 android:layout_height="wrap_content"
800 android:layout_width="match_parent"/>
802 <!-- Saved Certificate Issued By. -->
804 android:layout_height="wrap_content"
805 android:layout_width="match_parent"
806 android:layout_marginTop="15dp"
807 android:text="@string/issued_by"
808 android:textAllCaps="true"
809 android:textStyle="bold"
810 android:textColor="@color/blue_title_text"/>
813 android:id="@+id/saved_ssl_certificate_issued_by_cname"
814 android:layout_height="wrap_content"
815 android:layout_width="match_parent" />
818 android:id="@+id/saved_ssl_certificate_issued_by_oname"
819 android:layout_height="wrap_content"
820 android:layout_width="match_parent" />
823 android:id="@+id/saved_ssl_certificate_issued_by_uname"
824 android:layout_height="wrap_content"
825 android:layout_width="match_parent" />
827 <!-- Saved Certificate Valid Dates. -->
829 android:layout_height="wrap_content"
830 android:layout_width="match_parent"
831 android:layout_marginTop="15dp"
832 android:text="@string/valid_dates"
833 android:textAllCaps="true"
834 android:textStyle="bold"
835 android:textColor="@color/blue_title_text"/>
838 android:id="@+id/saved_ssl_certificate_start_date"
839 android:layout_height="wrap_content"
840 android:layout_width="match_parent" />
843 android:id="@+id/saved_ssl_certificate_end_date"
844 android:layout_height="wrap_content"
845 android:layout_width="match_parent" />
848 </androidx.cardview.widget.CardView>
850 <!-- Current Website Certificate -->
851 <androidx.cardview.widget.CardView
852 android:id="@+id/current_website_certificate_cardview"
853 android:layout_height="wrap_content"
854 android:layout_width="match_parent"
855 android:layout_margin="10dp" >
858 android:id="@+id/current_website_certificate_linearlayout"
859 android:layout_height="wrap_content"
860 android:layout_width="match_parent"
861 android:orientation="vertical"
862 android:padding="10dp" >
865 android:id="@+id/current_website_certificate_radiobutton"
866 android:layout_height="wrap_content"
867 android:layout_width="match_parent"
868 android:text="@string/current_website_ssl_certificate"
869 android:textSize="17sp"
870 android:textAllCaps="true"
871 android:textStyle="bold"
872 android:textColor="?android:textColorPrimary" />
875 android:layout_height="wrap_content"
876 android:layout_width="match_parent"
877 android:layout_marginStart="32dp"
878 android:orientation="vertical" >
880 <!-- Current Website Certificate Issued To. -->
882 android:layout_height="wrap_content"
883 android:layout_width="match_parent"
884 android:text="@string/issued_to"
885 android:textAllCaps="true"
886 android:textStyle="bold"
887 android:textColor="@color/blue_title_text" />
890 android:id="@+id/current_website_certificate_issued_to_cname"
891 android:layout_height="wrap_content"
892 android:layout_width="match_parent" />
895 android:id="@+id/current_website_certificate_issued_to_oname"
896 android:layout_height="wrap_content"
897 android:layout_width="match_parent" />
900 android:id="@+id/current_website_certificate_issued_to_uname"
901 android:layout_height="wrap_content"
902 android:layout_width="match_parent" />
904 <!-- Current Website Certificate Issued By. -->
906 android:layout_height="wrap_content"
907 android:layout_width="match_parent"
908 android:layout_marginTop="15dp"
909 android:text="@string/issued_by"
910 android:textAllCaps="true"
911 android:textStyle="bold"
912 android:textColor="@color/blue_title_text" />
915 android:id="@+id/current_website_certificate_issued_by_cname"
916 android:layout_height="wrap_content"
917 android:layout_width="match_parent" />
920 android:id="@+id/current_website_certificate_issued_by_oname"
921 android:layout_height="wrap_content"
922 android:layout_width="match_parent" />
925 android:id="@+id/current_website_certificate_issued_by_uname"
926 android:layout_height="wrap_content"
927 android:layout_width="match_parent" />
929 <!-- Current Website Certificate Valid Dates. -->
931 android:layout_height="wrap_content"
932 android:layout_width="match_parent"
933 android:layout_marginTop="15dp"
934 android:text="@string/valid_dates"
935 android:textAllCaps="true"
936 android:textStyle="bold"
937 android:textColor="@color/blue_title_text" />
940 android:id="@+id/current_website_certificate_start_date"
941 android:layout_height="wrap_content"
942 android:layout_width="match_parent" />
945 android:id="@+id/current_website_certificate_end_date"
946 android:layout_height="wrap_content"
947 android:layout_width="match_parent" />
950 </androidx.cardview.widget.CardView>
952 <!-- Load An Encrypted Website Instructions. -->
954 android:id="@+id/no_current_website_certificate"
955 android:layout_height="wrap_content"
956 android:layout_width="match_parent"
957 android:layout_marginTop="10dp"
958 android:layout_marginBottom="10dp"
959 android:layout_marginStart="40dp"
960 android:layout_marginEnd="40dp"
961 android:gravity="center_horizontal"
962 android:text="@string/load_an_encrypted_website" />
965 <!-- Pinned IP Addresses -->
967 android:layout_height="wrap_content"
968 android:layout_width="match_parent"
969 android:orientation="vertical"
970 android:layout_marginTop="18dp"
971 android:layout_marginBottom="18dp"
972 android:layout_marginStart="12dp"
973 android:layout_marginEnd="12dp" >
977 android:layout_height="wrap_content"
978 android:layout_width="match_parent"
979 android:orientation="horizontal" >
982 android:id="@+id/pinned_ip_addresses_imageview"
983 android:layout_height="wrap_content"
984 android:layout_width="wrap_content"
985 android:layout_marginTop="1dp"
986 android:layout_marginEnd="10dp"
987 android:layout_gravity="center_vertical"
988 android:src="@drawable/ssl_certificate"
989 app:tint="@color/blue_icon_selector"
990 tools:ignore="contentDescription" />
992 <androidx.appcompat.widget.SwitchCompat
993 android:id="@+id/pinned_ip_addresses_switch"
994 android:layout_height="wrap_content"
995 android:layout_width="match_parent"
996 android:layout_marginStart="8dp"
997 android:text="@string/pinned_ip_addresses"
998 android:textColor="?android:textColorPrimary"
999 android:textSize="18sp" />
1002 <!-- Saved IP Addresses -->
1003 <androidx.cardview.widget.CardView
1004 android:id="@+id/saved_ip_addresses_cardview"
1005 android:layout_height="wrap_content"
1006 android:layout_width="match_parent"
1007 android:layout_marginTop="10dp"
1008 android:layout_marginStart="10dp"
1009 android:layout_marginEnd="10dp" >
1012 android:id="@+id/saved_ip_addresses_linearlayout"
1013 android:layout_height="wrap_content"
1014 android:layout_width="match_parent"
1015 android:orientation="vertical"
1016 android:padding="10dp" >
1019 android:id="@+id/saved_ip_addresses_radiobutton"
1020 android:layout_height="wrap_content"
1021 android:layout_width="match_parent"
1022 android:text="@string/saved_ip_addresses"
1023 android:textSize="17sp"
1024 android:textAllCaps="true"
1025 android:textStyle="bold"
1026 android:textColor="?android:textColorPrimary" />
1029 android:id="@+id/saved_ip_addresses_textview"
1030 android:layout_height="wrap_content"
1031 android:layout_width="match_parent"
1032 android:layout_marginStart="32dp"
1033 android:textColor="@color/blue_text" />
1035 </androidx.cardview.widget.CardView>
1037 <androidx.cardview.widget.CardView
1038 android:id="@+id/current_ip_addresses_cardview"
1039 android:layout_height="wrap_content"
1040 android:layout_width="match_parent"
1041 android:layout_margin="10dp">
1044 android:id="@+id/current_ip_addresses_linearlayout"
1045 android:layout_height="wrap_content"
1046 android:layout_width="match_parent"
1047 android:orientation="vertical"
1048 android:padding="10dp" >
1051 android:id="@+id/current_ip_addresses_radiobutton"
1052 android:layout_height="wrap_content"
1053 android:layout_width="match_parent"
1054 android:text="@string/current_ip_addresses"
1055 android:textSize="17sp"
1056 android:textAllCaps="true"
1057 android:textStyle="bold"
1058 android:textColor="?android:textColorPrimary" />
1061 android:id="@+id/current_ip_addresses_textview"
1062 android:layout_height="wrap_content"
1063 android:layout_width="match_parent"
1064 android:layout_marginStart="32dp"
1065 android:textColor="@color/blue_text" />
1067 </androidx.cardview.widget.CardView>