Implement SwipeToRefresh for real this time.
[PrivacyBrowser.git] / app / src / main / res / xml / preferences.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://privacybrowser.stoutner.com/>.
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 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
22     <PreferenceCategory
23         android:key="privacy_settings"
24         android:title="@string/privacy_settings" >
25
26         <SwitchPreference
27             android:key="javascript_enabled"
28             android:title="@string/javascript_preference"
29             android:summary="@string/javascript_preference_summary"
30             android:defaultValue="false" />
31
32         <SwitchPreference
33             android:key="dom_storage_enabled"
34             android:title="@string/dom_storage_preference"
35             android:summary="@string/dom_storage_preference_summary"
36             android:defaultValue="false" />
37
38         <SwitchPreference
39             android:key="cookies_enabled"
40             android:title="@string/cookies_preference"
41             android:summary="@string/cookies_preference_summary"
42             android:defaultValue="false" />
43     </PreferenceCategory>
44
45     <PreferenceCategory
46         android:key="general_settings"
47         android:title="@string/general_settings" >
48
49         <EditTextPreference
50             android:key="homepage"
51             android:title="@string/homepage_preference"
52             android:summary="@string/homepage_preference_summary"
53             android:defaultValue="https://www.duckduckgo.com"
54             android:singleLine="true"/>
55     </PreferenceCategory>
56 </PreferenceScreen>