]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/view_request_dialog.xml
Change the night access color to light violet. https://redmine.stoutner.com/issues/572
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / view_request_dialog.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2018,2020 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:orientation="vertical"
28         android:layout_height="wrap_content"
29         android:layout_width="match_parent"
30         android:layout_marginStart="10dp"
31         android:layout_marginEnd="10dp" >
32
33         <!-- Disposition. -->
34         <TextView
35             android:layout_height="wrap_content"
36             android:layout_width="match_parent"
37             android:text="@string/disposition"
38             android:textSize="12sp"
39             android:textColor="?attr/blueTextColor"
40             android:layout_marginTop="5dp" />
41
42         <TextView
43             android:id="@+id/request_disposition"
44             android:layout_height="wrap_content"
45             android:layout_width="match_parent"
46             android:textSize="16sp"
47             android:textColor="?android:textColorPrimary"
48             android:textIsSelectable="true" />
49
50         <!-- URL -->
51         <TextView
52             android:layout_height="wrap_content"
53             android:layout_width="match_parent"
54             android:text="@string/url"
55             android:textSize="12sp"
56             android:textColor="?attr/blueTextColor"
57             android:layout_marginTop="10dp" />
58
59         <TextView
60             android:id="@+id/request_url"
61             android:layout_height="wrap_content"
62             android:layout_width="match_parent"
63             android:textSize="16sp"
64             android:textColor="?android:textColorPrimary"
65             android:textIsSelectable="true" />
66
67         <!-- Blocklist -->
68         <TextView
69             android:id="@+id/request_blocklist_label"
70             android:layout_height="wrap_content"
71             android:layout_width="match_parent"
72             android:text="@string/blocklist"
73             android:textSize="12sp"
74             android:textColor="?attr/blueTextColor"
75             android:layout_marginTop="10dp" />
76
77         <TextView
78             android:id="@+id/request_blocklist"
79             android:layout_height="wrap_content"
80             android:layout_width="match_parent"
81             android:textSize="16sp"
82             android:textColor="?android:textColorPrimary"
83             android:textIsSelectable="true" />
84
85         <!-- Sublist -->
86         <TextView
87             android:id="@+id/request_sublist_label"
88             android:layout_height="wrap_content"
89             android:layout_width="match_parent"
90             android:text="@string/sublist"
91             android:textSize="12sp"
92             android:textColor="?attr/blueTextColor"
93             android:layout_marginTop="10dp" />
94
95         <TextView
96             android:id="@+id/request_sublist"
97             android:layout_height="wrap_content"
98             android:layout_width="match_parent"
99             android:textSize="16sp"
100             android:textColor="?android:textColorPrimary"
101             android:textIsSelectable="true" />
102
103         <!-- Blocklist Entries. -->
104         <TextView
105             android:id="@+id/request_blocklist_entries_label"
106             android:layout_height="wrap_content"
107             android:layout_width="match_parent"
108             android:text="@string/blocklist_entries"
109             android:textSize="12sp"
110             android:textColor="?attr/blueTextColor"
111             android:layout_marginTop="10dp" />
112
113         <TextView
114             android:id="@+id/request_blocklist_entries"
115             android:layout_height="wrap_content"
116             android:layout_width="match_parent"
117             android:textSize="16sp"
118             android:textColor="?android:textColorPrimary"
119             android:textIsSelectable="true" />
120
121         <!-- Blocklist Entries. -->
122         <TextView
123             android:id="@+id/request_blocklist_original_entry_label"
124             android:layout_height="wrap_content"
125             android:layout_width="match_parent"
126             android:text="@string/blocklist_original_entry"
127             android:textSize="12sp"
128             android:textColor="?attr/blueTextColor"
129             android:layout_marginTop="10dp" />
130
131         <TextView
132             android:id="@+id/request_blocklist_original_entry"
133             android:layout_height="wrap_content"
134             android:layout_width="match_parent"
135             android:textSize="16sp"
136             android:textColor="?android:textColorPrimary"
137             android:textIsSelectable="true" />
138     </LinearLayout>
139 </ScrollView>