• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:dialogTitle="@string/clear"
26            android:dialogIcon="@android:drawable/ic_dialog_alert" />
27
28    <com.android.browser.BrowserYesNoPreference
29            android:key="privacy_clear_history"
30            android:title="@string/pref_privacy_clear_history"
31            android:summary="@string/pref_privacy_clear_history_summary"
32            android:dialogMessage="@string/pref_privacy_clear_history_dlg"
33            android:dialogTitle="@string/clear"
34            android:dialogIcon="@android:drawable/ic_dialog_alert"/>
35
36    <CheckBoxPreference
37            android:key="show_security_warnings"
38            android:defaultValue="true"
39            android:title="@string/pref_security_show_security_warning"
40            android:summary="@string/pref_security_show_security_warning_summary" />
41
42    <PreferenceCategory android:title="@string/pref_privacy_cookies_title">
43        <CheckBoxPreference
44                android:key="accept_cookies"
45                android:defaultValue="true"
46                android:title="@string/pref_security_accept_cookies"
47                android:summary="@string/pref_security_accept_cookies_summary" />
48
49        <com.android.browser.BrowserYesNoPreference
50                android:key="privacy_clear_cookies"
51                android:title="@string/pref_privacy_clear_cookies"
52                android:summary="@string/pref_privacy_clear_cookies_summary"
53                android:dialogMessage="@string/pref_privacy_clear_cookies_dlg"
54                android:dialogTitle="@string/clear"
55                android:dialogIcon="@android:drawable/ic_dialog_alert"/>
56    </PreferenceCategory>
57
58    <PreferenceCategory android:title="@string/pref_privacy_formdata_title">
59        <CheckBoxPreference
60                android:key="save_formdata"
61                android:defaultValue="true"
62                android:title="@string/pref_security_save_form_data"
63                android:summary="@string/pref_security_save_form_data_summary" />
64
65        <com.android.browser.BrowserYesNoPreference
66                android:key="privacy_clear_form_data"
67                android:title="@string/pref_privacy_clear_form_data"
68                android:summary="@string/pref_privacy_clear_form_data_summary"
69                android:dialogMessage="@string/pref_privacy_clear_form_data_dlg"
70                android:dialogTitle="@string/clear"
71                android:dialogIcon="@android:drawable/ic_dialog_alert"/>
72    </PreferenceCategory>
73
74    <PreferenceCategory android:title="@string/pref_privacy_location_title">
75        <CheckBoxPreference
76                android:key="enable_geolocation"
77                android:defaultValue="true"
78                android:title="@string/pref_privacy_enable_geolocation"
79                android:summary="@string/pref_privacy_enable_geolocation_summary" />
80
81        <com.android.browser.BrowserYesNoPreference
82                android:key="privacy_clear_geolocation_access"
83                android:dependency="enable_geolocation"
84                android:title="@string/pref_privacy_clear_geolocation_access"
85                android:summary="@string/pref_privacy_clear_geolocation_access_summary"
86                android:dialogMessage="@string/pref_privacy_clear_geolocation_access_dlg"
87                android:dialogTitle="@string/clear"
88                android:dialogIcon="@android:drawable/ic_dialog_alert"/>
89    </PreferenceCategory>
90
91    <PreferenceCategory android:title="@string/pref_security_passwords_title">
92        <CheckBoxPreference
93                android:key="remember_passwords"
94                android:defaultValue="true"
95                android:title="@string/pref_security_remember_passwords"
96                android:summary="@string/pref_security_remember_passwords_summary" />
97
98        <com.android.browser.BrowserYesNoPreference
99                android:key="privacy_clear_passwords"
100                android:title="@string/pref_privacy_clear_passwords"
101                android:summary="@string/pref_privacy_clear_passwords_summary"
102                android:dialogMessage="@string/pref_privacy_clear_passwords_dlg"
103                android:dialogTitle="@string/clear"
104                android:dialogIcon="@android:drawable/ic_dialog_alert"/>
105    </PreferenceCategory>
106
107</PreferenceScreen>
108