]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/domain_settings_fragment.xml
First wrong button text in View Headers in night theme. https://redmine.stoutner...
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / domain_settings_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright 2017-2024 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
7
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.
12
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.
17
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/>. -->
20
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" >
30
31     <LinearLayout
32         android:layout_height="wrap_content"
33         android:layout_width="match_parent"
34         android:orientation="vertical"
35         android:divider="?android:attr/dividerVertical" >
36
37         <!-- Domain name. -->
38         <LinearLayout
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" >
45
46             <LinearLayout
47                 android:layout_height="wrap_content"
48                 android:layout_width="match_parent"
49                 android:orientation="horizontal" >
50
51                 <ImageView
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" />
60
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" >
66
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>
75             </LinearLayout>
76
77             <TextView
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" />
84         </LinearLayout>
85
86         <!-- JavaScript. -->
87         <LinearLayout
88             android:id="@+id/javascript_linearlayout"
89             android:layout_height="wrap_content"
90             android:layout_width="match_parent"
91             android:orientation="vertical"
92             android:padding="12dp" >
93
94             <TextView
95                 android:layout_height="wrap_content"
96                 android:layout_width="match_parent"
97                 android:text="@string/javascript" />
98
99             <LinearLayout
100                 android:layout_height="wrap_content"
101                 android:layout_width="match_parent"
102                 android:text="@string/javascript" >
103
104                 <ImageView
105                     android:id="@+id/javascript_imageview"
106                     android:layout_height="wrap_content"
107                     android:layout_width="wrap_content"
108                     android:layout_marginTop="1dp"
109                     android:layout_marginEnd="10dp"
110                     android:layout_gravity="center_vertical"
111                     android:contentDescription="@string/javascript" />
112
113                 <Spinner
114                     android:id="@+id/javascript_spinner"
115                     android:layout_height="wrap_content"
116                     android:layout_width="match_parent" />
117             </LinearLayout>
118
119             <TextView
120                 android:id="@+id/javascript_textview"
121                 android:layout_height="wrap_content"
122                 android:layout_width="match_parent"
123                 android:layout_marginStart="45dp"
124                 android:layout_marginEnd="36dp"
125                 android:textSize="13sp" />
126         </LinearLayout>
127
128         <!-- Cookies. -->
129         <LinearLayout
130             android:id="@+id/cookies_linearlayout"
131             android:layout_height="wrap_content"
132             android:layout_width="match_parent"
133             android:orientation="vertical"
134             android:padding="12dp" >
135
136             <TextView
137                 android:layout_height="wrap_content"
138                 android:layout_width="match_parent"
139                 android:text="@string/cookies" />
140
141             <LinearLayout
142                 android:layout_height="wrap_content"
143                 android:layout_width="match_parent"
144                 android:text="@string/cookies" >
145
146                 <ImageView
147                     android:id="@+id/cookies_imageview"
148                     android:layout_height="wrap_content"
149                     android:layout_width="wrap_content"
150                     android:layout_marginTop="1dp"
151                     android:layout_marginEnd="10dp"
152                     android:layout_gravity="center_vertical"
153                     android:src="@drawable/cookies_enabled"
154                     app:tint="@color/yellow_icon_selector"
155                     android:contentDescription="@string/cookies" />
156
157                 <Spinner
158                     android:id="@+id/cookies_spinner"
159                     android:layout_height="wrap_content"
160                     android:layout_width="match_parent" />
161             </LinearLayout>
162
163             <TextView
164                 android:id="@+id/cookies_textview"
165                 android:layout_height="wrap_content"
166                 android:layout_width="match_parent"
167                 android:layout_marginStart="45dp"
168                 android:layout_marginEnd="36dp"
169                 android:textSize="13sp" />
170         </LinearLayout>
171
172         <!-- DOM Storage. -->
173         <LinearLayout
174             android:id="@+id/dom_storage_linearlayout"
175             android:layout_height="wrap_content"
176             android:layout_width="match_parent"
177             android:orientation="vertical"
178             android:padding="12dp" >
179
180             <TextView
181                 android:layout_height="wrap_content"
182                 android:layout_width="match_parent"
183                 android:text="@string/dom_storage" />
184
185             <LinearLayout
186                 android:layout_height="wrap_content"
187                 android:layout_width="match_parent"
188                 android:text="@string/dom_storage" >
189
190                 <ImageView
191                     android:id="@+id/dom_storage_imageview"
192                     android:layout_height="wrap_content"
193                     android:layout_width="wrap_content"
194                     android:layout_marginTop="1dp"
195                     android:layout_marginEnd="10dp"
196                     android:layout_gravity="center_vertical"
197                     android:src="@drawable/dom_storage_enabled"
198                     app:tint="@color/yellow_icon_selector"
199                     android:contentDescription="@string/dom_storage" />
200
201                 <Spinner
202                     android:id="@+id/dom_storage_spinner"
203                     android:layout_height="wrap_content"
204                     android:layout_width="match_parent" />
205             </LinearLayout>
206
207             <TextView
208                 android:id="@+id/dom_storage_textview"
209                 android:layout_height="wrap_content"
210                 android:layout_width="match_parent"
211                 android:layout_marginStart="45dp"
212                 android:layout_marginEnd="36dp"
213                 android:textSize="13sp" />
214         </LinearLayout>
215
216         <!-- User Agent. -->
217         <LinearLayout
218             android:id="@+id/user_agent_linearlayout"
219             android:layout_height="wrap_content"
220             android:layout_width="match_parent"
221             android:orientation="vertical"
222             android:padding="12dp" >
223
224             <TextView
225                 android:layout_height="wrap_content"
226                 android:layout_width="match_parent"
227                 android:text="@string/user_agent" />
228
229             <LinearLayout
230                 android:layout_height="wrap_content"
231                 android:layout_width="match_parent"
232                 android:orientation="horizontal" >
233
234                 <ImageView
235                     android:layout_height="wrap_content"
236                     android:layout_width="wrap_content"
237                     android:layout_marginTop="1dp"
238                     android:layout_marginEnd="10dp"
239                     android:layout_gravity="center_vertical"
240                     android:src="@drawable/user_agent"
241                     app:tint="@color/blue_icon"
242                     android:contentDescription="@string/user_agent" />
243
244                 <Spinner
245                     android:id="@+id/user_agent_spinner"
246                     android:layout_height="wrap_content"
247                     android:layout_width="match_parent" />
248             </LinearLayout>
249
250             <TextView
251                 android:id="@+id/user_agent_textview"
252                 android:layout_height="wrap_content"
253                 android:layout_width="match_parent"
254                 android:layout_marginStart="45dp"
255                 android:layout_marginEnd="36dp"
256                 android:textSize="13sp" />
257
258             <EditText
259                 android:id="@+id/custom_user_agent_edittext"
260                 android:layout_height="wrap_content"
261                 android:layout_width="match_parent"
262                 android:layout_marginStart="40dp"
263                 android:layout_marginEnd="60dp"
264                 android:inputType="textUri"
265                 android:hint="@string/custom_user_agent"
266                 android:importantForAutofill="no" />
267         </LinearLayout>
268
269         <!-- EasyList. -->
270         <LinearLayout
271             android:id="@+id/easylist_linearlayout"
272             android:layout_height="wrap_content"
273             android:layout_width="match_parent"
274             android:orientation="vertical"
275             android:padding="12dp" >
276
277             <TextView
278                 android:layout_height="wrap_content"
279                 android:layout_width="match_parent"
280                 android:text="@string/easylist" />
281
282             <LinearLayout
283                 android:layout_height="wrap_content"
284                 android:layout_width="match_parent"
285                 android:orientation="horizontal" >
286
287                 <ImageView
288                     android:id="@+id/easylist_imageview"
289                     android:layout_height="wrap_content"
290                     android:layout_width="wrap_content"
291                     android:layout_marginTop="1dp"
292                     android:layout_marginEnd="10dp"
293                     android:layout_gravity="center_vertical"
294                     android:src="@drawable/block_ads_enabled"
295                     app:tint="@color/blue_icon_selector"
296                     android:contentDescription="@string/easylist" />
297
298                 <Spinner
299                     android:id="@+id/easylist_spinner"
300                     android:layout_height="wrap_content"
301                     android:layout_width="match_parent" />
302             </LinearLayout>
303
304             <TextView
305                 android:id="@+id/easylist_textview"
306                 android:layout_height="wrap_content"
307                 android:layout_width="match_parent"
308                 android:layout_marginStart="45dp"
309                 android:layout_marginEnd="36dp"
310                 android:textSize="13sp" />
311         </LinearLayout>
312
313         <!-- EasyPrivacy. -->
314         <LinearLayout
315             android:id="@+id/easyprivacy_linearlayout"
316             android:layout_height="wrap_content"
317             android:layout_width="match_parent"
318             android:orientation="vertical"
319             android:padding="12dp" >
320
321             <TextView
322                 android:layout_height="wrap_content"
323                 android:layout_width="match_parent"
324                 android:text="@string/easyprivacy" />
325
326             <LinearLayout
327                 android:layout_height="wrap_content"
328                 android:layout_width="match_parent"
329                 android:orientation="horizontal" >
330
331                 <ImageView
332                     android:id="@+id/easyprivacy_imageview"
333                     android:layout_height="wrap_content"
334                     android:layout_width="wrap_content"
335                     android:layout_marginTop="1dp"
336                     android:layout_marginEnd="10dp"
337                     android:layout_gravity="center_vertical"
338                     android:src="@drawable/block_tracking_enabled"
339                     app:tint="@color/blue_icon_selector"
340                     android:contentDescription="@string/easyprivacy" />
341
342                 <Spinner
343                     android:id="@+id/easyprivacy_spinner"
344                     android:layout_height="wrap_content"
345                     android:layout_width="match_parent" />
346             </LinearLayout>
347
348             <TextView
349                 android:id="@+id/easyprivacy_textview"
350                 android:layout_height="wrap_content"
351                 android:layout_width="match_parent"
352                 android:layout_marginStart="45dp"
353                 android:layout_marginEnd="36dp"
354                 android:textSize="13sp" />
355         </LinearLayout>
356
357         <!-- Fanboy's Annoyance List. -->
358         <LinearLayout
359             android:id="@+id/fanboys_annoyance_list_linearlayout"
360             android:layout_height="wrap_content"
361             android:layout_width="match_parent"
362             android:orientation="vertical"
363             android:padding="12dp" >
364
365             <TextView
366                 android:layout_height="wrap_content"
367                 android:layout_width="match_parent"
368                 android:text="@string/fanboys_annoyance_list" />
369
370             <LinearLayout
371                 android:layout_height="wrap_content"
372                 android:layout_width="match_parent"
373                 android:orientation="horizontal" >
374
375                 <ImageView
376                     android:id="@+id/fanboys_annoyance_list_imageview"
377                     android:layout_height="wrap_content"
378                     android:layout_width="wrap_content"
379                     android:layout_marginTop="1dp"
380                     android:layout_marginEnd="10dp"
381                     android:layout_gravity="center_vertical"
382                     android:src="@drawable/social_media_enabled"
383                     app:tint="@color/blue_icon_selector"
384                     android:contentDescription="@string/fanboys_annoyance_list" />
385
386                 <Spinner
387                     android:id="@+id/fanboys_annoyance_list_spinner"
388                     android:layout_height="wrap_content"
389                     android:layout_width="match_parent" />
390             </LinearLayout>
391
392             <TextView
393                 android:id="@+id/fanboys_annoyance_list_textview"
394                 android:layout_height="wrap_content"
395                 android:layout_width="match_parent"
396                 android:layout_marginStart="45dp"
397                 android:layout_marginEnd="36dp"
398                 android:textSize="13sp" />
399         </LinearLayout>
400
401         <!-- Fanboy's Social Blocking List. -->
402         <LinearLayout
403             android:id="@+id/fanboys_social_blocking_list_linearlayout"
404             android:layout_height="wrap_content"
405             android:layout_width="match_parent"
406             android:orientation="vertical"
407             android:padding="12dp" >
408
409             <TextView
410                 android:layout_height="wrap_content"
411                 android:layout_width="match_parent"
412                 android:text="@string/fanboys_social_blocking_list" />
413
414             <LinearLayout
415                 android:layout_height="wrap_content"
416                 android:layout_width="match_parent"
417                 android:orientation="horizontal" >
418
419                 <ImageView
420                     android:id="@+id/fanboys_social_blocking_list_imageview"
421                     android:layout_height="wrap_content"
422                     android:layout_width="wrap_content"
423                     android:layout_marginTop="1dp"
424                     android:layout_marginEnd="10dp"
425                     android:layout_gravity="center_vertical"
426                     android:src="@drawable/social_media_enabled"
427                     app:tint="@color/blue_icon_selector"
428                     android:contentDescription="@string/fanboys_social_blocking_list" />
429
430                 <Spinner
431                     android:id="@+id/fanboys_social_blocking_list_spinner"
432                     android:layout_height="wrap_content"
433                     android:layout_width="match_parent" />
434             </LinearLayout>
435
436             <TextView
437                 android:id="@+id/fanboys_social_blocking_list_textview"
438                 android:layout_height="wrap_content"
439                 android:layout_width="match_parent"
440                 android:layout_marginStart="45dp"
441                 android:layout_marginEnd="36dp"
442                 android:textSize="13sp" />
443         </LinearLayout>
444
445         <!-- UltraList. -->
446         <LinearLayout
447             android:id="@+id/ultralist_linearlayout"
448             android:layout_height="wrap_content"
449             android:layout_width="match_parent"
450             android:orientation="vertical"
451             android:padding="12dp" >
452
453             <TextView
454                 android:layout_height="wrap_content"
455                 android:layout_width="match_parent"
456                 android:text="@string/ultralist" />
457
458             <LinearLayout
459                 android:layout_height="wrap_content"
460                 android:layout_width="match_parent"
461                 android:orientation="horizontal" >
462
463                 <ImageView
464                     android:id="@+id/ultralist_imageview"
465                     android:layout_height="wrap_content"
466                     android:layout_width="wrap_content"
467                     android:layout_marginTop="1dp"
468                     android:layout_marginEnd="10dp"
469                     android:layout_gravity="center_vertical"
470                     android:src="@drawable/block_ads_enabled"
471                     app:tint="@color/blue_icon_selector"
472                     android:contentDescription="@string/ultralist" />
473
474                 <Spinner
475                     android:id="@+id/ultralist_spinner"
476                     android:layout_height="wrap_content"
477                     android:layout_width="match_parent" />
478             </LinearLayout>
479
480             <TextView
481                 android:id="@+id/ultralist_textview"
482                 android:layout_height="wrap_content"
483                 android:layout_width="match_parent"
484                 android:layout_marginStart="45dp"
485                 android:layout_marginEnd="36dp"
486                 android:textSize="13sp" />
487         </LinearLayout>
488
489         <!-- UltraPrivacy. -->
490         <LinearLayout
491             android:id="@+id/ultraprivacy_linearlayout"
492             android:layout_height="wrap_content"
493             android:layout_width="match_parent"
494             android:orientation="vertical"
495             android:padding="12dp" >
496
497             <TextView
498                 android:layout_height="wrap_content"
499                 android:layout_width="match_parent"
500                 android:text="@string/ultraprivacy" />
501
502             <LinearLayout
503                 android:layout_height="wrap_content"
504                 android:layout_width="match_parent"
505                 android:orientation="horizontal" >
506
507                 <ImageView
508                     android:id="@+id/ultraprivacy_imageview"
509                     android:layout_height="wrap_content"
510                     android:layout_width="wrap_content"
511                     android:layout_marginTop="1dp"
512                     android:layout_marginEnd="10dp"
513                     android:layout_gravity="center_vertical"
514                     android:src="@drawable/block_tracking_enabled"
515                     app:tint="@color/blue_icon_selector"
516                     android:contentDescription="@string/ultraprivacy" />
517
518                 <Spinner
519                     android:id="@+id/ultraprivacy_spinner"
520                     android:layout_height="wrap_content"
521                     android:layout_width="match_parent" />
522             </LinearLayout>
523
524             <TextView
525                 android:id="@+id/ultraprivacy_textview"
526                 android:layout_height="wrap_content"
527                 android:layout_width="match_parent"
528                 android:layout_marginStart="45dp"
529                 android:layout_marginEnd="36dp"
530                 android:textSize="13sp" />
531         </LinearLayout>
532
533         <!-- Block All Third Party Requests. -->
534         <LinearLayout
535             android:id="@+id/block_all_third_party_requests_linearlayout"
536             android:layout_height="wrap_content"
537             android:layout_width="match_parent"
538             android:orientation="vertical"
539             android:padding="12dp" >
540
541             <TextView
542                 android:layout_height="wrap_content"
543                 android:layout_width="match_parent"
544                 android:text="@string/block_all_third_party_requests" />
545
546             <LinearLayout
547                 android:layout_height="wrap_content"
548                 android:layout_width="match_parent"
549                 android:orientation="horizontal" >
550
551                 <ImageView
552                     android:id="@+id/block_all_third_party_requests_imageview"
553                     android:layout_height="wrap_content"
554                     android:layout_width="wrap_content"
555                     android:layout_marginTop="1dp"
556                     android:layout_marginEnd="10dp"
557                     android:layout_gravity="center_vertical"
558                     android:src="@drawable/block_all_third_party_requests_enabled"
559                     app:tint="@color/blue_icon_selector"
560                     android:contentDescription="@string/block_all_third_party_requests" />
561
562                 <Spinner
563                     android:id="@+id/block_all_third_party_requests_spinner"
564                     android:layout_height="wrap_content"
565                     android:layout_width="match_parent"
566                     tools:ignore="TooManyViews" />
567             </LinearLayout>
568
569             <TextView
570                 android:id="@+id/block_all_third_party_requests_textview"
571                 android:layout_height="wrap_content"
572                 android:layout_width="match_parent"
573                 android:layout_marginStart="45dp"
574                 android:layout_marginEnd="36dp"
575                 android:textSize="13sp" />
576         </LinearLayout>
577
578         <!-- Font Size. -->
579         <LinearLayout
580             android:id="@+id/font_size_linearlayout"
581             android:layout_height="wrap_content"
582             android:layout_width="match_parent"
583             android:orientation="vertical"
584             android:padding="12dp" >
585
586             <TextView
587                 android:layout_height="wrap_content"
588                 android:layout_width="match_parent"
589                 android:text="@string/font_size" />
590
591             <LinearLayout
592                 android:layout_height="wrap_content"
593                 android:layout_width="match_parent"
594                 android:orientation="horizontal" >
595
596                 <ImageView
597                     android:layout_height="wrap_content"
598                     android:layout_width="wrap_content"
599                     android:layout_marginTop="1dp"
600                     android:layout_marginEnd="10dp"
601                     android:layout_gravity="center_vertical"
602                     android:src="@drawable/font_size"
603                     app:tint="@color/blue_icon"
604                     android:contentDescription="@string/font_size" />
605
606                 <Spinner
607                     android:id="@+id/font_size_spinner"
608                     android:layout_height="wrap_content"
609                     android:layout_width="match_parent" />
610             </LinearLayout>
611
612             <TextView
613                 android:id="@+id/default_font_size_textview"
614                 android:layout_height="wrap_content"
615                 android:layout_width="match_parent"
616                 android:layout_marginStart="45dp"
617                 android:layout_marginEnd="36dp"
618                 android:textSize="13sp" />
619
620             <EditText
621                 android:id="@+id/custom_font_size_edittext"
622                 android:layout_height="wrap_content"
623                 android:layout_width="match_parent"
624                 android:layout_marginStart="40dp"
625                 android:layout_marginEnd="60dp"
626                 android:inputType="number"
627                 android:hint="@string/font_size"
628                 android:importantForAutofill="no" />
629         </LinearLayout>
630
631         <!-- Swipe to Refresh. -->
632         <LinearLayout
633             android:id="@+id/swipe_to_refresh_linearlayout"
634             android:layout_height="wrap_content"
635             android:layout_width="match_parent"
636             android:orientation="vertical"
637             android:padding="12dp" >
638
639             <TextView
640                 android:layout_height="wrap_content"
641                 android:layout_width="match_parent"
642                 android:text="@string/swipe_to_refresh" />
643
644             <LinearLayout
645                 android:layout_height="wrap_content"
646                 android:layout_width="match_parent"
647                 android:orientation="horizontal" >
648
649                 <ImageView
650                     android:id="@+id/swipe_to_refresh_imageview"
651                     android:layout_height="wrap_content"
652                     android:layout_width="wrap_content"
653                     android:layout_marginTop="1dp"
654                     android:layout_marginEnd="10dp"
655                     android:layout_gravity="center_vertical"
656                     android:src="@drawable/refresh_enabled"
657                     app:tint="@color/blue_icon_selector"
658                     android:contentDescription="@string/swipe_to_refresh" />
659
660                 <Spinner
661                     android:id="@+id/swipe_to_refresh_spinner"
662                     android:layout_height="wrap_content"
663                     android:layout_width="match_parent" />
664             </LinearLayout>
665
666             <TextView
667                 android:id="@+id/swipe_to_refresh_textview"
668                 android:layout_height="wrap_content"
669                 android:layout_width="match_parent"
670                 android:layout_marginStart="45dp"
671                 android:layout_marginEnd="36dp"
672                 android:textSize="13sp" />
673         </LinearLayout>
674
675         <!-- WebView Theme. -->
676         <LinearLayout
677             android:id="@+id/webview_theme_linearlayout"
678             android:layout_height="wrap_content"
679             android:layout_width="match_parent"
680             android:orientation="vertical"
681             android:padding="12dp" >
682
683             <TextView
684                 android:layout_height="wrap_content"
685                 android:layout_width="match_parent"
686                 android:text="@string/webview_theme" />
687
688             <LinearLayout
689                 android:layout_height="wrap_content"
690                 android:layout_width="match_parent"
691                 android:orientation="horizontal" >
692
693                 <ImageView
694                     android:id="@+id/webview_theme_imageview"
695                     android:layout_height="wrap_content"
696                     android:layout_width="wrap_content"
697                     android:layout_marginTop="1dp"
698                     android:layout_marginEnd="10dp"
699                     android:layout_gravity="center_vertical"
700                     android:src="@drawable/webview_light_theme"
701                     app:tint="@color/blue_icon_selector"
702                     android:contentDescription="@string/webview_theme" />
703
704                 <Spinner
705                     android:id="@+id/webview_theme_spinner"
706                     android:layout_height="wrap_content"
707                     android:layout_width="match_parent" />
708             </LinearLayout>
709
710             <TextView
711                 android:id="@+id/webview_theme_textview"
712                 android:layout_height="wrap_content"
713                 android:layout_width="match_parent"
714                 android:layout_marginStart="45dp"
715                 android:layout_marginEnd="36dp"
716                 android:textSize="13sp" />
717         </LinearLayout>
718
719         <!-- Wide Viewport. -->
720         <LinearLayout
721             android:id="@+id/wide_viewport_linearlayout"
722             android:layout_height="wrap_content"
723             android:layout_width="match_parent"
724             android:orientation="vertical"
725             android:padding="12dp" >
726
727             <TextView
728                 android:layout_height="wrap_content"
729                 android:layout_width="match_parent"
730                 android:text="@string/wide_viewport" />
731
732             <LinearLayout
733                 android:layout_height="wrap_content"
734                 android:layout_width="match_parent"
735                 android:orientation="horizontal" >
736
737                 <ImageView
738                     android:id="@+id/wide_viewport_imageview"
739                     android:layout_height="wrap_content"
740                     android:layout_width="wrap_content"
741                     android:layout_marginTop="1dp"
742                     android:layout_marginEnd="10dp"
743                     android:layout_gravity="center_vertical"
744                     android:src="@drawable/wide_viewport_enabled"
745                     app:tint="@color/blue_icon_selector"
746                     android:contentDescription="@string/wide_viewport" />
747
748                 <Spinner
749                     android:id="@+id/wide_viewport_spinner"
750                     android:layout_height="wrap_content"
751                     android:layout_width="match_parent" />
752             </LinearLayout>
753
754             <TextView
755                 android:id="@+id/wide_viewport_textview"
756                 android:layout_height="wrap_content"
757                 android:layout_width="match_parent"
758                 android:layout_marginStart="45dp"
759                 android:layout_marginEnd="36dp"
760                 android:textSize="13sp" />
761         </LinearLayout>
762
763         <!-- Display Images. -->
764         <LinearLayout
765             android:id="@+id/display_images_linearlayout"
766             android:layout_height="wrap_content"
767             android:layout_width="match_parent"
768             android:orientation="vertical"
769             android:padding="12dp" >
770
771             <TextView
772                 android:layout_height="wrap_content"
773                 android:layout_width="match_parent"
774                 android:text="@string/display_images" />
775
776             <LinearLayout
777                 android:layout_height="wrap_content"
778                 android:layout_width="match_parent"
779                 android:orientation="horizontal" >
780
781                 <ImageView
782                     android:id="@+id/display_images_imageview"
783                     android:layout_height="wrap_content"
784                     android:layout_width="wrap_content"
785                     android:layout_marginTop="1dp"
786                     android:layout_marginEnd="10dp"
787                     android:layout_gravity="center_vertical"
788                     android:src="@drawable/images_enabled"
789                     app:tint="@color/blue_icon_selector"
790                     android:contentDescription="@string/display_webpage_images" />
791
792                 <Spinner
793                     android:id="@+id/display_images_spinner"
794                     android:layout_height="wrap_content"
795                     android:layout_width="match_parent" />
796             </LinearLayout>
797
798             <TextView
799                 android:id="@+id/display_images_textview"
800                 android:layout_height="wrap_content"
801                 android:layout_width="match_parent"
802                 android:layout_marginStart="45dp"
803                 android:layout_marginEnd="36dp"
804                 android:textSize="13sp" />
805         </LinearLayout>
806
807         <!-- Pinned SSL Certificate -->
808         <LinearLayout
809             android:layout_height="wrap_content"
810             android:layout_width="match_parent"
811             android:orientation="vertical"
812             android:layout_marginTop="18dp"
813             android:layout_marginBottom="18dp"
814             android:layout_marginStart="12dp"
815             android:layout_marginEnd="12dp" >
816
817             <!-- Switch -->
818             <LinearLayout
819                 android:layout_height="wrap_content"
820                 android:layout_width="match_parent"
821                 android:orientation="horizontal" >
822
823                 <ImageView
824                     android:id="@+id/pinned_ssl_certificate_imageview"
825                     android:layout_height="wrap_content"
826                     android:layout_width="wrap_content"
827                     android:layout_marginTop="1dp"
828                     android:layout_marginEnd="10dp"
829                     android:layout_gravity="center_vertical"
830                     android:src="@drawable/ssl_certificate"
831                     app:tint="@color/blue_icon_selector"
832                     tools:ignore="contentDescription" />
833
834                 <androidx.appcompat.widget.SwitchCompat
835                     android:id="@+id/pinned_ssl_certificate_switch"
836                     android:layout_height="wrap_content"
837                     android:layout_width="match_parent"
838                     android:layout_marginStart="8dp"
839                     android:text="@string/pinned_ssl_certificate"
840                     android:textColor="?android:textColorPrimary"
841                     android:textSize="18sp" />
842             </LinearLayout>
843
844             <!-- Saved Certificate -->
845             <androidx.cardview.widget.CardView
846                 android:id="@+id/saved_ssl_certificate_cardview"
847                 android:layout_height="wrap_content"
848                 android:layout_width="match_parent"
849                 android:layout_marginTop="10dp"
850                 android:layout_marginStart="10dp"
851                 android:layout_marginEnd="10dp" >
852
853                 <LinearLayout
854                     android:id="@+id/saved_ssl_certificate_linearlayout"
855                     android:layout_height="wrap_content"
856                     android:layout_width="match_parent"
857                     android:orientation="vertical"
858                     android:padding="10dp" >
859
860                     <RadioButton
861                         android:id="@+id/saved_ssl_certificate_radiobutton"
862                         android:layout_height="wrap_content"
863                         android:layout_width="match_parent"
864                         android:text="@string/saved_ssl_certificate"
865                         android:textSize="17sp"
866                         android:textAllCaps="true"
867                         android:textStyle="bold"
868                         android:textColor="?android:textColorPrimary"
869                         tools:ignore="TooManyViews" />
870
871                     <LinearLayout
872                         android:layout_height="wrap_content"
873                         android:layout_width="match_parent"
874                         android:layout_marginStart="32dp"
875                         android:orientation="vertical" >
876
877                         <!-- Saved Certificate Issued To. -->
878                         <TextView
879                             android:layout_height="wrap_content"
880                             android:layout_width="match_parent"
881                             android:text="@string/issued_to"
882                             android:textAllCaps="true"
883                             android:textStyle="bold"
884                             android:textColor="@color/blue_title_text" />
885
886                         <TextView
887                             android:id="@+id/saved_ssl_certificate_issued_to_cname"
888                             android:layout_height="wrap_content"
889                             android:layout_width="match_parent" />
890
891                         <TextView
892                             android:id="@+id/saved_ssl_certificate_issued_to_oname"
893                             android:layout_height="wrap_content"
894                             android:layout_width="match_parent" />
895
896                         <TextView
897                             android:id="@+id/saved_ssl_certificate_issued_to_uname"
898                             android:layout_height="wrap_content"
899                             android:layout_width="match_parent"/>
900
901                         <!-- Saved Certificate Issued By. -->
902                         <TextView
903                             android:layout_height="wrap_content"
904                             android:layout_width="match_parent"
905                             android:layout_marginTop="15dp"
906                             android:text="@string/issued_by"
907                             android:textAllCaps="true"
908                             android:textStyle="bold"
909                             android:textColor="@color/blue_title_text"/>
910
911                         <TextView
912                             android:id="@+id/saved_ssl_certificate_issued_by_cname"
913                             android:layout_height="wrap_content"
914                             android:layout_width="match_parent" />
915
916                         <TextView
917                             android:id="@+id/saved_ssl_certificate_issued_by_oname"
918                             android:layout_height="wrap_content"
919                             android:layout_width="match_parent" />
920
921                         <TextView
922                             android:id="@+id/saved_ssl_certificate_issued_by_uname"
923                             android:layout_height="wrap_content"
924                             android:layout_width="match_parent" />
925
926                         <!-- Saved Certificate Valid Dates. -->
927                         <TextView
928                             android:layout_height="wrap_content"
929                             android:layout_width="match_parent"
930                             android:layout_marginTop="15dp"
931                             android:text="@string/valid_dates"
932                             android:textAllCaps="true"
933                             android:textStyle="bold"
934                             android:textColor="@color/blue_title_text"/>
935
936                         <TextView
937                             android:id="@+id/saved_ssl_certificate_start_date"
938                             android:layout_height="wrap_content"
939                             android:layout_width="match_parent" />
940
941                         <TextView
942                             android:id="@+id/saved_ssl_certificate_end_date"
943                             android:layout_height="wrap_content"
944                             android:layout_width="match_parent" />
945                     </LinearLayout>
946                 </LinearLayout>
947             </androidx.cardview.widget.CardView>
948
949             <!-- Current Website Certificate -->
950             <androidx.cardview.widget.CardView
951                 android:id="@+id/current_website_certificate_cardview"
952                 android:layout_height="wrap_content"
953                 android:layout_width="match_parent"
954                 android:layout_margin="10dp" >
955
956                 <LinearLayout
957                     android:id="@+id/current_website_certificate_linearlayout"
958                     android:layout_height="wrap_content"
959                     android:layout_width="match_parent"
960                     android:orientation="vertical"
961                     android:padding="10dp" >
962
963                     <RadioButton
964                         android:id="@+id/current_website_certificate_radiobutton"
965                         android:layout_height="wrap_content"
966                         android:layout_width="match_parent"
967                         android:text="@string/current_website_ssl_certificate"
968                         android:textSize="17sp"
969                         android:textAllCaps="true"
970                         android:textStyle="bold"
971                         android:textColor="?android:textColorPrimary" />
972
973                     <LinearLayout
974                         android:layout_height="wrap_content"
975                         android:layout_width="match_parent"
976                         android:layout_marginStart="32dp"
977                         android:orientation="vertical" >
978
979                         <!-- Current Website Certificate Issued To. -->
980                         <TextView
981                             android:layout_height="wrap_content"
982                             android:layout_width="match_parent"
983                             android:text="@string/issued_to"
984                             android:textAllCaps="true"
985                             android:textStyle="bold"
986                             android:textColor="@color/blue_title_text" />
987
988                         <TextView
989                             android:id="@+id/current_website_certificate_issued_to_cname"
990                             android:layout_height="wrap_content"
991                             android:layout_width="match_parent" />
992
993                         <TextView
994                             android:id="@+id/current_website_certificate_issued_to_oname"
995                             android:layout_height="wrap_content"
996                             android:layout_width="match_parent" />
997
998                         <TextView
999                             android:id="@+id/current_website_certificate_issued_to_uname"
1000                             android:layout_height="wrap_content"
1001                             android:layout_width="match_parent" />
1002
1003                         <!-- Current Website Certificate Issued By. -->
1004                         <TextView
1005                             android:layout_height="wrap_content"
1006                             android:layout_width="match_parent"
1007                             android:layout_marginTop="15dp"
1008                             android:text="@string/issued_by"
1009                             android:textAllCaps="true"
1010                             android:textStyle="bold"
1011                             android:textColor="@color/blue_title_text" />
1012
1013                         <TextView
1014                             android:id="@+id/current_website_certificate_issued_by_cname"
1015                             android:layout_height="wrap_content"
1016                             android:layout_width="match_parent" />
1017
1018                         <TextView
1019                             android:id="@+id/current_website_certificate_issued_by_oname"
1020                             android:layout_height="wrap_content"
1021                             android:layout_width="match_parent" />
1022
1023                         <TextView
1024                             android:id="@+id/current_website_certificate_issued_by_uname"
1025                             android:layout_height="wrap_content"
1026                             android:layout_width="match_parent" />
1027
1028                         <!-- Current Website Certificate Valid Dates. -->
1029                         <TextView
1030                             android:layout_height="wrap_content"
1031                             android:layout_width="match_parent"
1032                             android:layout_marginTop="15dp"
1033                             android:text="@string/valid_dates"
1034                             android:textAllCaps="true"
1035                             android:textStyle="bold"
1036                             android:textColor="@color/blue_title_text" />
1037
1038                         <TextView
1039                             android:id="@+id/current_website_certificate_start_date"
1040                             android:layout_height="wrap_content"
1041                             android:layout_width="match_parent" />
1042
1043                         <TextView
1044                             android:id="@+id/current_website_certificate_end_date"
1045                             android:layout_height="wrap_content"
1046                             android:layout_width="match_parent" />
1047                     </LinearLayout>
1048                 </LinearLayout>
1049             </androidx.cardview.widget.CardView>
1050
1051             <!-- Load An Encrypted Website Instructions. -->
1052             <TextView
1053                 android:id="@+id/no_current_website_certificate"
1054                 android:layout_height="wrap_content"
1055                 android:layout_width="match_parent"
1056                 android:layout_marginTop="10dp"
1057                 android:layout_marginBottom="10dp"
1058                 android:layout_marginStart="40dp"
1059                 android:layout_marginEnd="40dp"
1060                 android:gravity="center_horizontal"
1061                 android:text="@string/load_an_encrypted_website" />
1062         </LinearLayout>
1063
1064         <!-- Pinned IP Addresses -->
1065         <LinearLayout
1066             android:layout_height="wrap_content"
1067             android:layout_width="match_parent"
1068             android:orientation="vertical"
1069             android:layout_marginTop="18dp"
1070             android:layout_marginBottom="18dp"
1071             android:layout_marginStart="12dp"
1072             android:layout_marginEnd="12dp" >
1073
1074             <!-- Switch -->
1075             <LinearLayout
1076                 android:layout_height="wrap_content"
1077                 android:layout_width="match_parent"
1078                 android:orientation="horizontal" >
1079
1080                 <ImageView
1081                     android:id="@+id/pinned_ip_addresses_imageview"
1082                     android:layout_height="wrap_content"
1083                     android:layout_width="wrap_content"
1084                     android:layout_marginTop="1dp"
1085                     android:layout_marginEnd="10dp"
1086                     android:layout_gravity="center_vertical"
1087                     android:src="@drawable/ssl_certificate"
1088                     app:tint="@color/blue_icon_selector"
1089                     tools:ignore="contentDescription" />
1090
1091                 <androidx.appcompat.widget.SwitchCompat
1092                     android:id="@+id/pinned_ip_addresses_switch"
1093                     android:layout_height="wrap_content"
1094                     android:layout_width="match_parent"
1095                     android:layout_marginStart="8dp"
1096                     android:text="@string/pinned_ip_addresses"
1097                     android:textColor="?android:textColorPrimary"
1098                     android:textSize="18sp" />
1099             </LinearLayout>
1100
1101             <!-- Saved IP Addresses -->
1102             <androidx.cardview.widget.CardView
1103                 android:id="@+id/saved_ip_addresses_cardview"
1104                 android:layout_height="wrap_content"
1105                 android:layout_width="match_parent"
1106                 android:layout_marginTop="10dp"
1107                 android:layout_marginStart="10dp"
1108                 android:layout_marginEnd="10dp" >
1109
1110                 <LinearLayout
1111                     android:id="@+id/saved_ip_addresses_linearlayout"
1112                     android:layout_height="wrap_content"
1113                     android:layout_width="match_parent"
1114                     android:orientation="vertical"
1115                     android:padding="10dp" >
1116
1117                     <RadioButton
1118                         android:id="@+id/saved_ip_addresses_radiobutton"
1119                         android:layout_height="wrap_content"
1120                         android:layout_width="match_parent"
1121                         android:text="@string/saved_ip_addresses"
1122                         android:textSize="17sp"
1123                         android:textAllCaps="true"
1124                         android:textStyle="bold"
1125                         android:textColor="?android:textColorPrimary" />
1126
1127                     <TextView
1128                         android:id="@+id/saved_ip_addresses_textview"
1129                         android:layout_height="wrap_content"
1130                         android:layout_width="match_parent"
1131                         android:layout_marginStart="32dp"
1132                         android:textColor="@color/blue_text" />
1133                 </LinearLayout>
1134             </androidx.cardview.widget.CardView>
1135
1136             <androidx.cardview.widget.CardView
1137                 android:id="@+id/current_ip_addresses_cardview"
1138                 android:layout_height="wrap_content"
1139                 android:layout_width="match_parent"
1140                 android:layout_margin="10dp">
1141
1142                 <LinearLayout
1143                     android:id="@+id/current_ip_addresses_linearlayout"
1144                     android:layout_height="wrap_content"
1145                     android:layout_width="match_parent"
1146                     android:orientation="vertical"
1147                     android:padding="10dp" >
1148
1149                     <RadioButton
1150                         android:id="@+id/current_ip_addresses_radiobutton"
1151                         android:layout_height="wrap_content"
1152                         android:layout_width="match_parent"
1153                         android:text="@string/current_ip_addresses"
1154                         android:textSize="17sp"
1155                         android:textAllCaps="true"
1156                         android:textStyle="bold"
1157                         android:textColor="?android:textColorPrimary" />
1158
1159                     <TextView
1160                         android:id="@+id/current_ip_addresses_textview"
1161                         android:layout_height="wrap_content"
1162                         android:layout_width="match_parent"
1163                         android:layout_marginStart="32dp"
1164                         android:textColor="@color/blue_text" />
1165                 </LinearLayout>
1166             </androidx.cardview.widget.CardView>
1167         </LinearLayout>
1168     </LinearLayout>
1169 </ScrollView>