Show search suggestions only when enabled in preferences
[replicant:packages_apps_browser.git] / res / xml / privacy_security_preferences.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16
17 <PreferenceScreen
18         xmlns:android="http://schemas.android.com/apk/res/android">
19
20     <com.android.browser.BrowserYesNoPreference
21             android:key="privacy_clear_cache"
22             android:title="@string/pref_privacy_clear_cache"
23             android:summary="@string/pref_privacy_clear_cache_summary"
24             android:dialogMessage="@string/pref_privacy_clear_cache_dlg"
25             android:dialogIcon="@android:drawable/ic_dialog_alert" />
26
27     <com.android.browser.BrowserYesNoPreference
28             android:key="privacy_clear_history"
29             android:title="@string/pref_privacy_clear_history"
30             android:summary="@string/pref_privacy_clear_history_summary"
31             android:dialogMessage="@string/pref_privacy_clear_history_dlg"
32             android:dialogIcon="@android:drawable/ic_dialog_alert"/>
33
34     <CheckBoxPreference
35             android:key="show_security_warnings"
36             android:defaultValue="true"
37             android:title="@string/pref_security_show_security_warning"
38             android:summary="@string/pref_security_show_security_warning_summary" />
39
40     <CheckBoxPreference
41             android:key="show_search_suggestions"
42             android:defaultValue="false"
43             android:title="@string/pref_security_show_search_suggestions"
44             android:summary="@string/pref_security_show_search_suggestions_summary" />
45
46     <PreferenceCategory android:title="@string/pref_privacy_cookies_title">
47         <CheckBoxPreference
48                 android:key="accept_cookies"
49                 android:defaultValue="true"
50                 android:title="@string/pref_security_accept_cookies"
51                 android:summary="@string/pref_security_accept_cookies_summary" />
52
53         <com.android.browser.BrowserYesNoPreference
54                 android:key="privacy_clear_cookies"
55                 android:title="@string/pref_privacy_clear_cookies"
56                 android:summary="@string/pref_privacy_clear_cookies_summary"
57                 android:dialogMessage="@string/pref_privacy_clear_cookies_dlg"
58                 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
59     </PreferenceCategory>
60
61     <PreferenceCategory android:title="@string/pref_privacy_formdata_title">
62         <CheckBoxPreference
63                 android:key="save_formdata"
64                 android:defaultValue="true"
65                 android:title="@string/pref_security_save_form_data"
66                 android:summary="@string/pref_security_save_form_data_summary" />
67
68         <com.android.browser.BrowserYesNoPreference
69                 android:key="privacy_clear_form_data"
70                 android:title="@string/pref_privacy_clear_form_data"
71                 android:summary="@string/pref_privacy_clear_form_data_summary"
72                 android:dialogMessage="@string/pref_privacy_clear_form_data_dlg"
73                 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
74     </PreferenceCategory>
75
76     <PreferenceCategory android:title="@string/pref_privacy_location_title">
77         <CheckBoxPreference
78                 android:key="enable_geolocation"
79                 android:defaultValue="true"
80                 android:title="@string/pref_privacy_enable_geolocation"
81                 android:summary="@string/pref_privacy_enable_geolocation_summary" />
82
83         <com.android.browser.BrowserYesNoPreference
84                 android:key="privacy_clear_geolocation_access"
85                 android:dependency="enable_geolocation"
86                 android:title="@string/pref_privacy_clear_geolocation_access"
87                 android:summary="@string/pref_privacy_clear_geolocation_access_summary"
88                 android:dialogMessage="@string/pref_privacy_clear_geolocation_access_dlg"
89                 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
90     </PreferenceCategory>
91
92     <PreferenceCategory android:title="@string/pref_security_passwords_title">
93         <CheckBoxPreference
94                 android:key="remember_passwords"
95                 android:defaultValue="true"
96                 android:title="@string/pref_security_remember_passwords"
97                 android:summary="@string/pref_security_remember_passwords_summary" />
98
99         <com.android.browser.BrowserYesNoPreference
100                 android:key="privacy_clear_passwords"
101                 android:title="@string/pref_privacy_clear_passwords"
102                 android:summary="@string/pref_privacy_clear_passwords_summary"
103                 android:dialogMessage="@string/pref_privacy_clear_passwords_dlg" 
104                 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
105     </PreferenceCategory>
106
107 </PreferenceScreen>