PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/WebVox/res/layout/ssl_certificate.xml

http://eyes-free.googlecode.com/
XML | 280 lines | 226 code | 27 blank | 27 comment | 0 complexity | 6dde08f4d886e42457a19e19bd5ffd4f MD5 | raw file
  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="fill_parent"
 20    android:layout_height="wrap_content" >
 21
 22    <LinearLayout 
 23        android:layout_width="fill_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="fill_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="fill_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="fill_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:textSize="14sp"
 61                android:textColor="@color/ssl_text_label"
 62                android:layout_marginLeft="20dip"
 63                android:layout_marginRight="20dip"
 64                android:layout_marginBottom="10dip" />
 65
 66            <!-- Common name: -->
 67            <TextView 
 68                android:id="@+id/to_common_header"
 69                android:layout_height="wrap_content"
 70                android:layout_width="wrap_content"
 71                android:text="@string/common_name"
 72                android:textSize="14sp"
 73                android:textColor="@color/ssl_text_label"
 74                android:gravity="left"
 75                android:layout_marginLeft="20dip"
 76                android:layout_marginRight="20dip" />
 77        
 78            <TextView
 79                android:id="@+id/to_common"
 80                android:layout_height="wrap_content"
 81                android:layout_width="wrap_content"
 82                android:textSize="14sp"
 83                android:textColor="@color/ssl_text_value"
 84                android:gravity="left"
 85                android:layout_marginLeft="20dip"
 86                android:layout_marginRight="20dip"
 87                android:layout_marginBottom="10dip" />
 88    
 89            <!-- Organization: -->
 90            <TextView
 91                android:id="@+id/to_org_header"
 92                android:layout_height="wrap_content"
 93                android:layout_width="wrap_content"
 94                android:text="@string/org_name"
 95                android:textSize="14sp"
 96                android:textColor="@color/ssl_text_label"
 97                android:gravity="left"
 98                android:layout_marginLeft="20dip"
 99                android:layout_marginRight="20dip" />
100
101            <TextView
102                android:id="@+id/to_org"
103                android:layout_height="wrap_content"
104                android:layout_width="wrap_content"
105                android:textSize="14sp"
106                android:textColor="@color/ssl_text_value"
107                android:gravity="left"
108                android:layout_marginLeft="20dip"
109                android:layout_marginRight="20dip"
110                android:layout_marginBottom="10dip" />
111
112            <!-- Organizational unit: -->
113            <TextView
114                android:id="@+id/to_org_unit_header"
115                android:layout_height="wrap_content"
116                android:layout_width="wrap_content"
117                android:text="@string/org_unit"
118                android:textSize="14sp"
119                android:textColor="@color/ssl_text_label"
120                android:gravity="left"
121                android:layout_marginLeft="20dip"
122                android:layout_marginRight="20dip" />
123
124            <TextView
125                android:id="@+id/to_org_unit"
126                android:layout_height="wrap_content"
127                android:layout_width="wrap_content"
128                android:textSize="14sp"
129                android:textColor="@color/ssl_text_value"
130                android:gravity="left"
131                android:layout_marginLeft="20dip"
132                android:layout_marginRight="20dip"
133                android:layout_marginBottom="12dip" />
134
135            <!-- Issued by: -->
136            <TextView
137                android:id="@+id/issued_to_header"
138                android:layout_height="wrap_content"
139                android:layout_width="wrap_content"
140                android:text="@string/issued_by"
141                android:textStyle="bold"
142                android:textSize="14sp"
143                android:textColor="@color/ssl_text_label"
144                android:layout_marginLeft="20dip"
145                android:layout_marginRight="20dip"
146                android:layout_marginBottom="10dip" />
147            
148            <!-- Common name: -->
149            <TextView
150                android:id="@+id/by_common_header"
151                android:layout_width="wrap_content" 
152                android:layout_height="wrap_content"
153                android:text="@string/common_name"
154                android:textSize="14sp"
155                android:textColor="@color/ssl_text_label"
156                android:gravity="left"
157                android:layout_marginLeft="20dip"
158                android:layout_marginRight="20dip" />
159        
160            <TextView
161                android:id="@+id/by_common"
162                android:layout_height="wrap_content"
163                android:layout_width="wrap_content"
164                android:textSize="14sp"
165                android:textColor="@color/ssl_text_value"
166                android:gravity="left"
167                android:layout_marginLeft="20dip"
168                android:layout_marginRight="20dip"
169                android:layout_marginBottom="10dip" />
170
171            <!-- Organization: -->
172            <TextView
173                android:id="@+id/by_org_header"
174                android:layout_height="wrap_content"
175                android:layout_width="wrap_content"
176                android:text="@string/org_name"
177                android:textSize="14sp"
178                android:textColor="@color/ssl_text_label"
179                android:gravity="left"
180                android:layout_marginLeft="20dip"
181                android:layout_marginRight="20dip" />
182        
183            <TextView
184                android:id="@+id/by_org"
185                android:layout_height="wrap_content"
186                android:layout_width="wrap_content"
187                android:textSize="14sp"
188                android:textColor="@color/ssl_text_value"
189                android:gravity="left"
190                android:layout_marginLeft="20dip"
191                android:layout_marginRight="20dip"
192                android:layout_marginBottom="10dip" />
193
194            <!-- Organizational unit: -->
195            <TextView
196                android:id="@+id/by_org_unit_header"
197                android:layout_height="wrap_content"
198                android:layout_width="wrap_content"
199                android:text="@string/org_unit"
200                android:textSize="14sp"
201                android:textColor="@color/ssl_text_label"
202                android:gravity="left"
203                android:layout_marginLeft="20dip"
204                android:layout_marginRight="20dip" />
205        
206            <TextView 
207                android:id="@+id/by_org_unit"
208                android:layout_height="wrap_content"
209                android:layout_width="wrap_content"
210                android:textSize="14sp"
211                android:textColor="@color/ssl_text_value"
212                android:gravity="left"
213                android:layout_marginLeft="20dip"
214                android:layout_marginRight="20dip"
215                android:layout_marginBottom="12dip" />
216
217            <!-- Validity Dates: -->
218            <TextView
219                android:id="@+id/validity_header"
220                android:layout_height="wrap_content"
221                android:layout_width="wrap_content"
222                android:text="@string/validity_period"
223                android:textStyle="bold"
224                android:textSize="14sp"
225                android:textColor="@color/ssl_text_label"
226                android:layout_marginLeft="20dip"
227                android:layout_marginRight="20dip"
228                android:layout_marginBottom="10dip" />
229            
230            <!-- Issued On: -->
231            <TextView
232                android:id="@+id/issued_on_header"
233                android:layout_width="wrap_content" 
234                android:layout_height="wrap_content"
235                android:text="@string/issued_on"
236                android:textSize="14sp"
237                android:textColor="@color/ssl_text_label"
238                android:gravity="left"
239                android:layout_marginLeft="20dip"
240                android:layout_marginRight="20dip" />
241        
242            <TextView
243                android:id="@+id/issued_on"
244                android:layout_height="wrap_content"
245                android:layout_width="wrap_content"
246                android:textSize="14sp"
247                android:textColor="@color/ssl_text_value"
248                android:gravity="left"
249                android:layout_marginLeft="20dip"
250                android:layout_marginRight="20dip"
251                android:layout_marginBottom="10dip" />
252
253            <!-- Expires On: -->
254            <TextView
255                android:id="@+id/expires_on_header"
256                android:layout_width="wrap_content" 
257                android:layout_height="wrap_content"
258                android:text="@string/expires_on"
259                android:textSize="14sp"
260                android:textColor="@color/ssl_text_label"
261                android:gravity="left"
262                android:layout_marginLeft="20dip"
263                android:layout_marginRight="20dip" />
264        
265            <TextView
266                android:id="@+id/expires_on"
267                android:layout_height="wrap_content"
268                android:layout_width="wrap_content"
269                android:textSize="14sp"
270                android:textColor="@color/ssl_text_value"
271                android:gravity="left"
272                android:layout_marginLeft="20dip"
273                android:layout_marginRight="20dip"
274                android:layout_marginBottom="12dip" />
275
276        </TableLayout>
277
278    </LinearLayout>
279
280</ScrollView>