]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/ssl_certificate_error.xml
Combine drawable files. https://redmine.stoutner.com/issues/794
[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,2019-2020,2022 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
7
8   Privacy Browser Android 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 Android 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 Android.  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="?attr/redTextColor"
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/blueTitleTextColor" />
49
50         <TextView
51             android:id="@+id/url"
52             android:layout_height="wrap_content"
53             android:layout_width="wrap_content" />
54
55         <TextView
56             android:id="@+id/ip_addresses"
57             android:layout_height="wrap_content"
58             android:layout_width="wrap_content"
59             android:text="@string/ip_addresses" />
60
61         <!-- Issued To. -->
62         <TextView
63             android:layout_width="wrap_content"
64             android:layout_height="wrap_content"
65             android:layout_marginTop="15dp"
66             android:text="@string/issued_to"
67             android:textAllCaps="true"
68             android:textStyle="bold"
69             android:textColor="?attr/blueTitleTextColor" />
70
71         <TextView
72             android:id="@+id/issued_to_cname"
73             android:layout_height="wrap_content"
74             android:layout_width="wrap_content" />
75
76         <TextView
77             android:id="@+id/issued_to_oname"
78             android:layout_height="wrap_content"
79             android:layout_width="wrap_content" />
80
81         <TextView
82             android:id="@+id/issued_to_uname"
83             android:layout_height="wrap_content"
84             android:layout_width="wrap_content"/>
85
86
87         <!-- Issued By. -->
88         <TextView
89             android:id="@+id/issued_by_textview"
90             android:layout_width="wrap_content"
91             android:layout_height="wrap_content"
92             android:layout_marginTop="15dp"
93             android:text="@string/issued_by"
94             android:textAllCaps="true"
95             android:textStyle="bold"
96             android:textColor="?attr/blueTitleTextColor" />
97
98         <TextView
99             android:id="@+id/issued_by_cname"
100             android:layout_width="wrap_content"
101             android:layout_height="wrap_content" />
102
103         <TextView
104             android:id="@+id/issued_by_oname"
105             android:layout_height="wrap_content"
106             android:layout_width="wrap_content" />
107
108         <TextView
109             android:id="@+id/issued_by_uname"
110             android:layout_height="wrap_content"
111             android:layout_width="wrap_content" />
112
113
114         <!-- Valid Dates. -->
115         <TextView
116             android:id="@+id/valid_dates_textview"
117             android:layout_height="wrap_content"
118             android:layout_width="wrap_content"
119             android:layout_marginTop="15dp"
120             android:text="@string/valid_dates"
121             android:textAllCaps="true"
122             android:textStyle="bold"
123             android:textColor="?attr/blueTitleTextColor" />
124
125         <TextView
126             android:id="@+id/start_date"
127             android:layout_height="wrap_content"
128             android:layout_width="wrap_content" />
129
130         <TextView
131             android:id="@+id/end_date"
132             android:layout_height="wrap_content"
133             android:layout_width="wrap_content" />
134     </LinearLayout>
135 </ScrollView>