blob: 2633600047103c5fa1bd35fea2d4d30219ede3a8 [file] [log] [blame]
John Reck035a5642010-12-21 18:51:27 -08001<?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"
John Reck035a5642010-12-21 18:51:27 -080025 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"
John Reck035a5642010-12-21 18:51:27 -080032 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
John Reck035a5642010-12-21 18:51:27 -080040 <PreferenceCategory android:title="@string/pref_privacy_cookies_title">
41 <CheckBoxPreference
42 android:key="accept_cookies"
43 android:defaultValue="true"
44 android:title="@string/pref_security_accept_cookies"
45 android:summary="@string/pref_security_accept_cookies_summary" />
46
47 <com.android.browser.BrowserYesNoPreference
48 android:key="privacy_clear_cookies"
49 android:title="@string/pref_privacy_clear_cookies"
50 android:summary="@string/pref_privacy_clear_cookies_summary"
51 android:dialogMessage="@string/pref_privacy_clear_cookies_dlg"
John Reck035a5642010-12-21 18:51:27 -080052 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
53 </PreferenceCategory>
54
55 <PreferenceCategory android:title="@string/pref_privacy_formdata_title">
56 <CheckBoxPreference
57 android:key="save_formdata"
58 android:defaultValue="true"
59 android:title="@string/pref_security_save_form_data"
60 android:summary="@string/pref_security_save_form_data_summary" />
61
62 <com.android.browser.BrowserYesNoPreference
63 android:key="privacy_clear_form_data"
64 android:title="@string/pref_privacy_clear_form_data"
65 android:summary="@string/pref_privacy_clear_form_data_summary"
66 android:dialogMessage="@string/pref_privacy_clear_form_data_dlg"
John Reck035a5642010-12-21 18:51:27 -080067 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
68 </PreferenceCategory>
69
70 <PreferenceCategory android:title="@string/pref_privacy_location_title">
71 <CheckBoxPreference
72 android:key="enable_geolocation"
73 android:defaultValue="true"
74 android:title="@string/pref_privacy_enable_geolocation"
75 android:summary="@string/pref_privacy_enable_geolocation_summary" />
76
77 <com.android.browser.BrowserYesNoPreference
78 android:key="privacy_clear_geolocation_access"
79 android:dependency="enable_geolocation"
80 android:title="@string/pref_privacy_clear_geolocation_access"
81 android:summary="@string/pref_privacy_clear_geolocation_access_summary"
82 android:dialogMessage="@string/pref_privacy_clear_geolocation_access_dlg"
John Reck035a5642010-12-21 18:51:27 -080083 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
84 </PreferenceCategory>
85
86 <PreferenceCategory android:title="@string/pref_security_passwords_title">
87 <CheckBoxPreference
88 android:key="remember_passwords"
89 android:defaultValue="true"
90 android:title="@string/pref_security_remember_passwords"
91 android:summary="@string/pref_security_remember_passwords_summary" />
92
93 <com.android.browser.BrowserYesNoPreference
94 android:key="privacy_clear_passwords"
95 android:title="@string/pref_privacy_clear_passwords"
96 android:summary="@string/pref_privacy_clear_passwords_summary"
97 android:dialogMessage="@string/pref_privacy_clear_passwords_dlg"
John Reck035a5642010-12-21 18:51:27 -080098 android:dialogIcon="@android:drawable/ic_dialog_alert"/>
99 </PreferenceCategory>
100
101</PreferenceScreen>