]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/ssl_certificate_error.xml
View SSL certificates and errors.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / ssl_certificate_error.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright 2016 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
7
8   Privacy Browser is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <ScrollView
22     xmlns:android="http://schemas.android.com/apk/res/android"
23     android:layout_height="wrap_content"
24     android:layout_width="wrap_content" >
25
26     <LinearLayout
27         android:layout_height="wrap_content"
28         android:layout_width="wrap_content"
29         android:padding="10dp"
30         android:orientation="vertical" >
31
32         <TextView
33             android:id="@+id/primary_error"
34             android:layout_height="wrap_content"
35             android:layout_width="wrap_content"
36             android:textColor="@color/red"
37             android:textStyle="bold"/>
38
39         <!-- URL. -->
40         <TextView
41             android:layout_height="wrap_content"
42             android:layout_width="wrap_content"
43             android:layout_marginTop="15dp"
44             android:text="@string/url"
45             android:textAllCaps="true"
46             android:textStyle="bold"
47             android:textColor="@color/dark_blue" />
48
49         <TextView
50             android:id="@+id/url_error_dialog"
51             android:layout_height="wrap_content"
52             android:layout_width="wrap_content" />
53
54         <!-- Issued To. -->
55         <TextView
56             android:layout_width="wrap_content"
57             android:layout_height="wrap_content"
58             android:layout_marginTop="15dp"
59             android:text="@string/issued_to"
60             android:textAllCaps="true"
61             android:textStyle="bold"
62             android:textColor="@color/dark_blue" />
63
64         <TextView
65             android:id="@+id/issued_to_cname_error_dialog"
66             android:layout_height="wrap_content"
67             android:layout_width="wrap_content" />
68
69         <TextView
70             android:id="@+id/issued_to_oname_error_dialog"
71             android:layout_height="wrap_content"
72             android:layout_width="wrap_content" />
73
74         <TextView
75             android:id="@+id/issued_to_uname_error_dialog"
76             android:layout_height="wrap_content"
77             android:layout_width="wrap_content"/>
78
79
80         <!-- Issued By. -->
81         <TextView
82             android:layout_width="wrap_content"
83             android:layout_height="wrap_content"
84             android:layout_marginTop="15dp"
85             android:text="@string/issued_by"
86             android:textAllCaps="true"
87             android:textStyle="bold"
88             android:textColor="@color/dark_blue"/>
89
90         <TextView
91             android:id="@+id/issued_by_cname_error_dialog"
92             android:layout_width="wrap_content"
93             android:layout_height="wrap_content" />
94
95         <TextView
96             android:id="@+id/issued_by_oname_error_dialog"
97             android:layout_height="wrap_content"
98             android:layout_width="wrap_content" />
99
100         <TextView
101             android:id="@+id/issued_by_uname_error_dialog"
102             android:layout_height="wrap_content"
103             android:layout_width="wrap_content" />
104
105
106         <!-- Valid Dates. -->
107         <TextView
108             android:layout_height="wrap_content"
109             android:layout_width="wrap_content"
110             android:layout_marginTop="15dp"
111             android:text="@string/valid_dates"
112             android:textAllCaps="true"
113             android:textStyle="bold"
114             android:textColor="@color/dark_blue"/>
115
116         <TextView
117             android:id="@+id/start_date_error_dialog"
118             android:layout_height="wrap_content"
119             android:layout_width="wrap_content" />
120
121         <TextView
122             android:id="@+id/end_date_error_dialog"
123             android:layout_height="wrap_content"
124             android:layout_width="wrap_content" />
125     </LinearLayout>
126 </ScrollView>