1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:orientation="vertical" >
22
23    <!-- ssl error type -->
24    <TextView
25        android:id="@+id/ssl_error_type"
26        android:layout_width="match_parent"
27        android:layout_height="wrap_content"
28        android:layout_gravity="start"
29        android:text="SSL_UNKNOWN"
30        android:layout_marginStart="24dip"
31        android:layout_marginEnd="24dip"
32        android:layout_marginBottom="0dip"
33        android:layout_marginTop="24dip" />
34
35    <!-- Page info: -->
36    <TextView
37        android:id="@+id/page_info"
38        android:layout_width="match_parent"
39        android:layout_height="wrap_content"
40        android:text="@string/page_info"
41        android:textStyle="bold"
42        android:layout_marginStart="24dip"
43        android:layout_marginEnd="24dip" />
44
45    <!-- Title: -->
46    <TextView
47        android:id="@+id/title"
48        android:layout_width="match_parent"
49        android:layout_height="wrap_content"
50        android:textStyle="bold"
51        android:layout_marginStart="24dip"
52        android:layout_marginEnd="24dip" />
53
54    <!-- Address: -->
55    <TextView
56        android:id="@+id/address_header"
57        android:layout_width="match_parent"
58        android:layout_height="wrap_content"
59        android:text="@string/page_info_address"
60        android:layout_marginStart="24dip"
61        android:layout_marginEnd="24dip" />
62
63    <TextView
64        android:id="@+id/address"
65        android:layout_width="match_parent"
66        android:layout_height="wrap_content"
67        android:layout_marginStart="24dip"
68        android:layout_marginEnd="24dip" />
69
70    <ScrollView
71        android:layout_width="match_parent"
72        android:layout_height="wrap_content"
73        android:paddingStart="4dip"
74        android:paddingEnd="4dip" >
75
76        <!-- certificate view: -->
77        <LinearLayout
78            android:id="@+id/certificate_layout"
79            android:layout_width="match_parent"
80            android:layout_height="wrap_content"
81            android:orientation="vertical"
82            android:layout_marginBottom="16dip" >
83            <TextView
84                android:id="@+id/ssl_error_msg"
85                android:layout_width="wrap_content"
86                android:layout_height="wrap_content"
87                android:textAppearance="?android:attr/textAppearanceSmall"
88                android:layout_marginStart="20dip"
89                android:layout_marginEnd="20dip"
90                android:gravity="center_vertical"
91                android:layout_marginBottom="4dip"
92                android:layout_marginTop="16dip" />
93        </LinearLayout>
94
95    </ScrollView>
96
97</LinearLayout>
98