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

/WebVox/res/layout-land/ssl_certificate.xml

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