]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/view_ssl_certificate.xml
14038690ac04be7e1bbd6c4cb9d48fdc6ba763fa
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / view_ssl_certificate.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="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         <!-- Domain. -->
33         <TextView
34             android:layout_height="wrap_content"
35             android:layout_width="wrap_content"
36             android:layout_marginTop="5dp"
37             android:text="@string/domain"
38             android:textAllCaps="true"
39             android:textStyle="bold"
40             android:textColor="?attr/sslTitle" />
41
42         <TextView
43             android:id="@+id/domain"
44             android:layout_height="wrap_content"
45             android:layout_width="wrap_content" />
46
47         <!-- Issued To. -->
48         <TextView
49             android:layout_height="wrap_content"
50             android:layout_width="wrap_content"
51             android:layout_marginTop="15dp"
52             android:text="@string/issued_to"
53             android:textAllCaps="true"
54             android:textStyle="bold"
55             android:textColor="?attr/sslTitle" />
56
57         <TextView
58             android:id="@+id/issued_to_cname"
59             android:layout_height="wrap_content"
60             android:layout_width="wrap_content" />
61
62         <TextView
63             android:id="@+id/issued_to_oname"
64             android:layout_height="wrap_content"
65             android:layout_width="wrap_content" />
66
67         <TextView
68             android:id="@+id/issued_to_uname"
69             android:layout_height="wrap_content"
70             android:layout_width="wrap_content" />
71
72
73         <!-- Issued By. -->
74         <TextView
75             android:layout_height="wrap_content"
76             android:layout_width="wrap_content"
77             android:layout_marginTop="15dp"
78             android:text="@string/issued_by"
79             android:textAllCaps="true"
80             android:textStyle="bold"
81             android:textColor="?attr/sslTitle" />
82
83         <TextView
84             android:id="@+id/issued_by_cname"
85             android:layout_height="wrap_content"
86             android:layout_width="wrap_content" />
87
88         <TextView
89             android:id="@+id/issued_by_oname"
90             android:layout_height="wrap_content"
91             android:layout_width="wrap_content" />
92
93         <TextView
94             android:id="@+id/issued_by_uname"
95             android:layout_height="wrap_content"
96             android:layout_width="wrap_content" />
97
98
99         <!-- Valid Dates. -->
100         <TextView
101             android:layout_height="wrap_content"
102             android:layout_width="wrap_content"
103             android:layout_marginTop="15dp"
104             android:text="@string/valid_dates"
105             android:textAllCaps="true"
106             android:textStyle="bold"
107             android:textColor="?attr/sslTitle" />
108
109         <TextView
110             android:id="@+id/start_date"
111             android:layout_height="wrap_content"
112             android:layout_width="wrap_content" />
113
114         <TextView
115             android:id="@+id/end_date"
116             android:layout_height="wrap_content"
117             android:layout_width="wrap_content" />
118     </LinearLayout>
119 </ScrollView>