site_permissions_preferences.xml (5215B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <androidx.preference.PreferenceScreen xmlns:tools="http://schemas.android.com/tools" 6 xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:app="http://schemas.android.com/apk/res-auto"> 8 9 <androidx.preference.PreferenceCategory 10 android:layout="@layout/preference_category_no_icon_style" 11 android:title="@string/preferences_category_content"> 12 13 <SwitchPreference 14 android:icon="@drawable/mozac_ic_device_desktop_24" 15 android:defaultValue="false" 16 android:key="@string/pref_key_desktop_browsing" 17 android:title="@string/preference_feature_desktop_mode_default" 18 app:iconSpaceReserved="false" /> 19 20 </androidx.preference.PreferenceCategory> 21 22 <androidx.preference.PreferenceCategory 23 android:layout="@layout/preference_category_no_icon_style" 24 android:title="@string/preferences_category_permissions"> 25 26 <androidx.preference.Preference 27 android:icon="@drawable/ic_autoplay_enabled" 28 android:key="@string/pref_key_browser_feature_autoplay_v2" 29 android:title="@string/preference_browser_feature_autoplay" 30 android:summary="@string/preference_option_autoplay_blocked3"/> 31 32 <androidx.preference.Preference 33 android:icon="@drawable/ic_camera_enabled" 34 android:key="@string/pref_key_phone_feature_camera" 35 android:title="@string/preference_phone_feature_camera" 36 android:summary="@string/preference_option_phone_feature_ask_to_allow"/> 37 38 <androidx.preference.Preference 39 android:icon="@drawable/ic_location_enabled" 40 android:key="@string/pref_key_phone_feature_location" 41 android:title="@string/preference_phone_feature_location" 42 android:summary="@string/preference_option_phone_feature_ask_to_allow"/> 43 44 <androidx.preference.Preference 45 android:icon="@drawable/ic_microphone_enabled" 46 android:key="@string/pref_key_phone_feature_microphone" 47 android:title="@string/preference_phone_feature_microphone" 48 android:summary="@string/preference_option_phone_feature_ask_to_allow"/> 49 50 <androidx.preference.Preference 51 android:icon="@drawable/ic_notifications_enabled" 52 android:key="@string/pref_key_phone_feature_notification" 53 android:title="@string/preference_phone_feature_notification" 54 android:summary="@string/preference_option_phone_feature_ask_to_allow" 55 app:allowDividerBelow="true"/> 56 57 <androidx.preference.Preference 58 android:icon="@drawable/ic_storage" 59 android:key="@string/pref_key_browser_feature_persistent_storage" 60 android:title="@string/preference_phone_feature_persistent_storage" 61 android:summary="@string/preference_option_phone_feature_ask_to_allow" 62 app:allowDividerBelow="true"/> 63 64 <androidx.preference.Preference 65 android:icon="@drawable/ic_cookies" 66 android:key="@string/pref_key_browser_feature_cross_origin_storage_access" 67 android:title="@string/preference_phone_feature_cross_origin_storage_access" 68 android:summary="@string/preference_option_phone_feature_ask_to_allow" 69 app:allowDividerBelow="true"/> 70 71 <androidx.preference.Preference 72 android:icon="@drawable/ic_link" 73 android:key="@string/pref_key_browser_feature_media_key_system_access" 74 android:title="@string/preference_phone_feature_media_key_system_access" 75 android:summary="@string/preference_option_phone_feature_ask_to_allow" 76 app:isPreferenceVisible="false" 77 app:allowDividerBelow="true"/> 78 79 <androidx.preference.Preference 80 android:icon="@drawable/mozac_ic_device_desktop_24" 81 android:key="@string/pref_key_browser_feature_local_device_access" 82 android:summary="@string/preference_option_phone_feature_ask_to_allow" 83 android:title="@string/preference_browser_feature_local_device_access" 84 app:allowDividerBelow="true" 85 app:isPreferenceVisible="false" /> 86 87 <androidx.preference.Preference 88 android:icon="@drawable/mozac_ic_router_24" 89 android:key="@string/pref_key_browser_feature_local_network_access" 90 android:summary="@string/preference_option_phone_feature_ask_to_allow" 91 android:title="@string/preference_browser_feature_local_network_access" 92 app:allowDividerBelow="true" 93 app:isPreferenceVisible="false" /> 94 95 <androidx.preference.Preference 96 android:icon="@drawable/ic_internet" 97 android:key="@string/pref_key_show_site_exceptions" 98 android:title="@string/preference_exceptions" 99 app:allowDividerAbove="true"/> 100 </androidx.preference.PreferenceCategory> 101 102 </androidx.preference.PreferenceScreen>