]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - res/layout/about_tab_version.xml
Add an option to delete all domain settings at once. https://redmine.stoutner.com...
[PrivacyBrowserAndroid.git] / res / layout / about_tab_version.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2016-2018 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 <!-- The `ScrollView` allows the `LinearLayout` to scroll if it exceeds the height of the page. -->
22 <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:background="?attr/aboutBackground" >
28
29     <LinearLayout
30         android:layout_height="wrap_content"
31         android:layout_width="match_parent"
32         android:orientation="vertical"
33         android:padding="16dp" >
34
35         <!-- The `RelativeLayout` contains the header. -->
36         <RelativeLayout
37             android:layout_width="match_parent"
38             android:layout_height="wrap_content" >
39
40             <!--`tools:ignore="RtlSymmetry"` suppressed the lint warning about adding `android:paddingStart`, which wouldn't work with this layout.
41                 `tools:ignore="ContentDescription"` suppresses the lint warning about supplying a content description for the `ImageView`,
42                 which isn't needed in this case because the `ImageView` is only decorative. -->
43             <ImageView
44                 android:id="@+id/icon"
45                 android:layout_height="wrap_content"
46                 android:layout_width="wrap_content"
47                 android:src="@mipmap/privacy_browser"
48                 android:paddingTop="10dp"
49                 android:paddingEnd="5dp"
50                 tools:ignore="RtlSymmetry,ContentDescription" />
51
52             <TextView
53                 android:id="@+id/privacy_browser_textview"
54                 android:layout_height="wrap_content"
55                 android:layout_width="wrap_content"
56                 android:text="@string/privacy_browser"
57                 android:textStyle="bold"
58                 android:textSize="22sp"
59                 android:textColor="?attr/aboutTitle"
60                 android:paddingTop="12dp"
61                 android:layout_toEndOf="@id/icon" />
62
63             <TextView
64                 android:id="@+id/version"
65                 android:layout_height="wrap_content"
66                 android:layout_width="wrap_content"
67                 android:textColor="?attr/aboutText"
68                 android:layout_below="@id/privacy_browser_textview"
69                 android:layout_toEndOf="@id/icon" />
70         </RelativeLayout>
71
72         <!-- The purpose of this `LinearLayout` is to provide padding on the start of the `TextViews` 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. -->
74         <LinearLayout
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" >
81
82             <!-- Hardware. -->
83             <TextView
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/aboutTitle" />
90
91             <TextView
92                 android:id="@+id/brand"
93                 android:layout_height="wrap_content"
94                 android:layout_width="wrap_content" />
95
96             <TextView
97                 android:id="@+id/manufacturer"
98                 android:layout_height="wrap_content"
99                 android:layout_width="wrap_content" />
100
101             <TextView
102                 android:id="@+id/model"
103                 android:layout_height="wrap_content"
104                 android:layout_width="wrap_content" />
105
106             <TextView
107                 android:id="@+id/device"
108                 android:layout_height="wrap_content"
109                 android:layout_width="wrap_content" />
110
111             <TextView
112                 android:id="@+id/bootloader"
113                 android:layout_height="wrap_content"
114                 android:layout_width="wrap_content" />
115
116             <TextView
117                 android:id="@+id/radio"
118                 android:layout_height="wrap_content"
119                 android:layout_width="wrap_content" />
120
121             <!-- Software. -->
122             <TextView
123                 android:layout_height="wrap_content"
124                 android:layout_width="wrap_content"
125                 android:text="@string/software"
126                 android:textStyle="bold"
127                 android:textSize="18sp"
128                 android:textColor="?attr/aboutTitle"
129                 android:paddingTop="12dp" />
130
131             <TextView
132                 android:id="@+id/android"
133                 android:layout_height="wrap_content"
134                 android:layout_width="wrap_content" />
135
136             <TextView
137                 android:id="@+id/security_patch"
138                 android:layout_height="wrap_content"
139                 android:layout_width="wrap_content" />
140
141             <TextView
142                 android:id="@+id/build"
143                 android:layout_height="wrap_content"
144                 android:layout_width="wrap_content" />
145
146             <TextView
147                 android:id="@+id/webview"
148                 android:layout_height="wrap_content"
149                 android:layout_width="wrap_content" />
150
151             <TextView
152                 android:id="@+id/orbot"
153                 android:layout_height="wrap_content"
154                 android:layout_width="wrap_content" />
155
156             <TextView
157                 android:id="@+id/open_keychain"
158                 android:layout_height="wrap_content"
159                 android:layout_width="wrap_content"/>
160
161             <!-- Block Lists. -->
162             <TextView
163                 android:layout_height="wrap_content"
164                 android:layout_width="wrap_content"
165                 android:text="@string/blocklists"
166                 android:textStyle="bold"
167                 android:textSize="18sp"
168                 android:textColor="?attr/aboutTitle"
169                 android:paddingTop="12dp" />
170
171             <TextView
172                 android:id="@+id/easylist"
173                 android:layout_height="wrap_content"
174                 android:layout_width="wrap_content" />
175
176             <TextView
177                 android:id="@+id/easyprivacy"
178                 android:layout_height="wrap_content"
179                 android:layout_width="wrap_content" />
180
181             <TextView
182                 android:id="@+id/fanboy_annoyance"
183                 android:layout_height="wrap_content"
184                 android:layout_width="wrap_content" />
185
186             <TextView
187                 android:id="@+id/fanboy_social"
188                 android:layout_height="wrap_content"
189                 android:layout_width="wrap_content" />
190
191             <TextView
192                 android:id="@+id/ultraprivacy"
193                 android:layout_height="wrap_content"
194                 android:layout_width="wrap_content" />
195
196             <!-- Package Signature. -->
197             <TextView
198                 android:layout_height="wrap_content"
199                 android:layout_width="wrap_content"
200                 android:text="@string/package_signature"
201                 android:textStyle="bold"
202                 android:textSize="18sp"
203                 android:textColor="?attr/aboutTitle"
204                 android:paddingTop="12dp" />
205
206             <TextView
207                 android:id="@+id/certificate_issuer_dn"
208                 android:layout_height="wrap_content"
209                 android:layout_width="wrap_content" />
210
211             <TextView
212                 android:id="@+id/certificate_subject_dn"
213                 android:layout_height="wrap_content"
214                 android:layout_width="wrap_content" />
215
216             <TextView
217                 android:id="@+id/certificate_start_date"
218                 android:layout_height="wrap_content"
219                 android:layout_width="wrap_content" />
220
221             <TextView
222                 android:id="@+id/certificate_end_date"
223                 android:layout_height="wrap_content"
224                 android:layout_width="wrap_content" />
225
226             <TextView
227                 android:id="@+id/certificate_version"
228                 android:layout_height="wrap_content"
229                 android:layout_width="wrap_content" />
230
231             <TextView
232                 android:id="@+id/certificate_serial_number"
233                 android:layout_height="wrap_content"
234                 android:layout_width="wrap_content" />
235
236             <TextView
237                 android:id="@+id/certificate_signature_algorithm"
238                 android:layout_height="wrap_content"
239                 android:layout_width="wrap_content" />
240         </LinearLayout>
241     </LinearLayout>
242 </ScrollView>