]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/ssl_certificate_error.xml
6c95fbfa28f828926bd86f1219b2640d17496f82
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / ssl_certificate_error.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2016-2017 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="match_parent" >
25
26     <LinearLayout
27         android:layout_height="wrap_content"
28         android:layout_width="match_parent"
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:layout_gravity="center_horizontal"
37             android:textColor="@color/red_a700"
38             android:textStyle="bold"/>
39
40         <!-- URL. -->
41         <TextView
42             android:layout_height="wrap_content"
43             android:layout_width="wrap_content"
44             android:layout_marginTop="15dp"
45             android:text="@string/url"
46             android:textAllCaps="true"
47             android:textStyle="bold"
48             android:textColor="?attr/sslTitle" />
49
50         <TextView
51             android:id="@+id/url_error_dialog"
52             android:layout_height="wrap_content"
53             android:layout_width="wrap_content" />
54
55         <!-- Issued To. -->
56         <TextView
57             android:layout_width="wrap_content"
58             android:layout_height="wrap_content"
59             android:layout_marginTop="15dp"
60             android:text="@string/issued_to"
61             android:textAllCaps="true"
62             android:textStyle="bold"
63             android:textColor="?attr/sslTitle" />
64
65         <TextView
66             android:id="@+id/issued_to_cname_error_dialog"
67             android:layout_height="wrap_content"
68             android:layout_width="wrap_content" />
69
70         <TextView
71             android:id="@+id/issued_to_oname_error_dialog"
72             android:layout_height="wrap_content"
73             android:layout_width="wrap_content" />
74
75         <TextView
76             android:id="@+id/issued_to_uname_error_dialog"
77             android:layout_height="wrap_content"
78             android:layout_width="wrap_content"/>
79
80
81         <!-- Issued By. -->
82         <TextView
83             android:id="@+id/issued_by_textview"
84             android:layout_width="wrap_content"
85             android:layout_height="wrap_content"
86             android:layout_marginTop="15dp"
87             android:text="@string/issued_by"
88             android:textAllCaps="true"
89             android:textStyle="bold"
90             android:textColor="?attr/sslTitle"/>
91
92         <TextView
93             android:id="@+id/issued_by_cname_error_dialog"
94             android:layout_width="wrap_content"
95             android:layout_height="wrap_content" />
96
97         <TextView
98             android:id="@+id/issued_by_oname_error_dialog"
99             android:layout_height="wrap_content"
100             android:layout_width="wrap_content" />
101
102         <TextView
103             android:id="@+id/issued_by_uname_error_dialog"
104             android:layout_height="wrap_content"
105             android:layout_width="wrap_content" />
106
107
108         <!-- Valid Dates. -->
109         <TextView
110             android:id="@+id/valid_dates_textview"
111             android:layout_height="wrap_content"
112             android:layout_width="wrap_content"
113             android:layout_marginTop="15dp"
114             android:text="@string/valid_dates"
115             android:textAllCaps="true"
116             android:textStyle="bold"
117             android:textColor="?attr/sslTitle"/>
118
119         <TextView
120             android:id="@+id/start_date_error_dialog"
121             android:layout_height="wrap_content"
122             android:layout_width="wrap_content" />
123
124         <TextView
125             android:id="@+id/end_date_error_dialog"
126             android:layout_height="wrap_content"
127             android:layout_width="wrap_content" />
128     </LinearLayout>
129 </ScrollView>