1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<ScrollView
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content" >
21
22    <LinearLayout
23        android:id="@+id/body"
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content"
26        android:gravity="start"
27        android:orientation="vertical" >
28
29        <!-- Placeholder for the success message or one or more warnings -->
30        <LinearLayout
31            android:id="@+id/placeholder"
32            android:layout_height="wrap_content"
33            android:layout_width="match_parent"
34            android:layout_marginTop="12dip"
35            android:orientation="vertical" />
36
37        <!-- Dialog-title line separator -->
38        <ImageView
39            android:id="@+id/title_separator"
40            android:src="@android:drawable/divider_horizontal_dark"
41            android:layout_width="match_parent"
42            android:layout_height="wrap_content"
43            android:scaleType="fitXY"
44            android:layout_weight="1"
45            android:gravity="fill_horizontal"
46            android:layout_marginEnd="20dip"
47            android:layout_marginStart="20dip"/>
48
49        <!-- Issued to: -->
50        <TextView
51            android:id="@+id/issued_to_header"
52            android:layout_height="wrap_content"
53            android:layout_width="match_parent"
54            android:text="@string/issued_to"
55            android:textStyle="bold"
56            android:layout_marginTop="12dip"
57            android:layout_marginStart="20dip"
58            android:layout_marginEnd="20dip"
59            android:layout_marginBottom="7dip" />
60
61        <!-- Common name: -->
62        <TextView
63            android:id="@+id/to_common_header"
64            android:layout_height="wrap_content"
65            android:layout_width="match_parent"
66            android:text="@string/common_name"
67            android:layout_marginStart="20dip"
68            android:layout_marginEnd="20dip" />
69
70        <TextView
71            android:id="@+id/to_common"
72            android:layout_height="wrap_content"
73            android:layout_width="match_parent"
74            android:layout_marginStart="20dip"
75            android:layout_marginEnd="20dip"
76            android:layout_marginBottom="7dip" />
77
78        <!-- Organization: -->
79        <TextView
80            android:id="@+id/to_org_header"
81            android:layout_height="wrap_content"
82            android:layout_width="match_parent"
83            android:text="@string/org_name"
84            android:layout_marginStart="20dip"
85            android:layout_marginEnd="20dip" />
86
87        <TextView
88            android:id="@+id/to_org"
89            android:layout_height="wrap_content"
90            android:layout_width="match_parent"
91            android:layout_marginStart="20dip"
92            android:layout_marginEnd="20dip"
93            android:layout_marginBottom="7dip" />
94
95        <!-- Organizational unit: -->
96        <TextView
97            android:id="@+id/to_org_unit_header"
98            android:layout_height="wrap_content"
99            android:layout_width="match_parent"
100            android:text="@string/org_unit"
101            android:layout_marginStart="20dip"
102            android:layout_marginEnd="20dip" />
103
104        <TextView
105            android:id="@+id/to_org_unit"
106            android:layout_height="wrap_content"
107            android:layout_width="match_parent"
108            android:layout_marginStart="20dip"
109            android:layout_marginEnd="20dip"
110            android:layout_marginBottom="7dip" />
111
112        <!-- Serial number: -->
113        <TextView
114            android:id="@+id/serial_number_header"
115            android:layout_height="wrap_content"
116            android:layout_width="match_parent"
117            android:text="@string/serial_number"
118            android:layout_marginStart="20dip"
119            android:layout_marginEnd="20dip" />
120
121        <TextView
122            android:id="@+id/serial_number"
123            android:layout_height="wrap_content"
124            android:layout_width="match_parent"
125            android:layout_marginStart="20dip"
126            android:layout_marginEnd="20dip"
127            android:layout_marginBottom="7dip" />
128
129        <!-- Issued by: -->
130        <TextView
131            android:id="@+id/issued_to_header"
132            android:layout_height="wrap_content"
133            android:layout_width="match_parent"
134            android:text="@string/issued_by"
135            android:textStyle="bold"
136            android:layout_marginTop="12dip"
137            android:layout_marginStart="20dip"
138            android:layout_marginEnd="20dip"
139            android:layout_marginBottom="7dip" />
140
141        <!-- Common name: -->
142        <TextView
143            android:id="@+id/by_common_header"
144            android:layout_width="match_parent"
145            android:layout_height="wrap_content"
146            android:text="@string/common_name"
147            android:layout_marginStart="20dip"
148            android:layout_marginEnd="20dip" />
149
150        <TextView
151            android:id="@+id/by_common"
152            android:layout_height="wrap_content"
153            android:layout_width="match_parent"
154            android:layout_marginStart="20dip"
155            android:layout_marginEnd="20dip"
156            android:layout_marginBottom="7dip" />
157
158        <!-- Organization: -->
159        <TextView
160            android:id="@+id/by_org_header"
161            android:layout_height="wrap_content"
162            android:layout_width="match_parent"
163            android:text="@string/org_name"
164            android:layout_marginStart="20dip"
165            android:layout_marginEnd="20dip" />
166
167        <TextView
168            android:id="@+id/by_org"
169            android:layout_height="wrap_content"
170            android:layout_width="match_parent"
171            android:layout_marginStart="20dip"
172            android:layout_marginEnd="20dip"
173            android:layout_marginBottom="7dip" />
174
175        <!-- Organizational unit: -->
176        <TextView
177            android:id="@+id/by_org_unit_header"
178            android:layout_height="wrap_content"
179            android:layout_width="match_parent"
180            android:text="@string/org_unit"
181            android:layout_marginStart="20dip"
182            android:layout_marginEnd="20dip" />
183
184        <TextView
185            android:id="@+id/by_org_unit"
186            android:layout_height="wrap_content"
187            android:layout_width="match_parent"
188            android:layout_marginStart="20dip"
189            android:layout_marginEnd="20dip"
190            android:layout_marginBottom="7dip" />
191
192        <!-- Validity Dates: -->
193        <TextView
194            android:id="@+id/validity_header"
195            android:layout_height="wrap_content"
196            android:layout_width="match_parent"
197            android:text="@string/validity_period"
198            android:textStyle="bold"
199            android:layout_marginTop="12dip"
200            android:layout_marginStart="20dip"
201            android:layout_marginEnd="20dip"
202            android:layout_marginBottom="7dip" />
203
204        <!-- Issued On: -->
205        <TextView
206            android:id="@+id/issued_on_header"
207            android:layout_width="match_parent"
208            android:layout_height="wrap_content"
209            android:text="@string/issued_on"
210            android:layout_marginStart="20dip"
211            android:layout_marginEnd="20dip" />
212
213        <TextView
214            android:id="@+id/issued_on"
215            android:layout_height="wrap_content"
216            android:layout_width="match_parent"
217            android:layout_marginStart="20dip"
218            android:layout_marginEnd="20dip"
219            android:layout_marginBottom="7dip" />
220
221        <!-- Expires On: -->
222        <TextView
223            android:id="@+id/expires_on_header"
224            android:layout_width="match_parent"
225            android:layout_height="wrap_content"
226            android:text="@string/expires_on"
227            android:layout_marginStart="20dip"
228            android:layout_marginEnd="20dip" />
229
230        <TextView
231            android:id="@+id/expires_on"
232            android:layout_height="wrap_content"
233            android:layout_width="match_parent"
234            android:layout_marginStart="20dip"
235            android:layout_marginEnd="20dip"
236            android:layout_marginBottom="7dip" />
237
238        <!-- Fingerprints: -->
239        <TextView
240            android:id="@+id/fingerprints"
241            android:layout_height="wrap_content"
242            android:layout_width="match_parent"
243            android:text="@string/fingerprints"
244            android:textStyle="bold"
245            android:layout_marginTop="12dip"
246            android:layout_marginStart="20dip"
247            android:layout_marginEnd="20dip"
248            android:layout_marginBottom="7dip" />
249
250        <!-- SHA-256 fingerprint: -->
251        <TextView
252            android:id="@+id/sha256_fingerprint_header"
253            android:layout_width="match_parent"
254            android:layout_height="wrap_content"
255            android:text="@string/sha256_fingerprint"
256            android:layout_marginStart="20dip"
257            android:layout_marginEnd="20dip" />
258
259        <TextView
260            android:id="@+id/sha256_fingerprint"
261            android:layout_height="wrap_content"
262            android:layout_width="match_parent"
263            android:layout_marginStart="20dip"
264            android:layout_marginEnd="20dip"
265            android:layout_marginBottom="7dip" />
266
267        <!-- SHA-1 fingerprint: -->
268        <TextView
269            android:id="@+id/sha1_fingerprint_header"
270            android:layout_width="match_parent"
271            android:layout_height="wrap_content"
272            android:text="@string/sha1_fingerprint"
273            android:layout_marginStart="20dip"
274            android:layout_marginEnd="20dip" />
275
276        <TextView
277            android:id="@+id/sha1_fingerprint"
278            android:layout_height="wrap_content"
279            android:layout_width="match_parent"
280            android:layout_marginStart="20dip"
281            android:layout_marginEnd="20dip"
282            android:layout_marginBottom="7dip" />
283
284    </LinearLayout>
285
286</ScrollView>
287