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 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 android:src="@drawable/block_ads_enabled"
206 app:tint="@color/blue_icon_selector"
207 tools:ignore="contentDescription" />
209 <androidx.appcompat.widget.SwitchCompat
210 android:id="@+id/easylist_switch"
211 android:layout_height="wrap_content"
212 android:layout_width="match_parent"
213 android:layout_marginStart="8dp"
214 android:layout_marginTop="14dp"
215 android:layout_marginBottom="14dp"
216 android:text="@string/easylist"
217 android:textColor="?android:textColorPrimary"
218 android:textSize="18sp" />
221 <!-- EasyPrivacy. -->
223 android:layout_height="wrap_content"
224 android:layout_width="match_parent"
225 android:orientation="horizontal" >
228 android:id="@+id/easyprivacy_imageview"
229 android:layout_height="wrap_content"
230 android:layout_width="wrap_content"
231 android:layout_marginTop="1dp"
232 android:layout_marginEnd="10dp"
233 android:layout_gravity="center_vertical"
234 android:src="@drawable/block_tracking_enabled"
235 app:tint="@color/blue_icon_selector"
236 tools:ignore="contentDescription" />
238 <androidx.appcompat.widget.SwitchCompat
239 android:id="@+id/easyprivacy_switch"
240 android:layout_height="wrap_content"
241 android:layout_width="match_parent"
242 android:layout_marginStart="8dp"
243 android:layout_marginTop="14dp"
244 android:layout_marginBottom="14dp"
245 android:text="@string/easyprivacy"
246 android:textColor="?android:textColorPrimary"
247 android:textSize="18sp" />
250 <!-- Fanboy's Annoyance List. -->
252 android:layout_height="wrap_content"
253 android:layout_width="match_parent"
254 android:orientation="horizontal" >
257 android:id="@+id/fanboys_annoyance_list_imageview"
258 android:layout_height="wrap_content"
259 android:layout_width="wrap_content"
260 android:layout_marginTop="1dp"
261 android:layout_marginEnd="10dp"
262 android:layout_gravity="center_vertical"
263 android:src="@drawable/social_media_enabled"
264 app:tint="@color/blue_icon_selector"
265 tools:ignore="contentDescription" />
267 <androidx.appcompat.widget.SwitchCompat
268 android:id="@+id/fanboys_annoyance_list_switch"
269 android:layout_height="wrap_content"
270 android:layout_width="match_parent"
271 android:layout_marginStart="8dp"
272 android:layout_marginTop="14dp"
273 android:layout_marginBottom="14dp"
274 android:text="@string/fanboys_annoyance_list"
275 android:textColor="?android:textColorPrimary"
276 android:textSize="18sp" />
279 <!-- Fanboy's Social Blocking List. -->
281 android:layout_height="wrap_content"
282 android:layout_width="match_parent"
283 android:orientation="horizontal" >
286 android:id="@+id/fanboys_social_blocking_list_imageview"
287 android:layout_height="wrap_content"
288 android:layout_width="wrap_content"
289 android:layout_marginTop="1dp"
290 android:layout_marginEnd="10dp"
291 android:layout_gravity="center_vertical"
292 android:src="@drawable/social_media_enabled"
293 app:tint="@color/blue_icon_selector"
294 tools:ignore="contentDescription" />
296 <androidx.appcompat.widget.SwitchCompat
297 android:id="@+id/fanboys_social_blocking_list_switch"
298 android:layout_height="wrap_content"
299 android:layout_width="match_parent"
300 android:layout_marginStart="8dp"
301 android:layout_marginTop="14dp"
302 android:layout_marginBottom="14dp"
303 android:text="@string/fanboys_social_blocking_list"
304 android:textColor="?android:textColorPrimary"
305 android:textSize="18sp" />
310 android:layout_height="wrap_content"
311 android:layout_width="match_parent"
312 android:orientation="horizontal" >
315 android:id="@+id/ultralist_imageview"
316 android:layout_height="wrap_content"
317 android:layout_width="wrap_content"
318 android:layout_marginTop="1dp"
319 android:layout_marginEnd="10dp"
320 android:layout_gravity="center_vertical"
321 android:src="@drawable/block_ads_enabled"
322 app:tint="@color/blue_icon_selector"
323 tools:ignore="contentDescription" />
325 <androidx.appcompat.widget.SwitchCompat
326 android:id="@+id/ultralist_switch"
327 android:layout_height="wrap_content"
328 android:layout_width="match_parent"
329 android:layout_marginStart="8dp"
330 android:layout_marginTop="14dp"
331 android:layout_marginBottom="14dp"
332 android:text="@string/ultralist"
333 android:textColor="?android:textColorPrimary"
334 android:textSize="18sp" />
337 <!-- UltraPrivacy. -->
339 android:layout_height="wrap_content"
340 android:layout_width="match_parent"
341 android:orientation="horizontal" >
344 android:id="@+id/ultraprivacy_imageview"
345 android:layout_height="wrap_content"
346 android:layout_width="wrap_content"
347 android:layout_marginTop="1dp"
348 android:layout_marginEnd="10dp"
349 android:layout_gravity="center_vertical"
350 android:src="@drawable/block_tracking_enabled"
351 app:tint="@color/blue_icon_selector"
352 tools:ignore="contentDescription" />
354 <androidx.appcompat.widget.SwitchCompat
355 android:id="@+id/ultraprivacy_switch"
356 android:layout_height="wrap_content"
357 android:layout_width="match_parent"
358 android:layout_marginStart="8dp"
359 android:layout_marginTop="14dp"
360 android:layout_marginBottom="14dp"
361 android:text="@string/ultraprivacy"
362 android:textColor="?android:textColorPrimary"
363 android:textSize="18sp" />
366 <!-- Block All Third Party Requests. -->
368 android:layout_height="wrap_content"
369 android:layout_width="match_parent"
370 android:orientation="horizontal" >
373 android:id="@+id/block_all_third_party_requests_imageview"
374 android:layout_height="wrap_content"
375 android:layout_width="wrap_content"
376 android:layout_marginTop="1dp"
377 android:layout_marginEnd="10dp"
378 android:layout_gravity="center_vertical"
379 android:src="@drawable/block_all_third_party_requests_enabled"
380 app:tint="@color/blue_icon_selector"
381 tools:ignore="contentDescription" />
383 <androidx.appcompat.widget.SwitchCompat
384 android:id="@+id/block_all_third_party_requests_switch"
385 android:layout_height="wrap_content"
386 android:layout_width="match_parent"
387 android:layout_marginStart="8dp"
388 android:layout_marginTop="14dp"
389 android:layout_marginBottom="14dp"
390 android:text="@string/block_all_third_party_requests"
391 android:textColor="?android:textColorPrimary"
392 android:textSize="18sp" />
397 android:layout_height="wrap_content"
398 android:layout_width="match_parent"
399 android:orientation="vertical"
400 android:layout_marginTop="14dp"
401 android:layout_marginBottom="14dp" >
404 android:layout_height="wrap_content"
405 android:layout_width="match_parent"
406 android:orientation="horizontal" >
409 android:layout_height="wrap_content"
410 android:layout_width="wrap_content"
411 android:layout_marginTop="1dp"
412 android:layout_marginEnd="10dp"
413 android:layout_gravity="center_vertical"
414 android:src="@drawable/user_agent"
415 app:tint="@color/blue_icon"
416 android:contentDescription="@string/user_agent" />
419 android:id="@+id/user_agent_spinner"
420 android:layout_height="wrap_content"
421 android:layout_width="match_parent" />
425 android:id="@+id/user_agent_textview"
426 android:layout_height="wrap_content"
427 android:layout_width="match_parent"
428 android:layout_marginStart="45dp"
429 android:layout_marginEnd="36dp"
430 android:textSize="13sp" />
433 android:id="@+id/custom_user_agent_edittext"
434 android:layout_height="wrap_content"
435 android:layout_width="match_parent"
436 android:layout_marginStart="40dp"
437 android:layout_marginEnd="60dp"
438 android:inputType="textUri"
439 android:hint="@string/custom_user_agent"
440 android:importantForAutofill="no" />
443 <!-- X-Requested-With Header. -->
445 android:layout_height="wrap_content"
446 android:layout_width="match_parent"
447 android:orientation="vertical"
448 android:layout_marginTop="14dp"
449 android:layout_marginBottom="14dp" >
452 android:layout_height="wrap_content"
453 android:layout_width="match_parent"
454 android:orientation="horizontal" >
457 android:id="@+id/x_requested_with_header_imageview"
458 android:layout_height="wrap_content"
459 android:layout_width="wrap_content"
460 android:layout_marginTop="1dp"
461 android:layout_marginEnd="10dp"
462 android:layout_gravity="center_vertical"
463 android:src="@drawable/x_requested_with_header_enabled"
464 app:tint="@color/blue_icon_selector"
465 android:contentDescription="@string/x_requested_with_header" />
468 android:id="@+id/x_requested_with_header_spinner"
469 android:layout_height="wrap_content"
470 android:layout_width="match_parent" />
474 android:id="@+id/x_requested_with_header_textview"
475 android:layout_height="wrap_content"
476 android:layout_width="match_parent"
477 android:layout_marginStart="45dp"
478 android:layout_marginEnd="36dp"
479 android:textSize="13sp" />
484 android:layout_height="wrap_content"
485 android:layout_width="match_parent"
486 android:orientation="vertical"
487 android:layout_marginTop="14dp"
488 android:layout_marginBottom="14dp" >
491 android:layout_height="wrap_content"
492 android:layout_width="match_parent"
493 android:orientation="horizontal" >
496 android:layout_height="wrap_content"
497 android:layout_width="wrap_content"
498 android:layout_marginTop="1dp"
499 android:layout_marginEnd="10dp"
500 android:layout_gravity="center_vertical"
501 android:src="@drawable/font_size"
502 app:tint="@color/blue_icon"
503 android:contentDescription="@string/font_size" />
506 android:id="@+id/font_size_spinner"
507 android:layout_height="wrap_content"
508 android:layout_width="match_parent" />
512 android:id="@+id/default_font_size_textview"
513 android:layout_height="wrap_content"
514 android:layout_width="match_parent"
515 android:layout_marginStart="45dp"
516 android:layout_marginEnd="36dp"
517 android:textSize="13sp" />
520 android:id="@+id/custom_font_size_edittext"
521 android:layout_height="wrap_content"
522 android:layout_width="match_parent"
523 android:layout_marginStart="40dp"
524 android:layout_marginEnd="60dp"
525 android:inputType="number"
526 android:hint="@string/font_size"
527 android:importantForAutofill="no" />
530 <!-- Swipe to Refresh. -->
532 android:layout_height="wrap_content"
533 android:layout_width="match_parent"
534 android:orientation="vertical"
535 android:layout_marginTop="14dp"
536 android:layout_marginBottom="14dp" >
539 android:layout_height="wrap_content"
540 android:layout_width="match_parent"
541 android:orientation="horizontal" >
544 android:id="@+id/swipe_to_refresh_imageview"
545 android:layout_height="wrap_content"
546 android:layout_width="wrap_content"
547 android:layout_marginTop="1dp"
548 android:layout_marginEnd="10dp"
549 android:layout_gravity="center_vertical"
550 android:src="@drawable/refresh_enabled"
551 app:tint="@color/blue_icon_selector"
552 android:contentDescription="@string/swipe_to_refresh" />
555 android:id="@+id/swipe_to_refresh_spinner"
556 android:layout_height="wrap_content"
557 android:layout_width="match_parent" />
561 android:id="@+id/swipe_to_refresh_textview"
562 android:layout_height="wrap_content"
563 android:layout_width="match_parent"
564 android:layout_marginStart="45dp"
565 android:layout_marginEnd="36dp"
566 android:textSize="13sp" />
569 <!-- WebView Theme. -->
571 android:id="@+id/webview_theme_linearlayout"
572 android:layout_height="wrap_content"
573 android:layout_width="match_parent"
574 android:orientation="vertical"
575 android:layout_marginTop="14dp"
576 android:layout_marginBottom="14dp" >
579 android:layout_height="wrap_content"
580 android:layout_width="match_parent"
581 android:orientation="horizontal" >
584 android:id="@+id/webview_theme_imageview"
585 android:layout_height="wrap_content"
586 android:layout_width="wrap_content"
587 android:layout_marginTop="1dp"
588 android:layout_marginEnd="10dp"
589 android:layout_gravity="center_vertical"
590 android:src="@drawable/webview_light_theme"
591 app:tint="@color/blue_icon_selector"
592 android:contentDescription="@string/webview_theme" />
595 android:id="@+id/webview_theme_spinner"
596 android:layout_height="wrap_content"
597 android:layout_width="match_parent" />
601 android:id="@+id/webview_theme_textview"
602 android:layout_height="wrap_content"
603 android:layout_width="match_parent"
604 android:layout_marginStart="45dp"
605 android:layout_marginEnd="36dp"
606 android:textSize="13sp" />
609 <!-- Wide Viewport. -->
611 android:layout_height="wrap_content"
612 android:layout_width="match_parent"
613 android:orientation="vertical"
614 android:layout_marginTop="14dp"
615 android:layout_marginBottom="14dp" >
618 android:layout_height="wrap_content"
619 android:layout_width="match_parent"
620 android:orientation="horizontal" >
623 android:id="@+id/wide_viewport_imageview"
624 android:layout_height="wrap_content"
625 android:layout_width="wrap_content"
626 android:layout_marginTop="1dp"
627 android:layout_marginEnd="10dp"
628 android:layout_gravity="center_vertical"
629 android:src="@drawable/wide_viewport_enabled"
630 app:tint="@color/blue_icon_selector"
631 android:contentDescription="@string/wide_viewport" />
634 android:id="@+id/wide_viewport_spinner"
635 android:layout_height="wrap_content"
636 android:layout_width="match_parent" />
640 android:id="@+id/wide_viewport_textview"
641 android:layout_height="wrap_content"
642 android:layout_width="match_parent"
643 android:layout_marginStart="45dp"
644 android:layout_marginEnd="36dp"
645 android:textSize="13sp" />
648 <!-- Display Images. -->
650 android:layout_height="wrap_content"
651 android:layout_width="match_parent"
652 android:orientation="vertical"
653 android:layout_marginTop="14dp"
654 android:layout_marginBottom="14dp" >
657 android:layout_height="wrap_content"
658 android:layout_width="match_parent"
659 android:orientation="horizontal" >
662 android:id="@+id/display_webpage_images_imageview"
663 android:layout_height="wrap_content"
664 android:layout_width="wrap_content"
665 android:layout_marginTop="1dp"
666 android:layout_marginEnd="10dp"
667 android:layout_gravity="center_vertical"
668 android:src="@drawable/images_enabled"
669 app:tint="@color/blue_icon_selector"
670 android:contentDescription="@string/display_webpage_images" />
673 android:id="@+id/display_webpage_images_spinner"
674 android:layout_height="wrap_content"
675 android:layout_width="match_parent" />
679 android:id="@+id/display_webpage_images_textview"
680 android:layout_height="wrap_content"
681 android:layout_width="match_parent"
682 android:layout_marginStart="45dp"
683 android:layout_marginEnd="36dp"
684 android:textSize="13sp" />
687 <!-- Pinned SSL Certificate -->
689 android:layout_height="wrap_content"
690 android:layout_width="match_parent"
691 android:orientation="vertical"
692 android:layout_marginTop="18dp"
693 android:layout_marginBottom="18dp" >
697 android:layout_height="wrap_content"
698 android:layout_width="match_parent"
699 android:orientation="horizontal" >
702 android:id="@+id/pinned_ssl_certificate_imageview"
703 android:layout_height="wrap_content"
704 android:layout_width="wrap_content"
705 android:layout_marginTop="1dp"
706 android:layout_marginEnd="10dp"
707 android:layout_gravity="center_vertical"
708 android:src="@drawable/ssl_certificate_enabled"
709 app:tint="@color/blue_icon_selector"
710 tools:ignore="contentDescription" />
712 <androidx.appcompat.widget.SwitchCompat
713 android:id="@+id/pinned_ssl_certificate_switch"
714 android:layout_height="wrap_content"
715 android:layout_width="match_parent"
716 android:layout_marginStart="8dp"
717 android:text="@string/pinned_ssl_certificate"
718 android:textColor="?android:textColorPrimary"
719 android:textSize="18sp"
720 tools:ignore="TooManyViews" />
723 <!-- Saved Certificate -->
724 <androidx.cardview.widget.CardView
725 android:id="@+id/saved_ssl_certificate_cardview"
726 android:layout_height="wrap_content"
727 android:layout_width="match_parent"
728 android:layout_marginTop="10dp"
729 android:layout_marginStart="10dp"
730 android:layout_marginEnd="10dp" >
733 android:id="@+id/saved_ssl_certificate_linearlayout"
734 android:layout_height="wrap_content"
735 android:layout_width="match_parent"
736 android:orientation="vertical"
737 android:padding="10dp" >
740 android:id="@+id/saved_ssl_certificate_radiobutton"
741 android:layout_height="wrap_content"
742 android:layout_width="match_parent"
743 android:text="@string/saved_ssl_certificate"
744 android:textSize="17sp"
745 android:textAllCaps="true"
746 android:textStyle="bold"
747 android:textColor="?android:textColorPrimary" />
750 android:layout_height="wrap_content"
751 android:layout_width="match_parent"
752 android:layout_marginStart="32dp"
753 android:orientation="vertical" >
755 <!-- Saved Certificate Issued To. -->
757 android:layout_height="wrap_content"
758 android:layout_width="match_parent"
759 android:text="@string/issued_to"
760 android:textAllCaps="true"
761 android:textStyle="bold"
762 android:textColor="@color/blue_title_text" />
765 android:id="@+id/saved_ssl_certificate_issued_to_cname"
766 android:layout_height="wrap_content"
767 android:layout_width="match_parent" />
770 android:id="@+id/saved_ssl_certificate_issued_to_oname"
771 android:layout_height="wrap_content"
772 android:layout_width="match_parent" />
775 android:id="@+id/saved_ssl_certificate_issued_to_uname"
776 android:layout_height="wrap_content"
777 android:layout_width="match_parent"/>
779 <!-- Saved Certificate Issued By. -->
781 android:layout_height="wrap_content"
782 android:layout_width="match_parent"
783 android:layout_marginTop="15dp"
784 android:text="@string/issued_by"
785 android:textAllCaps="true"
786 android:textStyle="bold"
787 android:textColor="@color/blue_title_text"/>
790 android:id="@+id/saved_ssl_certificate_issued_by_cname"
791 android:layout_height="wrap_content"
792 android:layout_width="match_parent" />
795 android:id="@+id/saved_ssl_certificate_issued_by_oname"
796 android:layout_height="wrap_content"
797 android:layout_width="match_parent" />
800 android:id="@+id/saved_ssl_certificate_issued_by_uname"
801 android:layout_height="wrap_content"
802 android:layout_width="match_parent" />
804 <!-- Saved Certificate Valid Dates. -->
806 android:layout_height="wrap_content"
807 android:layout_width="match_parent"
808 android:layout_marginTop="15dp"
809 android:text="@string/valid_dates"
810 android:textAllCaps="true"
811 android:textStyle="bold"
812 android:textColor="@color/blue_title_text"/>
815 android:id="@+id/saved_ssl_certificate_start_date"
816 android:layout_height="wrap_content"
817 android:layout_width="match_parent" />
820 android:id="@+id/saved_ssl_certificate_end_date"
821 android:layout_height="wrap_content"
822 android:layout_width="match_parent" />
825 </androidx.cardview.widget.CardView>
827 <!-- Current Website Certificate -->
828 <androidx.cardview.widget.CardView
829 android:id="@+id/current_website_certificate_cardview"
830 android:layout_height="wrap_content"
831 android:layout_width="match_parent"
832 android:layout_margin="10dp" >
835 android:id="@+id/current_website_certificate_linearlayout"
836 android:layout_height="wrap_content"
837 android:layout_width="match_parent"
838 android:orientation="vertical"
839 android:padding="10dp" >
842 android:id="@+id/current_website_certificate_radiobutton"
843 android:layout_height="wrap_content"
844 android:layout_width="match_parent"
845 android:text="@string/current_website_ssl_certificate"
846 android:textSize="17sp"
847 android:textAllCaps="true"
848 android:textStyle="bold"
849 android:textColor="?android:textColorPrimary" />
852 android:layout_height="wrap_content"
853 android:layout_width="match_parent"
854 android:layout_marginStart="32dp"
855 android:orientation="vertical" >
857 <!-- Current Website Certificate Issued To. -->
859 android:layout_height="wrap_content"
860 android:layout_width="match_parent"
861 android:text="@string/issued_to"
862 android:textAllCaps="true"
863 android:textStyle="bold"
864 android:textColor="@color/blue_title_text" />
867 android:id="@+id/current_website_certificate_issued_to_cname"
868 android:layout_height="wrap_content"
869 android:layout_width="match_parent" />
872 android:id="@+id/current_website_certificate_issued_to_oname"
873 android:layout_height="wrap_content"
874 android:layout_width="match_parent" />
877 android:id="@+id/current_website_certificate_issued_to_uname"
878 android:layout_height="wrap_content"
879 android:layout_width="match_parent" />
881 <!-- Current Website Certificate Issued By. -->
883 android:layout_height="wrap_content"
884 android:layout_width="match_parent"
885 android:layout_marginTop="15dp"
886 android:text="@string/issued_by"
887 android:textAllCaps="true"
888 android:textStyle="bold"
889 android:textColor="@color/blue_title_text" />
892 android:id="@+id/current_website_certificate_issued_by_cname"
893 android:layout_height="wrap_content"
894 android:layout_width="match_parent" />
897 android:id="@+id/current_website_certificate_issued_by_oname"
898 android:layout_height="wrap_content"
899 android:layout_width="match_parent" />
902 android:id="@+id/current_website_certificate_issued_by_uname"
903 android:layout_height="wrap_content"
904 android:layout_width="match_parent" />
906 <!-- Current Website Certificate Valid Dates. -->
908 android:layout_height="wrap_content"
909 android:layout_width="match_parent"
910 android:layout_marginTop="15dp"
911 android:text="@string/valid_dates"
912 android:textAllCaps="true"
913 android:textStyle="bold"
914 android:textColor="@color/blue_title_text" />
917 android:id="@+id/current_website_certificate_start_date"
918 android:layout_height="wrap_content"
919 android:layout_width="match_parent" />
922 android:id="@+id/current_website_certificate_end_date"
923 android:layout_height="wrap_content"
924 android:layout_width="match_parent" />
927 </androidx.cardview.widget.CardView>
929 <!-- Load An Encrypted Website Instructions. -->
931 android:id="@+id/no_current_website_certificate"
932 android:layout_height="wrap_content"
933 android:layout_width="match_parent"
934 android:layout_marginTop="10dp"
935 android:layout_marginBottom="10dp"
936 android:layout_marginStart="40dp"
937 android:layout_marginEnd="40dp"
938 android:gravity="center_horizontal"
939 android:text="@string/load_an_encrypted_website" />
942 <!-- Pinned IP Addresses -->
944 android:layout_height="wrap_content"
945 android:layout_width="match_parent"
946 android:orientation="vertical"
947 android:layout_marginTop="18dp"
948 android:layout_marginBottom="18dp" >
952 android:layout_height="wrap_content"
953 android:layout_width="match_parent"
954 android:orientation="horizontal" >
957 android:id="@+id/pinned_ip_addresses_imageview"
958 android:layout_height="wrap_content"
959 android:layout_width="wrap_content"
960 android:layout_marginTop="1dp"
961 android:layout_marginEnd="10dp"
962 android:layout_gravity="center_vertical"
963 android:src="@drawable/ssl_certificate_enabled"
964 app:tint="@color/blue_icon_selector"
965 tools:ignore="contentDescription" />
967 <androidx.appcompat.widget.SwitchCompat
968 android:id="@+id/pinned_ip_addresses_switch"
969 android:layout_height="wrap_content"
970 android:layout_width="match_parent"
971 android:layout_marginStart="8dp"
972 android:text="@string/pinned_ip_addresses"
973 android:textColor="?android:textColorPrimary"
974 android:textSize="18sp" />
977 <!-- Saved IP Addresses -->
978 <androidx.cardview.widget.CardView
979 android:id="@+id/saved_ip_addresses_cardview"
980 android:layout_height="wrap_content"
981 android:layout_width="match_parent"
982 android:layout_marginTop="10dp"
983 android:layout_marginStart="10dp"
984 android:layout_marginEnd="10dp" >
987 android:id="@+id/saved_ip_addresses_linearlayout"
988 android:layout_height="wrap_content"
989 android:layout_width="match_parent"
990 android:orientation="vertical"
991 android:padding="10dp" >
994 android:id="@+id/saved_ip_addresses_radiobutton"
995 android:layout_height="wrap_content"
996 android:layout_width="match_parent"
997 android:text="@string/saved_ip_addresses"
998 android:textSize="17sp"
999 android:textAllCaps="true"
1000 android:textStyle="bold"
1001 android:textColor="?android:textColorPrimary" />
1004 android:id="@+id/saved_ip_addresses_textview"
1005 android:layout_height="wrap_content"
1006 android:layout_width="match_parent"
1007 android:layout_marginStart="32dp"
1008 android:textColor="@color/blue_text" />
1010 </androidx.cardview.widget.CardView>
1012 <androidx.cardview.widget.CardView
1013 android:id="@+id/current_ip_addresses_cardview"
1014 android:layout_height="wrap_content"
1015 android:layout_width="match_parent"
1016 android:layout_margin="10dp">
1019 android:id="@+id/current_ip_addresses_linearlayout"
1020 android:layout_height="wrap_content"
1021 android:layout_width="match_parent"
1022 android:orientation="vertical"
1023 android:padding="10dp" >
1026 android:id="@+id/current_ip_addresses_radiobutton"
1027 android:layout_height="wrap_content"
1028 android:layout_width="match_parent"
1029 android:text="@string/current_ip_addresses"
1030 android:textSize="17sp"
1031 android:textAllCaps="true"
1032 android:textStyle="bold"
1033 android:textColor="?android:textColorPrimary" />
1036 android:id="@+id/current_ip_addresses_textview"
1037 android:layout_height="wrap_content"
1038 android:layout_width="match_parent"
1039 android:layout_marginStart="32dp"
1040 android:textColor="@color/blue_text" />
1042 </androidx.cardview.widget.CardView>