French Guide and About translations.
[PrivacyBrowser.git] / app / src / main / res / layout / domain_settings_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2017-2019 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
7
8   Privacy Browser is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <ScrollView
22     android:id="@+id/domain_settings_scrollview"
23     xmlns:android="http://schemas.android.com/apk/res/android"
24     xmlns:tools="http://schemas.android.com/tools"
25     android:layout_height="wrap_content"
26     android:layout_width="match_parent"
27     android:focusable="true"
28     android:focusableInTouchMode="true"
29     android:descendantFocusability="beforeDescendants" >
30
31     <LinearLayout
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" >
37
38         <!-- Domain name. -->
39         <LinearLayout
40             android:layout_height="wrap_content"
41             android:layout_width="match_parent"
42             android:orientation="vertical" >
43
44             <LinearLayout
45                 android:layout_height="wrap_content"
46                 android:layout_width="match_parent"
47                 android:orientation="horizontal" >
48
49                 <ImageView
50                     android:layout_height="wrap_content"
51                     android:layout_width="wrap_content"
52                     android:layout_marginEnd="10dp"
53                     android:layout_marginBottom="12dp"
54                     android:layout_gravity="bottom"
55                     android:src="@drawable/domains"
56                     android:tint="?attr/domainSettingsIconTintColor"
57                     tools:ignore="contentDescription" />
58
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" >
64
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>
73             </LinearLayout>
74
75             <TextView
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" />
82         </LinearLayout>
83
84         <!-- JavaScript. -->
85         <LinearLayout
86             android:layout_height="wrap_content"
87             android:layout_width="match_parent"
88             android:orientation="horizontal" >
89
90             <ImageView
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" />
98
99             <Switch
100                 android:id="@+id/javascript_switch"
101                 android:layout_height="wrap_content"
102                 android:layout_width="match_parent"
103                 android:layout_marginStart="8dp"
104                 android:layout_marginTop="14dp"
105                 android:layout_marginBottom="14dp"
106                 android:text="@string/javascript_enabled"
107                 android:textColor="?android:textColorPrimary"
108                 android:textSize="18sp" />
109         </LinearLayout>
110
111         <!-- First-Party Cookies. -->
112         <LinearLayout
113             android:layout_height="wrap_content"
114             android:layout_width="match_parent"
115             android:orientation="horizontal" >
116
117             <ImageView
118                 android:id="@+id/first_party_cookies_imageview"
119                 android:layout_height="wrap_content"
120                 android:layout_width="wrap_content"
121                 android:layout_marginTop="1dp"
122                 android:layout_marginEnd="10dp"
123                 android:layout_gravity="center_vertical"
124                 tools:ignore="contentDescription" />
125
126             <Switch
127                 android:id="@+id/first_party_cookies_switch"
128                 android:layout_height="wrap_content"
129                 android:layout_width="match_parent"
130                 android:layout_marginStart="8dp"
131                 android:layout_marginTop="14dp"
132                 android:layout_marginBottom="14dp"
133                 android:text="@string/first_party_cookies_enabled"
134                 android:textColor="?android:textColorPrimary"
135                 android:textSize="18sp" />
136         </LinearLayout>
137
138         <!-- Third-Party Cookies. -->
139         <LinearLayout
140             android:id="@+id/third_party_cookies_linearlayout"
141             android:layout_height="wrap_content"
142             android:layout_width="match_parent"
143             android:orientation="horizontal" >
144
145             <ImageView
146                 android:id="@+id/third_party_cookies_imageview"
147                 android:layout_height="wrap_content"
148                 android:layout_width="wrap_content"
149                 android:layout_marginTop="1dp"
150                 android:layout_marginEnd="10dp"
151                 android:layout_gravity="center_vertical"
152                 tools:ignore="contentDescription" />
153
154             <Switch
155                 android:id="@+id/third_party_cookies_switch"
156                 android:layout_height="wrap_content"
157                 android:layout_width="match_parent"
158                 android:layout_marginStart="8dp"
159                 android:layout_marginTop="14dp"
160                 android:layout_marginBottom="14dp"
161                 android:text="@string/third_party_cookies_enabled"
162                 android:textColor="?android:textColorPrimary"
163                 android:textSize="18sp" />
164         </LinearLayout>
165
166         <!-- DOM Storage. -->
167         <LinearLayout
168             android:layout_height="wrap_content"
169             android:layout_width="match_parent"
170             android:orientation="horizontal" >
171
172             <ImageView
173                 android:id="@+id/dom_storage_imageview"
174                 android:layout_height="wrap_content"
175                 android:layout_width="wrap_content"
176                 android:layout_marginTop="1dp"
177                 android:layout_marginEnd="10dp"
178                 android:layout_gravity="center_vertical"
179                 tools:ignore="contentDescription" />
180
181             <Switch
182                 android:id="@+id/dom_storage_switch"
183                 android:layout_height="wrap_content"
184                 android:layout_width="match_parent"
185                 android:layout_marginStart="8dp"
186                 android:layout_marginTop="14dp"
187                 android:layout_marginBottom="14dp"
188                 android:text="@string/dom_storage_enabled"
189                 android:textColor="?android:textColorPrimary"
190                 android:textSize="18sp" />
191         </LinearLayout>
192
193         <!-- Form Data. -->
194         <LinearLayout
195             android:layout_height="wrap_content"
196             android:layout_width="match_parent"
197             android:orientation="horizontal" >
198
199             <ImageView
200                 android:id="@+id/form_data_imageview"
201                 android:layout_height="wrap_content"
202                 android:layout_width="wrap_content"
203                 android:layout_marginTop="1dp"
204                 android:layout_marginEnd="10dp"
205                 android:layout_gravity="center_vertical"
206                 tools:ignore="contentDescription" />
207
208             <Switch
209                 android:id="@+id/form_data_switch"
210                 android:layout_height="wrap_content"
211                 android:layout_width="match_parent"
212                 android:layout_marginStart="8dp"
213                 android:layout_marginTop="14dp"
214                 android:layout_marginBottom="14dp"
215                 android:text="@string/form_data_enabled"
216                 android:textColor="?android:textColorPrimary"
217                 android:textSize="18sp" />
218         </LinearLayout>
219
220         <!-- EasyList. -->
221         <LinearLayout
222             android:layout_height="wrap_content"
223             android:layout_width="match_parent"
224             android:orientation="horizontal" >
225
226             <ImageView
227                 android:id="@+id/easylist_imageview"
228                 android:layout_height="wrap_content"
229                 android:layout_width="wrap_content"
230                 android:layout_marginTop="1dp"
231                 android:layout_marginEnd="10dp"
232                 android:layout_gravity="center_vertical"
233                 tools:ignore="contentDescription" />
234
235             <Switch
236                 android:id="@+id/easylist_switch"
237                 android:layout_height="wrap_content"
238                 android:layout_width="match_parent"
239                 android:layout_marginStart="8dp"
240                 android:layout_marginTop="14dp"
241                 android:layout_marginBottom="14dp"
242                 android:text="@string/easylist"
243                 android:textColor="?android:textColorPrimary"
244                 android:textSize="18sp" />
245         </LinearLayout>
246
247         <!-- EasyPrivacy. -->
248         <LinearLayout
249             android:layout_height="wrap_content"
250             android:layout_width="match_parent"
251             android:orientation="horizontal" >
252
253             <ImageView
254                 android:id="@+id/easyprivacy_imageview"
255                 android:layout_height="wrap_content"
256                 android:layout_width="wrap_content"
257                 android:layout_marginTop="1dp"
258                 android:layout_marginEnd="10dp"
259                 android:layout_gravity="center_vertical"
260                 tools:ignore="contentDescription" />
261
262             <Switch
263                 android:id="@+id/easyprivacy_switch"
264                 android:layout_height="wrap_content"
265                 android:layout_width="match_parent"
266                 android:layout_marginStart="8dp"
267                 android:layout_marginTop="14dp"
268                 android:layout_marginBottom="14dp"
269                 android:text="@string/easyprivacy"
270                 android:textColor="?android:textColorPrimary"
271                 android:textSize="18sp" />
272         </LinearLayout>
273
274         <!-- Fanboy's Annoyance List. -->
275         <LinearLayout
276             android:layout_height="wrap_content"
277             android:layout_width="match_parent"
278             android:orientation="horizontal" >
279
280             <ImageView
281                 android:id="@+id/fanboys_annoyance_list_imageview"
282                 android:layout_height="wrap_content"
283                 android:layout_width="wrap_content"
284                 android:layout_marginTop="1dp"
285                 android:layout_marginEnd="10dp"
286                 android:layout_gravity="center_vertical"
287                 tools:ignore="contentDescription" />
288
289             <Switch
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" />
299         </LinearLayout>
300
301         <!-- Fanboy's Social Blocking List. -->
302         <LinearLayout
303             android:layout_height="wrap_content"
304             android:layout_width="match_parent"
305             android:orientation="horizontal" >
306
307             <ImageView
308                 android:id="@+id/fanboys_social_blocking_list_imageview"
309                 android:layout_height="wrap_content"
310                 android:layout_width="wrap_content"
311                 android:layout_marginTop="1dp"
312                 android:layout_marginEnd="10dp"
313                 android:layout_gravity="center_vertical"
314                 tools:ignore="contentDescription" />
315
316             <Switch
317                 android:id="@+id/fanboys_social_blocking_list_switch"
318                 android:layout_height="wrap_content"
319                 android:layout_width="match_parent"
320                 android:layout_marginStart="8dp"
321                 android:layout_marginTop="14dp"
322                 android:layout_marginBottom="14dp"
323                 android:text="@string/fanboys_social_blocking_list"
324                 android:textColor="?android:textColorPrimary"
325                 android:textSize="18sp" />
326         </LinearLayout>
327
328         <!-- UltraList. -->
329         <LinearLayout
330             android:layout_height="wrap_content"
331             android:layout_width="match_parent"
332             android:orientation="horizontal" >
333
334             <ImageView
335                 android:id="@+id/ultralist_imageview"
336                 android:layout_height="wrap_content"
337                 android:layout_width="wrap_content"
338                 android:layout_marginTop="1dp"
339                 android:layout_marginEnd="10dp"
340                 android:layout_gravity="center_vertical"
341                 tools:ignore="contentDescription" />
342
343             <Switch
344                 android:id="@+id/ultralist_switch"
345                 android:layout_height="wrap_content"
346                 android:layout_width="match_parent"
347                 android:layout_marginStart="8dp"
348                 android:layout_marginTop="14dp"
349                 android:layout_marginBottom="14dp"
350                 android:text="@string/ultralist"
351                 android:textColor="?android:textColorPrimary"
352                 android:textSize="18sp" />
353         </LinearLayout>
354
355         <!-- UltraPrivacy. -->
356         <LinearLayout
357             android:layout_height="wrap_content"
358             android:layout_width="match_parent"
359             android:orientation="horizontal" >
360
361             <ImageView
362                 android:id="@+id/ultraprivacy_imageview"
363                 android:layout_height="wrap_content"
364                 android:layout_width="wrap_content"
365                 android:layout_marginTop="1dp"
366                 android:layout_marginEnd="10dp"
367                 android:layout_gravity="center_vertical"
368                 tools:ignore="contentDescription" />
369
370             <Switch
371                 android:id="@+id/ultraprivacy_switch"
372                 android:layout_height="wrap_content"
373                 android:layout_width="match_parent"
374                 android:layout_marginStart="8dp"
375                 android:layout_marginTop="14dp"
376                 android:layout_marginBottom="14dp"
377                 android:text="@string/ultraprivacy"
378                 android:textColor="?android:textColorPrimary"
379                 android:textSize="18sp" />
380         </LinearLayout>
381
382         <!-- Block All Third Party Requests. -->
383         <LinearLayout
384             android:layout_height="wrap_content"
385             android:layout_width="match_parent"
386             android:orientation="horizontal" >
387
388             <ImageView
389                 android:id="@+id/block_all_third_party_requests_imageview"
390                 android:layout_height="wrap_content"
391                 android:layout_width="wrap_content"
392                 android:layout_marginTop="1dp"
393                 android:layout_marginEnd="10dp"
394                 android:layout_gravity="center_vertical"
395                 tools:ignore="contentDescription" />
396
397             <Switch
398                 android:id="@+id/block_all_third_party_requests_switch"
399                 android:layout_height="wrap_content"
400                 android:layout_width="match_parent"
401                 android:layout_marginStart="8dp"
402                 android:layout_marginTop="14dp"
403                 android:layout_marginBottom="14dp"
404                 android:text="@string/block_all_third_party_requests"
405                 android:textColor="?android:textColorPrimary"
406                 android:textSize="18sp" />
407         </LinearLayout>
408
409         <!-- User Agent. -->
410         <LinearLayout
411             android:layout_height="wrap_content"
412             android:layout_width="match_parent"
413             android:orientation="vertical"
414             android:layout_marginTop="14dp"
415             android:layout_marginBottom="14dp" >
416
417             <LinearLayout
418                 android:layout_height="wrap_content"
419                 android:layout_width="match_parent"
420                 android:orientation="horizontal" >
421
422                 <ImageView
423                     android:layout_height="wrap_content"
424                     android:layout_width="wrap_content"
425                     android:layout_marginTop="1dp"
426                     android:layout_marginEnd="10dp"
427                     android:layout_gravity="center_vertical"
428                     android:src="@drawable/user_agent_light"
429                     android:tint="?attr/domainSettingsIconTintColor"
430                     android:contentDescription="@string/user_agent" />
431
432                 <Spinner
433                     android:id="@+id/user_agent_spinner"
434                     android:layout_height="wrap_content"
435                     android:layout_width="match_parent" />
436             </LinearLayout>
437
438             <TextView
439                 android:id="@+id/user_agent_textview"
440                 android:layout_height="match_parent"
441                 android:layout_width="match_parent"
442                 android:layout_marginStart="45dp"
443                 android:layout_marginEnd="36dp"
444                 android:textSize="13sp" />
445
446             <EditText
447                 android:id="@+id/custom_user_agent_edittext"
448                 android:layout_height="wrap_content"
449                 android:layout_width="match_parent"
450                 android:layout_marginStart="40dp"
451                 android:layout_marginEnd="60dp"
452                 android:inputType="textUri"
453                 android:hint="@string/custom_user_agent"
454                 android:importantForAutofill="no"
455                 tools:targetApi="26" />
456         </LinearLayout>
457
458         <!-- Font Size. -->
459         <LinearLayout
460             android:layout_height="wrap_content"
461             android:layout_width="match_parent"
462             android:orientation="vertical"
463             android:layout_marginTop="14dp"
464             android:layout_marginBottom="14dp" >
465
466             <LinearLayout
467                 android:layout_height="wrap_content"
468                 android:layout_width="match_parent"
469                 android:orientation="horizontal" >
470
471                 <ImageView
472                     android:layout_height="wrap_content"
473                     android:layout_width="wrap_content"
474                     android:layout_marginTop="1dp"
475                     android:layout_marginEnd="10dp"
476                     android:layout_gravity="center_vertical"
477                     android:src="@drawable/font_size_light"
478                     android:tint="?attr/domainSettingsIconTintColor"
479                     android:contentDescription="@string/font_size" />
480
481                 <Spinner
482                     android:id="@+id/font_size_spinner"
483                     android:layout_height="wrap_content"
484                     android:layout_width="match_parent" />
485             </LinearLayout>
486
487             <TextView
488                 android:id="@+id/font_size_textview"
489                 android:layout_height="match_parent"
490                 android:layout_width="match_parent"
491                 android:layout_marginStart="45dp"
492                 android:layout_marginEnd="36dp"
493                 android:textSize="13sp" />
494
495         </LinearLayout>
496
497         <!-- Swipe to Refresh. -->
498         <LinearLayout
499             android:layout_height="wrap_content"
500             android:layout_width="match_parent"
501             android:orientation="vertical"
502             android:layout_marginTop="14dp"
503             android:layout_marginBottom="14dp" >
504
505             <LinearLayout
506                 android:layout_height="wrap_content"
507                 android:layout_width="match_parent"
508                 android:orientation="horizontal" >
509
510                 <ImageView
511                     android:id="@+id/swipe_to_refresh_imageview"
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:contentDescription="@string/swipe_to_refresh" />
518
519                 <Spinner
520                     android:id="@+id/swipe_to_refresh_spinner"
521                     android:layout_height="wrap_content"
522                     android:layout_width="match_parent" />
523             </LinearLayout>
524
525             <TextView
526                 android:id="@+id/swipe_to_refresh_textview"
527                 android:layout_height="match_parent"
528                 android:layout_width="match_parent"
529                 android:layout_marginStart="45dp"
530                 android:layout_marginEnd="36dp"
531                 android:textSize="13sp" />
532         </LinearLayout>
533
534         <!-- Night Mode. -->
535         <LinearLayout
536             android:layout_height="wrap_content"
537             android:layout_width="match_parent"
538             android:orientation="vertical"
539             android:layout_marginTop="14dp"
540             android:layout_marginBottom="14dp" >
541
542             <LinearLayout
543                 android:layout_height="wrap_content"
544                 android:layout_width="match_parent"
545                 android:orientation="horizontal" >
546
547                 <ImageView
548                     android:id="@+id/night_mode_imageview"
549                     android:layout_height="wrap_content"
550                     android:layout_width="wrap_content"
551                     android:layout_marginTop="1dp"
552                     android:layout_marginEnd="10dp"
553                     android:layout_gravity="center_vertical"
554                     android:contentDescription="@string/night_mode" />
555
556                 <Spinner
557                     android:id="@+id/night_mode_spinner"
558                     android:layout_height="wrap_content"
559                     android:layout_width="match_parent" />
560             </LinearLayout>
561
562             <TextView
563                 android:id="@+id/night_mode_textview"
564                 android:layout_height="match_parent"
565                 android:layout_width="match_parent"
566                 android:layout_marginStart="45dp"
567                 android:layout_marginEnd="36dp"
568                 android:textSize="13sp" />
569         </LinearLayout>
570
571         <!-- Wide Viewport. -->
572         <LinearLayout
573             android:layout_height="wrap_content"
574             android:layout_width="match_parent"
575             android:orientation="vertical"
576             android:layout_marginTop="14dp"
577             android:layout_marginBottom="14dp" >
578
579             <LinearLayout
580                 android:layout_height="wrap_content"
581                 android:layout_width="match_parent"
582                 android:orientation="horizontal" >
583
584                 <ImageView
585                     android:id="@+id/wide_viewport_imageview"
586                     android:layout_height="wrap_content"
587                     android:layout_width="wrap_content"
588                     android:layout_marginTop="1dp"
589                     android:layout_marginEnd="10dp"
590                     android:layout_gravity="center_vertical"
591                     android:contentDescription="@string/wide_viewport" />
592
593                 <Spinner
594                     android:id="@+id/wide_viewport_spinner"
595                     android:layout_height="wrap_content"
596                     android:layout_width="match_parent" />
597             </LinearLayout>
598
599             <TextView
600                 android:id="@+id/wide_viewport_textview"
601                 android:layout_height="match_parent"
602                 android:layout_width="match_parent"
603                 android:layout_marginStart="45dp"
604                 android:layout_marginEnd="36dp"
605                 android:textSize="13sp" />
606         </LinearLayout>
607
608         <!-- Display Images. -->
609         <LinearLayout
610             android:layout_height="wrap_content"
611             android:layout_width="match_parent"
612             android:orientation="vertical"
613             android:layout_marginTop="14dp"
614             android:layout_marginBottom="14dp" >
615
616             <LinearLayout
617                 android:layout_height="wrap_content"
618                 android:layout_width="match_parent"
619                 android:orientation="horizontal" >
620
621                 <ImageView
622                     android:id="@+id/display_webpage_images_imageview"
623                     android:layout_height="wrap_content"
624                     android:layout_width="wrap_content"
625                     android:layout_marginTop="1dp"
626                     android:layout_marginEnd="10dp"
627                     android:layout_gravity="center_vertical"
628                     android:contentDescription="@string/display_webpage_images" />
629
630                 <Spinner
631                     android:id="@+id/display_webpage_images_spinner"
632                     android:layout_height="wrap_content"
633                     android:layout_width="match_parent" />
634             </LinearLayout>
635
636             <TextView
637                 android:id="@+id/display_webpage_images_textview"
638                 android:layout_height="match_parent"
639                 android:layout_width="match_parent"
640                 android:layout_marginStart="45dp"
641                 android:layout_marginEnd="36dp"
642                 android:textSize="13sp" />
643         </LinearLayout>
644
645         <!-- Pinned SSL Certificate -->
646         <LinearLayout
647             android:layout_height="wrap_content"
648             android:layout_width="match_parent"
649             android:orientation="vertical"
650             android:layout_marginTop="18dp"
651             android:layout_marginBottom="18dp" >
652
653             <!-- Switch -->
654             <LinearLayout
655                 android:layout_height="wrap_content"
656                 android:layout_width="match_parent"
657                 android:orientation="horizontal" >
658
659                 <ImageView
660                     android:id="@+id/pinned_ssl_certificate_imageview"
661                     android:layout_height="wrap_content"
662                     android:layout_width="wrap_content"
663                     android:layout_marginTop="1dp"
664                     android:layout_marginEnd="10dp"
665                     android:layout_gravity="center_vertical"
666                     tools:ignore="contentDescription" />
667
668                 <Switch
669                     android:id="@+id/pinned_ssl_certificate_switch"
670                     android:layout_height="wrap_content"
671                     android:layout_width="match_parent"
672                     android:layout_marginStart="8dp"
673                     android:text="@string/pinned_ssl_certificate"
674                     android:textColor="?android:textColorPrimary"
675                     android:textSize="18sp" />
676             </LinearLayout>
677
678             <!-- Saved Certificate -->
679             <androidx.cardview.widget.CardView
680                 android:id="@+id/saved_ssl_certificate_cardview"
681                 android:layout_height="wrap_content"
682                 android:layout_width="match_parent"
683                 android:layout_marginTop="10dp"
684                 android:layout_marginStart="10dp"
685                 android:layout_marginEnd="10dp" >
686
687                 <LinearLayout
688                     android:id="@+id/saved_ssl_certificate_linearlayout"
689                     android:layout_height="wrap_content"
690                     android:layout_width="match_parent"
691                     android:orientation="vertical"
692                     android:padding="10dp" >
693
694                     <RadioButton
695                         android:id="@+id/saved_ssl_certificate_radiobutton"
696                         android:layout_height="wrap_content"
697                         android:layout_width="match_parent"
698                         android:text="@string/saved_ssl_certificate"
699                         android:textSize="17sp"
700                         android:textAllCaps="true"
701                         android:textStyle="bold"
702                         android:textColor="?android:textColorPrimary" />
703
704                     <LinearLayout
705                         android:layout_height="wrap_content"
706                         android:layout_width="match_parent"
707                         android:layout_marginStart="32dp"
708                         android:orientation="vertical" >
709
710                         <!-- Saved Certificate Issued To. -->
711                         <TextView
712                             android:layout_height="wrap_content"
713                             android:layout_width="match_parent"
714                             android:text="@string/issued_to"
715                             android:textAllCaps="true"
716                             android:textStyle="bold"
717                             android:textColor="?attr/sslTitle" />
718
719                         <TextView
720                             android:id="@+id/saved_ssl_certificate_issued_to_cname"
721                             android:layout_height="wrap_content"
722                             android:layout_width="match_parent" />
723
724                         <TextView
725                             android:id="@+id/saved_ssl_certificate_issued_to_oname"
726                             android:layout_height="wrap_content"
727                             android:layout_width="match_parent" />
728
729                         <TextView
730                             android:id="@+id/saved_ssl_certificate_issued_to_uname"
731                             android:layout_height="wrap_content"
732                             android:layout_width="match_parent"/>
733
734                         <!-- Saved Certificate Issued By. -->
735                         <TextView
736                             android:layout_height="wrap_content"
737                             android:layout_width="match_parent"
738                             android:layout_marginTop="15dp"
739                             android:text="@string/issued_by"
740                             android:textAllCaps="true"
741                             android:textStyle="bold"
742                             android:textColor="?attr/sslTitle"/>
743
744                         <TextView
745                             android:id="@+id/saved_ssl_certificate_issued_by_cname"
746                             android:layout_height="wrap_content"
747                             android:layout_width="match_parent" />
748
749                         <TextView
750                             android:id="@+id/saved_ssl_certificate_issued_by_oname"
751                             android:layout_height="wrap_content"
752                             android:layout_width="match_parent" />
753
754                         <TextView
755                             android:id="@+id/saved_ssl_certificate_issued_by_uname"
756                             android:layout_height="wrap_content"
757                             android:layout_width="match_parent" />
758
759                         <!-- Saved Certificate Valid Dates. -->
760                         <TextView
761                             android:layout_height="wrap_content"
762                             android:layout_width="match_parent"
763                             android:layout_marginTop="15dp"
764                             android:text="@string/valid_dates"
765                             android:textAllCaps="true"
766                             android:textStyle="bold"
767                             android:textColor="?attr/sslTitle"/>
768
769                         <TextView
770                             android:id="@+id/saved_ssl_certificate_start_date"
771                             android:layout_height="wrap_content"
772                             android:layout_width="match_parent" />
773
774                         <TextView
775                             android:id="@+id/saved_ssl_certificate_end_date"
776                             android:layout_height="wrap_content"
777                             android:layout_width="match_parent" />
778                     </LinearLayout>
779                 </LinearLayout>
780             </androidx.cardview.widget.CardView>
781
782             <!-- Current Website Certificate -->
783             <androidx.cardview.widget.CardView
784                 android:id="@+id/current_website_certificate_cardview"
785                 android:layout_height="wrap_content"
786                 android:layout_width="match_parent"
787                 android:layout_margin="10dp" >
788
789                 <LinearLayout
790                     android:id="@+id/current_website_certificate_linearlayout"
791                     android:layout_height="wrap_content"
792                     android:layout_width="match_parent"
793                     android:orientation="vertical"
794                     android:padding="10dp" >
795
796                     <RadioButton
797                         android:id="@+id/current_website_certificate_radiobutton"
798                         android:layout_height="wrap_content"
799                         android:layout_width="match_parent"
800                         android:text="@string/current_website_ssl_certificate"
801                         android:textSize="17sp"
802                         android:textAllCaps="true"
803                         android:textStyle="bold"
804                         android:textColor="?android:textColorPrimary" />
805
806                     <LinearLayout
807                         android:layout_height="wrap_content"
808                         android:layout_width="match_parent"
809                         android:layout_marginStart="32dp"
810                         android:orientation="vertical" >
811
812                         <!-- Current Website Certificate Issued To. -->
813                         <TextView
814                             android:layout_height="wrap_content"
815                             android:layout_width="match_parent"
816                             android:text="@string/issued_to"
817                             android:textAllCaps="true"
818                             android:textStyle="bold"
819                             android:textColor="?attr/sslTitle" />
820
821                         <TextView
822                             android:id="@+id/current_website_certificate_issued_to_cname"
823                             android:layout_height="wrap_content"
824                             android:layout_width="match_parent" />
825
826                         <TextView
827                             android:id="@+id/current_website_certificate_issued_to_oname"
828                             android:layout_height="wrap_content"
829                             android:layout_width="match_parent" />
830
831                         <TextView
832                             android:id="@+id/current_website_certificate_issued_to_uname"
833                             android:layout_height="wrap_content"
834                             android:layout_width="match_parent" />
835
836                         <!-- Current Website Certificate Issued By. -->
837                         <TextView
838                             android:layout_height="wrap_content"
839                             android:layout_width="match_parent"
840                             android:layout_marginTop="15dp"
841                             android:text="@string/issued_by"
842                             android:textAllCaps="true"
843                             android:textStyle="bold"
844                             android:textColor="?attr/sslTitle" />
845
846                         <TextView
847                             android:id="@+id/current_website_certificate_issued_by_cname"
848                             android:layout_height="wrap_content"
849                             android:layout_width="match_parent" />
850
851                         <TextView
852                             android:id="@+id/current_website_certificate_issued_by_oname"
853                             android:layout_height="wrap_content"
854                             android:layout_width="match_parent" />
855
856                         <TextView
857                             android:id="@+id/current_website_certificate_issued_by_uname"
858                             android:layout_height="wrap_content"
859                             android:layout_width="match_parent" />
860
861                         <!-- Current Website Certificate Valid Dates. -->
862                         <TextView
863                             android:layout_height="wrap_content"
864                             android:layout_width="match_parent"
865                             android:layout_marginTop="15dp"
866                             android:text="@string/valid_dates"
867                             android:textAllCaps="true"
868                             android:textStyle="bold"
869                             android:textColor="?attr/sslTitle" />
870
871                         <TextView
872                             android:id="@+id/current_website_certificate_start_date"
873                             android:layout_height="wrap_content"
874                             android:layout_width="match_parent" />
875
876                         <TextView
877                             android:id="@+id/current_website_certificate_end_date"
878                             android:layout_height="wrap_content"
879                             android:layout_width="match_parent" />
880                     </LinearLayout>
881                 </LinearLayout>
882             </androidx.cardview.widget.CardView>
883
884             <!-- Load An Encrypted Website Instructions. -->
885             <TextView
886                 android:id="@+id/no_current_website_certificate"
887                 android:layout_height="wrap_content"
888                 android:layout_width="match_parent"
889                 android:layout_marginTop="10dp"
890                 android:layout_marginBottom="10dp"
891                 android:layout_marginStart="40dp"
892                 android:layout_marginEnd="40dp"
893                 android:gravity="center_horizontal"
894                 android:text="@string/load_an_encrypted_website" />
895         </LinearLayout>
896
897         <!-- Pinned IP Addresses -->
898         <LinearLayout
899             android:layout_height="wrap_content"
900             android:layout_width="match_parent"
901             android:orientation="vertical"
902             android:layout_marginTop="18dp"
903             android:layout_marginBottom="18dp" >
904
905             <!-- Switch -->
906             <LinearLayout
907                 android:layout_height="wrap_content"
908                 android:layout_width="match_parent"
909                 android:orientation="horizontal" >
910
911                 <ImageView
912                     android:id="@+id/pinned_ip_addresses_imageview"
913                     android:layout_height="wrap_content"
914                     android:layout_width="wrap_content"
915                     android:layout_marginTop="1dp"
916                     android:layout_marginEnd="10dp"
917                     android:layout_gravity="center_vertical"
918                     tools:ignore="contentDescription" />
919
920                 <Switch
921                     android:id="@+id/pinned_ip_addresses_switch"
922                     android:layout_height="wrap_content"
923                     android:layout_width="match_parent"
924                     android:layout_marginStart="8dp"
925                     android:text="@string/pinned_ip_addresses"
926                     android:textColor="?android:textColorPrimary"
927                     android:textSize="18sp" />
928             </LinearLayout>
929
930             <!-- Saved IP Addresses -->
931             <androidx.cardview.widget.CardView
932                 android:id="@+id/saved_ip_addresses_cardview"
933                 android:layout_height="wrap_content"
934                 android:layout_width="match_parent"
935                 android:layout_marginTop="10dp"
936                 android:layout_marginStart="10dp"
937                 android:layout_marginEnd="10dp" >
938
939                 <LinearLayout
940                     android:id="@+id/saved_ip_addresses_linearlayout"
941                     android:layout_height="wrap_content"
942                     android:layout_width="match_parent"
943                     android:orientation="vertical"
944                     android:padding="10dp" >
945
946                     <RadioButton
947                         android:id="@+id/saved_ip_addresses_radiobutton"
948                         android:layout_height="wrap_content"
949                         android:layout_width="match_parent"
950                         android:text="@string/saved_ip_addresses"
951                         android:textSize="17sp"
952                         android:textAllCaps="true"
953                         android:textStyle="bold"
954                         android:textColor="?android:textColorPrimary" />
955
956                     <TextView
957                         android:id="@+id/saved_ip_addresses_textview"
958                         android:layout_height="wrap_content"
959                         android:layout_width="match_parent"
960                         android:layout_marginStart="32dp"
961                         android:textColor="?attr/aboutText" />
962                 </LinearLayout>
963             </androidx.cardview.widget.CardView>
964
965             <androidx.cardview.widget.CardView
966                 android:id="@+id/current_ip_addresses_cardview"
967                 android:layout_height="wrap_content"
968                 android:layout_width="match_parent"
969                 android:layout_margin="10dp">
970
971                 <LinearLayout
972                     android:id="@+id/current_ip_addresses_linearlayout"
973                     android:layout_height="wrap_content"
974                     android:layout_width="match_parent"
975                     android:orientation="vertical"
976                     android:padding="10dp" >
977
978                     <RadioButton
979                         android:id="@+id/current_ip_addresses_radiobutton"
980                         android:layout_height="wrap_content"
981                         android:layout_width="match_parent"
982                         android:text="@string/current_ip_addresses"
983                         android:textSize="17sp"
984                         android:textAllCaps="true"
985                         android:textStyle="bold"
986                         android:textColor="?android:textColorPrimary" />
987
988                     <TextView
989                         android:id="@+id/current_ip_addresses_textview"
990                         android:layout_height="wrap_content"
991                         android:layout_width="match_parent"
992                         android:layout_marginStart="32dp"
993                         android:textColor="?attr/aboutText" />
994                 </LinearLayout>
995             </androidx.cardview.widget.CardView>
996         </LinearLayout>
997     </LinearLayout>
998 </ScrollView>