1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2015 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:title="@string/all_sites">
<!-- A common card preference to highlight a text paragraph. -->
<org.chromium.components.browser_ui.settings.CardPreference
android:key="card_preference"
app:allowDividerBelow="false"
app:isPreferenceVisible="false"/>
<!-- A text message describing cookie settings. -->
<org.chromium.components.browser_ui.settings.TextMessagePreference
android:key="info_text"/>
<!-- A common binary toggle, only shown for specific categories that allow
turning default values for that category on/off.-->
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="binary_toggle"
android:defaultValue="true" />
<!-- A common binary radio button group, only shown for specific categories that allow
turning default values for that category.-->
<org.chromium.components.browser_ui.site_settings.BinaryStatePermissionPreference
android:key="binary_radio_button" />
<!-- A common Allow/Ask/Block 3-state toggle (radio group). Only shown when
the category requires these 3 states. Mutually exclusive with the
"binary_toggle" above and the "four_state_cookie_toggle" below. -->
<org.chromium.components.browser_ui.site_settings.TriStateSiteSettingsPreference
android:key="tri_state_toggle" />
<!-- A three state toggle for third-party cookies preferences, only shown for the ThirdPartyCookies category. -->
<org.chromium.components.browser_ui.site_settings.TriStateCookieSettingsPreference
android:key="tri_state_cookie_toggle" />
<!-- A message to display why toggle is disabled -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="toggle_disable_reason" />
<!-- A checkbox for enabling a quiet ui for notification prompts. Only shown in the Notifications category. -->
<org.chromium.components.browser_ui.settings.ChromeBaseCheckBoxPreference
android:key="notifications_quiet_ui"
android:title="@string/website_settings_category_notifications_quiet"
android:defaultValue="false"
android:persistent="false" />
<!-- A toggle for enabling vibration in notifications. -->
<org.chromium.components.browser_ui.settings.ChromeBaseCheckBoxPreference
android:key="notifications_vibrate"
android:title="@string/enable_notifications_vibrate_title"
android:summary="@string/enable_notifications_vibrate_summary"
android:defaultValue="true" />
<!-- Three state radiogroup preference for permissions that support quiet
prompts. Currently supported by Notifications and Geolocation. -->
<org.chromium.components.browser_ui.site_settings.TriStatePermissionPreference
android:key="notifications_tri_state_toggle" />
<org.chromium.components.browser_ui.site_settings.TriStatePermissionPreference
android:key="location_tri_state_toggle" />
<!-- A checkbox to request mobile view when the window is narrow.
Only shown in the Desktop site category. -->
<org.chromium.components.browser_ui.settings.ChromeBaseCheckBoxPreference
android:key="desktop_site_window"
android:title="@string/enable_desktop_site_window_setting_title"
android:defaultValue="false"
android:persistent="false" />
<!-- A hyperlink to explain more about Protected Media content settings. -->
<org.chromium.components.browser_ui.settings.LearnMorePreference
android:key="protected_content_learn_more" />
<!-- Collapsible headers for sorting preferences. -->
<org.chromium.components.browser_ui.settings.ExpandablePreferenceGroup
android:key="managed_group" />
<org.chromium.components.browser_ui.settings.ExpandablePreferenceGroup
android:key="blocked_group" />
<org.chromium.components.browser_ui.settings.ExpandablePreferenceGroup
android:key="allowed_group" />
<!-- Text messages describing the anti abuse features.
Only shown for the AntiAbuse category. -->
<PreferenceCategory
android:key="anti_abuse_when_on_header"
android:title="@string/anti_abuse_when_on_header"/>
<org.chromium.components.browser_ui.settings.TextMessagePreference
android:key="anti_abuse_when_on_section_one"
android:summary="@string/anti_abuse_when_on_section_one"
android:icon="@drawable/ic_archive"
app:allowDividerBelow="false" />
<org.chromium.components.browser_ui.settings.TextMessagePreference
android:key="anti_abuse_when_on_section_two"
android:summary="@string/anti_abuse_when_on_section_two"
android:icon="@drawable/ic_dashboard"
app:allowDividerBelow="false" />
<org.chromium.components.browser_ui.settings.TextMessagePreference
android:key="anti_abuse_when_on_section_three"
android:summary="@string/anti_abuse_when_on_section_three"
android:icon="@drawable/ic_timer"
app:allowDividerBelow="false" />
<PreferenceCategory
android:key="anti_abuse_things_to_consider_header"
android:title="@string/anti_abuse_things_to_consider_header"/>
<org.chromium.components.browser_ui.settings.TextMessagePreference
android:key="anti_abuse_things_to_consider_section_one"
android:summary="@string/anti_abuse_things_to_consider_section_one"
android:icon="@drawable/ic_background_replace"
app:allowDividerBelow="false" />
</PreferenceScreen>
|