ssl_certificate.xml revision 6da00334478df64921b68fcbb45c9d1eef6f35bd
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:layout_width="match_parent"
24        android:layout_height="wrap_content"
25        android:orientation="vertical" >
26
27        <!-- Placeholder for the success message or one or more warnings -->
28        <LinearLayout
29            android:id="@+id/placeholder"
30            android:layout_height="wrap_content"
31            android:layout_width="match_parent"
32            android:layout_marginTop="12dip"
33            android:orientation="vertical" />
34
35        <!-- Dialog-title line separator -->
36        <ImageView
37            android:id="@+id/title_separator"
38            android:src="@android:drawable/divider_horizontal_dark"
39            android:layout_width="match_parent"
40            android:layout_height="wrap_content"
41            android:scaleType="fitXY"
42            android:layout_weight="1"
43            android:gravity="fill_horizontal"
44            android:layout_marginRight="20dip"
45            android:layout_marginLeft="20dip"
46            android:layout_marginBottom="12dip" />
47
48        <TableLayout
49            android:layout_width="match_parent"
50            android:layout_height="wrap_content"
51            android:orientation="vertical">
52
53            <!-- Issued to: -->
54            <TextView
55                android:id="@+id/issued_to_header"
56                android:layout_height="wrap_content"
57                android:layout_width="wrap_content"
58                android:text="@string/issued_to"
59                android:textStyle="bold"
60                android:layout_marginLeft="20dip"
61                android:layout_marginRight="20dip"
62                android:layout_marginBottom="10dip" />
63
64            <!-- Common name: -->
65            <TextView
66                android:id="@+id/to_common_header"
67                android:layout_height="wrap_content"
68                android:layout_width="wrap_content"
69                android:text="@string/common_name"
70                android:gravity="left"
71                android:layout_marginLeft="20dip"
72                android:layout_marginRight="20dip" />
73
74            <TextView
75                android:id="@+id/to_common"
76                android:layout_height="wrap_content"
77                android:layout_width="wrap_content"
78                android:gravity="left"
79                android:layout_marginLeft="20dip"
80                android:layout_marginRight="20dip"
81                android:layout_marginBottom="10dip" />
82
83            <!-- Organization: -->
84            <TextView
85                android:id="@+id/to_org_header"
86                android:layout_height="wrap_content"
87                android:layout_width="wrap_content"
88                android:text="@string/org_name"
89                android:gravity="left"
90                android:layout_marginLeft="20dip"
91                android:layout_marginRight="20dip" />
92
93            <TextView
94                android:id="@+id/to_org"
95                android:layout_height="wrap_content"
96                android:layout_width="wrap_content"
97                android:gravity="left"
98                android:layout_marginLeft="20dip"
99                android:layout_marginRight="20dip"
100                android:layout_marginBottom="10dip" />
101
102            <!-- Organizational unit: -->
103            <TextView
104                android:id="@+id/to_org_unit_header"
105                android:layout_height="wrap_content"
106                android:layout_width="wrap_content"
107                android:text="@string/org_unit"
108                android:gravity="left"
109                android:layout_marginLeft="20dip"
110                android:layout_marginRight="20dip" />
111
112            <TextView
113                android:id="@+id/to_org_unit"
114                android:layout_height="wrap_content"
115                android:layout_width="wrap_content"
116                android:gravity="left"
117                android:layout_marginLeft="20dip"
118                android:layout_marginRight="20dip"
119                android:layout_marginBottom="12dip" />
120
121            <!-- Issued by: -->
122            <TextView
123                android:id="@+id/issued_to_header"
124                android:layout_height="wrap_content"
125                android:layout_width="wrap_content"
126                android:text="@string/issued_by"
127                android:textStyle="bold"
128                android:layout_marginLeft="20dip"
129                android:layout_marginRight="20dip"
130                android:layout_marginBottom="10dip" />
131
132            <!-- Common name: -->
133            <TextView
134                android:id="@+id/by_common_header"
135                android:layout_width="wrap_content"
136                android:layout_height="wrap_content"
137                android:text="@string/common_name"
138                android:gravity="left"
139                android:layout_marginLeft="20dip"
140                android:layout_marginRight="20dip" />
141
142            <TextView
143                android:id="@+id/by_common"
144                android:layout_height="wrap_content"
145                android:layout_width="wrap_content"
146                android:gravity="left"
147                android:layout_marginLeft="20dip"
148                android:layout_marginRight="20dip"
149                android:layout_marginBottom="10dip" />
150
151            <!-- Organization: -->
152            <TextView
153                android:id="@+id/by_org_header"
154                android:layout_height="wrap_content"
155                android:layout_width="wrap_content"
156                android:text="@string/org_name"
157                android:gravity="left"
158                android:layout_marginLeft="20dip"
159                android:layout_marginRight="20dip" />
160
161            <TextView
162                android:id="@+id/by_org"
163                android:layout_height="wrap_content"
164                android:layout_width="wrap_content"
165                android:gravity="left"
166                android:layout_marginLeft="20dip"
167                android:layout_marginRight="20dip"
168                android:layout_marginBottom="10dip" />
169
170            <!-- Organizational unit: -->
171            <TextView
172                android:id="@+id/by_org_unit_header"
173                android:layout_height="wrap_content"
174                android:layout_width="wrap_content"
175                android:text="@string/org_unit"
176                android:gravity="left"
177                android:layout_marginLeft="20dip"
178                android:layout_marginRight="20dip" />
179
180            <TextView
181                android:id="@+id/by_org_unit"
182                android:layout_height="wrap_content"
183                android:layout_width="wrap_content"
184                android:gravity="left"
185                android:layout_marginLeft="20dip"
186                android:layout_marginRight="20dip"
187                android:layout_marginBottom="12dip" />
188
189            <!-- Validity Dates: -->
190            <TextView
191                android:id="@+id/validity_header"
192                android:layout_height="wrap_content"
193                android:layout_width="wrap_content"
194                android:text="@string/validity_period"
195                android:textStyle="bold"
196                android:layout_marginLeft="20dip"
197                android:layout_marginRight="20dip"
198                android:layout_marginBottom="10dip" />
199
200            <!-- Issued On: -->
201            <TextView
202                android:id="@+id/issued_on_header"
203                android:layout_width="wrap_content"
204                android:layout_height="wrap_content"
205                android:text="@string/issued_on"
206                android:gravity="left"
207                android:layout_marginLeft="20dip"
208                android:layout_marginRight="20dip" />
209
210            <TextView
211                android:id="@+id/issued_on"
212                android:layout_height="wrap_content"
213                android:layout_width="wrap_content"
214                android:gravity="left"
215                android:layout_marginLeft="20dip"
216                android:layout_marginRight="20dip"
217                android:layout_marginBottom="10dip" />
218
219            <!-- Expires On: -->
220            <TextView
221                android:id="@+id/expires_on_header"
222                android:layout_width="wrap_content"
223                android:layout_height="wrap_content"
224                android:text="@string/expires_on"
225                android:gravity="left"
226                android:layout_marginLeft="20dip"
227                android:layout_marginRight="20dip" />
228
229            <TextView
230                android:id="@+id/expires_on"
231                android:layout_height="wrap_content"
232                android:layout_width="wrap_content"
233                android:gravity="left"
234                android:layout_marginLeft="20dip"
235                android:layout_marginRight="20dip"
236                android:layout_marginBottom="12dip" />
237
238        </TableLayout>
239
240    </LinearLayout>
241
242</ScrollView>
243