1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2016-2018,2020,2022 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
8 Privacy Browser Android is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Privacy Browser Android is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Privacy Browser Android. If not, see <http://www.gnu.org/licenses/>. -->
21 <!-- 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" >
28 <!-- The background needs to be specified here so that it appears if about version is saved as an image. -->
30 android:id="@+id/about_version_linearlayout"
31 android:layout_height="wrap_content"
32 android:layout_width="match_parent"
33 android:orientation="vertical"
34 android:padding="16dp"
35 android:background="?android:attr/colorBackground" >
37 <!-- The `RelativeLayout` contains the header. -->
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content" >
42 <!--`tools:ignore="RtlSymmetry"` suppressed the lint warning about adding `android:paddingStart`, which wouldn't work with this layout.
43 `tools:ignore="ContentDescription"` suppresses the lint warning about supplying a content description for the image view,
44 which isn't needed in this case because the image view is only decorative. -->
46 android:id="@+id/icon"
47 android:layout_height="wrap_content"
48 android:layout_width="wrap_content"
49 android:src="@mipmap/privacy_browser"
50 android:paddingTop="10dp"
51 android:paddingEnd="5dp"
52 tools:ignore="RtlSymmetry,ContentDescription" />
55 android:id="@+id/privacy_browser_textview"
56 android:layout_height="wrap_content"
57 android:layout_width="wrap_content"
58 android:text="@string/privacy_browser"
59 android:textStyle="bold"
60 android:textSize="22sp"
61 android:textColor="?attr/blueTitleTextColor"
62 android:paddingTop="12dp"
63 android:layout_toEndOf="@id/icon" />
66 android:id="@+id/version"
67 android:layout_height="wrap_content"
68 android:layout_width="wrap_content"
69 android:textColor="?attr/blueTextColor"
70 android:textIsSelectable="true"
71 android:layout_below="@id/privacy_browser_textview"
72 android:layout_toEndOf="@id/icon" />
75 <!-- 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`.
76 Although we don't need it, we have to include `android:paddingEnd` to make lint happy. -->
78 android:layout_height="wrap_content"
79 android:layout_width="match_parent"
80 android:orientation="vertical"
81 android:paddingTop="16dp"
82 android:paddingStart="4dp"
83 android:paddingEnd="0dp" >
87 android:id="@+id/hardware"
88 android:layout_height="wrap_content"
89 android:layout_width="wrap_content"
90 android:text="@string/hardware"
91 android:textStyle="bold"
92 android:textSize="18sp"
93 android:textColor="?attr/blueTitleTextColor" />
96 android:id="@+id/brand"
97 android:layout_height="wrap_content"
98 android:layout_width="wrap_content"
99 android:textIsSelectable="true" />
102 android:id="@+id/manufacturer"
103 android:layout_height="wrap_content"
104 android:layout_width="wrap_content"
105 android:textIsSelectable="true" />
108 android:id="@+id/model"
109 android:layout_height="wrap_content"
110 android:layout_width="wrap_content"
111 android:textIsSelectable="true" />
114 android:id="@+id/device"
115 android:layout_height="wrap_content"
116 android:layout_width="wrap_content"
117 android:textIsSelectable="true" />
120 android:id="@+id/bootloader"
121 android:layout_height="wrap_content"
122 android:layout_width="wrap_content"
123 android:textIsSelectable="true" />
126 android:id="@+id/radio"
127 android:layout_height="wrap_content"
128 android:layout_width="wrap_content"
129 android:textIsSelectable="true" />
133 android:id="@+id/software"
134 android:layout_height="wrap_content"
135 android:layout_width="wrap_content"
136 android:text="@string/software"
137 android:textStyle="bold"
138 android:textSize="18sp"
139 android:textColor="?attr/blueTitleTextColor"
140 android:paddingTop="12dp" />
143 android:id="@+id/android"
144 android:layout_height="wrap_content"
145 android:layout_width="wrap_content"
146 android:textIsSelectable="true" />
149 android:id="@+id/security_patch"
150 android:layout_height="wrap_content"
151 android:layout_width="wrap_content"
152 android:textIsSelectable="true" />
155 android:id="@+id/build"
156 android:layout_height="wrap_content"
157 android:layout_width="wrap_content"
158 android:textIsSelectable="true" />
161 android:id="@+id/kernel"
162 android:layout_height="wrap_content"
163 android:layout_width="wrap_content"
164 android:textIsSelectable="true" />
167 android:id="@+id/webview_provider"
168 android:layout_height="wrap_content"
169 android:layout_width="wrap_content"
170 android:textIsSelectable="true" />
173 android:id="@+id/webview_version"
174 android:layout_height="wrap_content"
175 android:layout_width="wrap_content"
176 android:textIsSelectable="true" />
179 android:id="@+id/orbot"
180 android:layout_height="wrap_content"
181 android:layout_width="wrap_content"
182 android:textIsSelectable="true" />
185 android:id="@+id/i2p"
186 android:layout_height="wrap_content"
187 android:layout_width="wrap_content"
188 android:textIsSelectable="true" />
191 android:id="@+id/open_keychain"
192 android:layout_height="wrap_content"
193 android:layout_width="wrap_content"
194 android:textIsSelectable="true" />
196 <!-- Memory usage. -->
198 android:id="@+id/memory_usage"
199 android:layout_height="wrap_content"
200 android:layout_width="wrap_content"
201 android:text="@string/memory_usage"
202 android:textStyle="bold"
203 android:textSize="18sp"
204 android:textColor="?attr/blueTitleTextColor"
205 android:paddingTop="12dp" />
208 android:id="@+id/app_consumed_memory"
209 android:layout_height="wrap_content"
210 android:layout_width="wrap_content"
211 android:textIsSelectable="true" />
214 android:id="@+id/app_available_memory"
215 android:layout_height="wrap_content"
216 android:layout_width="wrap_content"
217 android:textIsSelectable="true" />
220 android:id="@+id/app_total_memory"
221 android:layout_height="wrap_content"
222 android:layout_width="wrap_content"
223 android:textIsSelectable="true" />
226 android:id="@+id/app_maximum_memory"
227 android:layout_height="wrap_content"
228 android:layout_width="wrap_content"
229 android:textIsSelectable="true" />
232 android:id="@+id/system_consumed_memory"
233 android:layout_height="wrap_content"
234 android:layout_width="wrap_content"
235 android:textIsSelectable="true" />
238 android:id="@+id/system_available_memory"
239 android:layout_height="wrap_content"
240 android:layout_width="wrap_content"
241 android:textIsSelectable="true" />
244 android:id="@+id/system_total_memory"
245 android:layout_height="wrap_content"
246 android:layout_width="wrap_content"
247 android:textIsSelectable="true" />
251 android:id="@+id/blocklists"
252 android:layout_height="wrap_content"
253 android:layout_width="wrap_content"
254 android:text="@string/blocklists"
255 android:textStyle="bold"
256 android:textSize="18sp"
257 android:textColor="?attr/blueTitleTextColor"
258 android:paddingTop="12dp" />
261 android:id="@+id/easylist"
262 android:layout_height="wrap_content"
263 android:layout_width="wrap_content"
264 android:textIsSelectable="true" />
267 android:id="@+id/easyprivacy"
268 android:layout_height="wrap_content"
269 android:layout_width="wrap_content"
270 android:textIsSelectable="true" />
273 android:id="@+id/fanboy_annoyance"
274 android:layout_height="wrap_content"
275 android:layout_width="wrap_content"
276 android:textIsSelectable="true" />
279 android:id="@+id/fanboy_social"
280 android:layout_height="wrap_content"
281 android:layout_width="wrap_content"
282 android:textIsSelectable="true" />
285 android:id="@+id/ultralist"
286 android:layout_height="wrap_content"
287 android:layout_width="wrap_content"
288 android:textIsSelectable="true" />
291 android:id="@+id/ultraprivacy"
292 android:layout_height="wrap_content"
293 android:layout_width="wrap_content"
294 android:textIsSelectable="true" />
296 <!-- Package Signature. -->
298 android:id="@+id/package_signature"
299 android:layout_height="wrap_content"
300 android:layout_width="wrap_content"
301 android:text="@string/package_signature"
302 android:textStyle="bold"
303 android:textSize="18sp"
304 android:textColor="?attr/blueTitleTextColor"
305 android:paddingTop="12dp" />
308 android:id="@+id/certificate_issuer_dn"
309 android:layout_height="wrap_content"
310 android:layout_width="wrap_content"
311 android:textIsSelectable="true" />
314 android:id="@+id/certificate_subject_dn"
315 android:layout_height="wrap_content"
316 android:layout_width="wrap_content"
317 android:textIsSelectable="true" />
320 android:id="@+id/certificate_start_date"
321 android:layout_height="wrap_content"
322 android:layout_width="wrap_content"
323 android:textIsSelectable="true" />
326 android:id="@+id/certificate_end_date"
327 android:layout_height="wrap_content"
328 android:layout_width="wrap_content"
329 android:textIsSelectable="true" />
332 android:id="@+id/certificate_version"
333 android:layout_height="wrap_content"
334 android:layout_width="wrap_content"
335 android:textIsSelectable="true" />
338 android:id="@+id/certificate_serial_number"
339 android:layout_height="wrap_content"
340 android:layout_width="wrap_content"
341 android:textIsSelectable="true" />
344 android:id="@+id/certificate_signature_algorithm"
345 android:layout_height="wrap_content"
346 android:layout_width="wrap_content"
347 android:textIsSelectable="true" />