1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2016-2017 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 `ScrollView` allows the `LinearLayout` 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"
27 android:background="?attr/aboutBackground" >
30 android:layout_height="wrap_content"
31 android:layout_width="match_parent"
32 android:orientation="vertical"
33 android:padding="16dp" >
35 <!-- The `RelativeLayout` contains the header. -->
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content" >
40 <!-- `tools:ignore="ContentDescription"` suppresses the lint warning about supplying a content description for the `ImageView`,
41 which isn't needed in this case because the `ImageView` is only decorative. -->
43 android:id="@+id/about_version_icon"
44 android:layout_height="wrap_content"
45 android:layout_width="wrap_content"
46 android:src="@mipmap/privacy_browser"
47 android:paddingTop="10dp"
48 tools:ignore="ContentDescription" />
51 android:id="@+id/about_version_privacy_browser_textview"
52 android:layout_height="wrap_content"
53 android:layout_width="wrap_content"
54 android:text="@string/privacy_browser"
55 android:textStyle="bold"
56 android:textSize="22sp"
57 android:textColor="?attr/aboutTitle"
58 android:layout_toEndOf="@id/about_version_icon" />
61 android:id="@+id/about_version_number"
62 android:layout_height="wrap_content"
63 android:layout_width="wrap_content"
64 android:textColor="?attr/aboutText"
65 android:layout_below="@id/about_version_privacy_browser_textview"
66 android:layout_toEndOf="@id/about_version_icon" />
69 <!-- The purpose of this `LinearLayout` is to provide padding on the start of the `TextViews` to make them line up with `about_version_icon`.
70 Although we don't need it, we have to include `android:paddingEnd` to make lint happy. -->
72 android:layout_height="wrap_content"
73 android:layout_width="match_parent"
74 android:orientation="vertical"
75 android:paddingTop="16dp"
76 android:paddingStart="4dp"
77 android:paddingEnd="0dp" >
81 android:layout_height="wrap_content"
82 android:layout_width="wrap_content"
83 android:text="@string/hardware"
84 android:textStyle="bold"
85 android:textSize="18sp"
86 android:textColor="?attr/aboutTitle" />
89 android:id="@+id/about_version_brand"
90 android:layout_height="wrap_content"
91 android:layout_width="wrap_content" />
94 android:id="@+id/about_version_manufacturer"
95 android:layout_height="wrap_content"
96 android:layout_width="wrap_content" />
99 android:id="@+id/about_version_model"
100 android:layout_height="wrap_content"
101 android:layout_width="wrap_content" />
104 android:id="@+id/about_version_device"
105 android:layout_height="wrap_content"
106 android:layout_width="wrap_content" />
109 android:id="@+id/about_version_bootloader"
110 android:layout_height="wrap_content"
111 android:layout_width="wrap_content" />
114 android:id="@+id/about_version_radio"
115 android:layout_height="wrap_content"
116 android:layout_width="wrap_content" />
120 android:layout_height="wrap_content"
121 android:layout_width="wrap_content"
122 android:text="@string/software"
123 android:textStyle="bold"
124 android:textSize="18sp"
125 android:textColor="?attr/aboutTitle"
126 android:paddingTop="12dp" />
129 android:id="@+id/about_version_android"
130 android:layout_height="wrap_content"
131 android:layout_width="wrap_content" />
134 android:id="@+id/about_version_securitypatch"
135 android:layout_height="wrap_content"
136 android:layout_width="wrap_content" />
139 android:id="@+id/about_version_build"
140 android:layout_height="wrap_content"
141 android:layout_width="wrap_content" />
144 android:id="@+id/about_version_webkit"
145 android:layout_height="wrap_content"
146 android:layout_width="wrap_content" />
149 android:id="@+id/about_version_chrome"
150 android:layout_height="wrap_content"
151 android:layout_width="wrap_content" />
154 android:id="@+id/about_version_orbot"
155 android:layout_height="wrap_content"
156 android:layout_width="wrap_content" />
158 <!-- Package Signature. -->
160 android:layout_height="wrap_content"
161 android:layout_width="wrap_content"
162 android:text="@string/package_signature"
163 android:textStyle="bold"
164 android:textSize="18sp"
165 android:textColor="?attr/aboutTitle"
166 android:paddingTop="12dp" />
169 android:id="@+id/about_version_certificate_issuer_dn"
170 android:layout_height="wrap_content"
171 android:layout_width="wrap_content" />
174 android:id="@+id/about_version_certificate_subject_dn"
175 android:layout_height="wrap_content"
176 android:layout_width="wrap_content" />
179 android:id="@+id/about_version_certificate_start_date"
180 android:layout_height="wrap_content"
181 android:layout_width="wrap_content" />
184 android:id="@+id/about_version_certificate_end_date"
185 android:layout_height="wrap_content"
186 android:layout_width="wrap_content" />
189 android:id="@+id/about_version_certificate_version"
190 android:layout_height="wrap_content"
191 android:layout_width="wrap_content" />
194 android:id="@+id/about_version_certificate_serial_number"
195 android:layout_height="wrap_content"
196 android:layout_width="wrap_content" />
199 android:id="@+id/about_version_certificate_signature_algorithm"
200 android:layout_height="wrap_content"
201 android:layout_width="wrap_content" />