1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2016-2018,2020 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
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.
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.
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/>. -->
21 <!-- The scroll view allows the linear layout to scroll if it exceeds the height of the page. -->
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" >
29 android:layout_height="wrap_content"
30 android:layout_width="match_parent"
31 android:orientation="vertical"
32 android:padding="16dp" >
34 <!-- The `RelativeLayout` contains the header. -->
36 android:layout_width="match_parent"
37 android:layout_height="wrap_content" >
39 <!--`tools:ignore="RtlSymmetry"` suppressed the lint warning about adding `android:paddingStart`, which wouldn't work with this layout.
40 `tools:ignore="ContentDescription"` suppresses the lint warning about supplying a content description for the image view,
41 which isn't needed in this case because the image view is only decorative. -->
43 android:id="@+id/icon"
44 android:layout_height="wrap_content"
45 android:layout_width="wrap_content"
46 android:src="@mipmap/privacy_browser"
47 android:paddingTop="10dp"
48 android:paddingEnd="5dp"
49 tools:ignore="RtlSymmetry,ContentDescription" />
52 android:id="@+id/privacy_browser_textview"
53 android:layout_height="wrap_content"
54 android:layout_width="wrap_content"
55 android:text="@string/privacy_browser"
56 android:textStyle="bold"
57 android:textSize="22sp"
58 android:textColor="?attr/blueTitleTextColor"
59 android:paddingTop="12dp"
60 android:layout_toEndOf="@id/icon" />
63 android:id="@+id/version"
64 android:layout_height="wrap_content"
65 android:layout_width="wrap_content"
66 android:textColor="?attr/blueTextColor"
67 android:textIsSelectable="true"
68 android:layout_below="@id/privacy_browser_textview"
69 android:layout_toEndOf="@id/icon" />
72 <!-- The purpose of this linear layout is to provide padding on the start of the text views to make them line up with `about_version_icon`.
73 Although we don't need it, we have to include `android:paddingEnd` to make lint happy. -->
75 android:layout_height="wrap_content"
76 android:layout_width="match_parent"
77 android:orientation="vertical"
78 android:paddingTop="16dp"
79 android:paddingStart="4dp"
80 android:paddingEnd="0dp" >
84 android:layout_height="wrap_content"
85 android:layout_width="wrap_content"
86 android:text="@string/hardware"
87 android:textStyle="bold"
88 android:textSize="18sp"
89 android:textColor="?attr/blueTitleTextColor" />
92 android:id="@+id/brand"
93 android:layout_height="wrap_content"
94 android:layout_width="wrap_content"
95 android:textIsSelectable="true" />
98 android:id="@+id/manufacturer"
99 android:layout_height="wrap_content"
100 android:layout_width="wrap_content"
101 android:textIsSelectable="true" />
104 android:id="@+id/model"
105 android:layout_height="wrap_content"
106 android:layout_width="wrap_content"
107 android:textIsSelectable="true" />
110 android:id="@+id/device"
111 android:layout_height="wrap_content"
112 android:layout_width="wrap_content"
113 android:textIsSelectable="true" />
116 android:id="@+id/bootloader"
117 android:layout_height="wrap_content"
118 android:layout_width="wrap_content"
119 android:textIsSelectable="true" />
122 android:id="@+id/radio"
123 android:layout_height="wrap_content"
124 android:layout_width="wrap_content"
125 android:textIsSelectable="true" />
129 android:layout_height="wrap_content"
130 android:layout_width="wrap_content"
131 android:text="@string/software"
132 android:textStyle="bold"
133 android:textSize="18sp"
134 android:textColor="?attr/blueTitleTextColor"
135 android:paddingTop="12dp" />
138 android:id="@+id/android"
139 android:layout_height="wrap_content"
140 android:layout_width="wrap_content"
141 android:textIsSelectable="true" />
144 android:id="@+id/security_patch"
145 android:layout_height="wrap_content"
146 android:layout_width="wrap_content"
147 android:textIsSelectable="true" />
150 android:id="@+id/build"
151 android:layout_height="wrap_content"
152 android:layout_width="wrap_content"
153 android:textIsSelectable="true" />
156 android:id="@+id/webview_provider"
157 android:layout_height="wrap_content"
158 android:layout_width="wrap_content"
159 android:textIsSelectable="true" />
162 android:id="@+id/webview_version"
163 android:layout_height="wrap_content"
164 android:layout_width="wrap_content"
165 android:textIsSelectable="true" />
168 android:id="@+id/orbot"
169 android:layout_height="wrap_content"
170 android:layout_width="wrap_content"
171 android:textIsSelectable="true" />
174 android:id="@+id/i2p"
175 android:layout_height="wrap_content"
176 android:layout_width="wrap_content"
177 android:textIsSelectable="true" />
180 android:id="@+id/open_keychain"
181 android:layout_height="wrap_content"
182 android:layout_width="wrap_content"
183 android:textIsSelectable="true" />
185 <!-- Block Lists. -->
187 android:layout_height="wrap_content"
188 android:layout_width="wrap_content"
189 android:text="@string/blocklists"
190 android:textStyle="bold"
191 android:textSize="18sp"
192 android:textColor="?attr/blueTitleTextColor"
193 android:paddingTop="12dp" />
196 android:id="@+id/easylist"
197 android:layout_height="wrap_content"
198 android:layout_width="wrap_content"
199 android:textIsSelectable="true" />
202 android:id="@+id/easyprivacy"
203 android:layout_height="wrap_content"
204 android:layout_width="wrap_content"
205 android:textIsSelectable="true" />
208 android:id="@+id/fanboy_annoyance"
209 android:layout_height="wrap_content"
210 android:layout_width="wrap_content"
211 android:textIsSelectable="true" />
214 android:id="@+id/fanboy_social"
215 android:layout_height="wrap_content"
216 android:layout_width="wrap_content"
217 android:textIsSelectable="true" />
220 android:id="@+id/ultralist"
221 android:layout_height="wrap_content"
222 android:layout_width="wrap_content"
223 android:textIsSelectable="true" />
226 android:id="@+id/ultraprivacy"
227 android:layout_height="wrap_content"
228 android:layout_width="wrap_content"
229 android:textIsSelectable="true" />
231 <!-- Package Signature. -->
233 android:layout_height="wrap_content"
234 android:layout_width="wrap_content"
235 android:text="@string/package_signature"
236 android:textStyle="bold"
237 android:textSize="18sp"
238 android:textColor="?attr/blueTitleTextColor"
239 android:paddingTop="12dp" />
242 android:id="@+id/certificate_issuer_dn"
243 android:layout_height="wrap_content"
244 android:layout_width="wrap_content"
245 android:textIsSelectable="true" />
248 android:id="@+id/certificate_subject_dn"
249 android:layout_height="wrap_content"
250 android:layout_width="wrap_content"
251 android:textIsSelectable="true" />
254 android:id="@+id/certificate_start_date"
255 android:layout_height="wrap_content"
256 android:layout_width="wrap_content"
257 android:textIsSelectable="true" />
260 android:id="@+id/certificate_end_date"
261 android:layout_height="wrap_content"
262 android:layout_width="wrap_content"
263 android:textIsSelectable="true" />
266 android:id="@+id/certificate_version"
267 android:layout_height="wrap_content"
268 android:layout_width="wrap_content"
269 android:textIsSelectable="true" />
272 android:id="@+id/certificate_serial_number"
273 android:layout_height="wrap_content"
274 android:layout_width="wrap_content"
275 android:textIsSelectable="true" />
278 android:id="@+id/certificate_signature_algorithm"
279 android:layout_height="wrap_content"
280 android:layout_width="wrap_content"
281 android:textIsSelectable="true" />