tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

preferences.xml (13309B)


      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 
      6 <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
      7    xmlns:app="http://schemas.android.com/apk/res-auto">
      8 
      9    <androidx.preference.Preference
     10        android:key="@string/pref_key_sign_in"
     11        android:layout="@layout/sign_in_preference"
     12        android:summary="@string/preferences_sign_in_description"
     13        android:title="@string/preferences_sign_in"
     14        app:isPreferenceVisible="false"
     15        app:allowDividerBelow="false" />
     16 
     17    <androidx.preference.PreferenceCategory
     18        android:key="@string/pref_key_account_category"
     19        android:title="@string/preferences_category_account"
     20        app:isPreferenceVisible="false"
     21        android:layout="@layout/preference_category_no_icon_style">
     22 
     23        <org.mozilla.fenix.settings.account.AccountPreference
     24            android:icon="@drawable/mozac_ic_avatar_circle_24"
     25            android:key="@string/pref_key_account" />
     26 
     27        <org.mozilla.fenix.settings.account.AccountAuthErrorPreference
     28            android:icon="@drawable/mozac_lib_crash_notification"
     29            android:key="@string/pref_key_account_auth_error" />
     30    </androidx.preference.PreferenceCategory>
     31 
     32    <androidx.preference.Preference
     33        app:iconSpaceReserved="false"
     34        android:key="@string/pref_key_sync_debug"
     35        android:title="@string/preferences_sync_debug"
     36        app:isPreferenceVisible="false" />
     37 
     38    <androidx.preference.PreferenceCategory
     39        android:title="@string/preferences_category_general"
     40        android:layout="@layout/preference_category_no_icon_style">
     41        <androidx.preference.Preference
     42            app:iconSpaceReserved="false"
     43            android:key="@string/pref_key_search_settings"
     44            android:title="@string/preferences_search" />
     45 
     46        <androidx.preference.Preference
     47            app:iconSpaceReserved="false"
     48            android:key="@string/pref_key_tabs"
     49            android:title="@string/preferences_tabs" />
     50 
     51        <!--<androidx.preference.Preference
     52            app:iconSpaceReserved="false"
     53            android:key="@string/pref_key_home"
     54            android:title="@string/preferences_home_2" />-->
     55 
     56        <androidx.preference.Preference
     57            android:key="@string/pref_key_customize"
     58            app:iconSpaceReserved="false"
     59            android:title="@string/preferences_customize" />
     60 
     61        <androidx.preference.Preference
     62            android:key="@string/pref_key_passwords"
     63            app:iconSpaceReserved="false"
     64            android:title="@string/preferences_passwords_logins_and_passwords_2" />
     65 
     66        <androidx.preference.Preference
     67            app:iconSpaceReserved="false"
     68            app:isPreferenceVisible="false"
     69            android:key="@string/pref_key_credit_cards"
     70            android:title="@string/preferences_credit_cards_2" />
     71 
     72        <androidx.preference.Preference
     73            android:key="@string/pref_key_accessibility"
     74            app:iconSpaceReserved="false"
     75            android:title="@string/preferences_accessibility" />
     76 
     77        <androidx.preference.Preference
     78            android:key="@string/pref_key_language"
     79            app:iconSpaceReserved="false"
     80            android:title="@string/preferences_language" />
     81 
     82        <androidx.preference.Preference
     83            android:key="@string/pref_key_translation"
     84            app:iconSpaceReserved="false"
     85            app:isPreferenceVisible="false"
     86            android:title="@string/preferences_translations" />
     87 
     88        <org.mozilla.fenix.settings.DefaultBrowserPreference
     89            android:key="@string/pref_key_make_default_browser"
     90            app:iconSpaceReserved="false"
     91            android:title="@string/preferences_set_as_default_browser" />
     92    </androidx.preference.PreferenceCategory>
     93 
     94    <androidx.preference.PreferenceCategory
     95        android:title="@string/preferences_category_privacy_security"
     96        android:key="@string/pref_key_privacy_security_category"
     97        android:layout="@layout/preference_category_no_icon_style">
     98 
     99        <androidx.preference.Preference
    100            android:key="@string/pref_key_tor_security_level"
    101            app:iconSpaceReserved="false"
    102            android:title="@string/preferences_tor_security_level_options" />
    103 
    104        <androidx.preference.Preference
    105            android:key="@string/pref_key_private_browsing"
    106            app:iconSpaceReserved="false"
    107            app:isPreferenceVisible="false"
    108            android:title="@string/preferences_private_browsing_options" />
    109 
    110        <androidx.preference.Preference
    111            android:key="@string/pref_key_https_only_settings"
    112            app:iconSpaceReserved="false"
    113            android:title="@string/preferences_https_only_title" />
    114 
    115        <androidx.preference.Preference
    116            android:key="@string/pref_key_doh_settings"
    117            app:iconSpaceReserved="false"
    118            app:isPreferenceVisible="false"
    119            android:title="@string/preference_doh_title" />
    120 
    121        <org.mozilla.fenix.settings.cookiebannerhandling.CustomCBHSwitchPreference
    122            android:key="@string/pref_key_cookie_banner_private_mode"
    123            app:iconSpaceReserved="false"
    124            app:isPreferenceVisible="false"
    125            android:title="@string/preferences_cookie_banner_reduction_private_mode" />
    126 
    127        <androidx.preference.Preference
    128            android:key="@string/pref_key_tracking_protection_settings"
    129            app:iconSpaceReserved="false"
    130            app:isPreferenceVisible="false"
    131            android:title="@string/preference_enhanced_tracking_protection" />
    132 
    133        <androidx.preference.Preference
    134            android:key="@string/pref_key_site_permissions"
    135            app:iconSpaceReserved="false"
    136            android:title="@string/preferences_site_settings" />
    137 
    138        <androidx.preference.Preference
    139            android:key="@string/pref_key_delete_browsing_data"
    140            app:iconSpaceReserved="false"
    141            android:title="@string/preferences_delete_browsing_data" />
    142 
    143        <androidx.preference.Preference
    144            android:key="@string/pref_key_delete_browsing_data_on_quit_preference"
    145            app:iconSpaceReserved="false"
    146            android:title="@string/preferences_delete_browsing_data_on_quit" />
    147 
    148        <androidx.preference.Preference
    149            android:key="@string/pref_key_notifications"
    150            app:iconSpaceReserved="false"
    151            android:title="@string/preferences_notifications" />
    152 
    153        <androidx.preference.Preference
    154            android:key="@string/pref_key_data_choices"
    155            app:iconSpaceReserved="false"
    156            app:isPreferenceVisible="false"
    157            android:title="@string/preferences_data_collection" />
    158 
    159    </androidx.preference.PreferenceCategory>
    160 
    161    <!-- title="@string/preferences_category_advanced"
    162         key="@string/pref_key_advanced"-->
    163    <PreferenceCategory
    164        android:title="@string/preferences_tor_connection_settings_title"
    165        android:key="@string/pref_key_connection"
    166        android:layout="@layout/preference_category_no_icon_style">
    167 
    168        <Preference
    169            android:key="@string/pref_key_tor_network_settings_explanation"
    170            app:iconSpaceReserved="false"
    171            android:title="@string/preferences_tor_network_settings_explanation" />
    172 
    173        <Preference
    174            android:key="@string/pref_key_tor_network_settings_bridge_config"
    175            app:iconSpaceReserved="false"
    176            android:title="@string/preferences_tor_network_settings_bridge_config"
    177            android:summary="@string/preferences_tor_network_settings_bridge_config_description" />
    178 
    179        <SwitchPreference
    180            android:key="@string/pref_key_quick_start"
    181            android:title="@string/tor_connect_automatically_label"
    182            app:iconSpaceReserved="false" />
    183 
    184        <Preference
    185            android:key="@string/pref_key_tor_logs"
    186            app:iconSpaceReserved="false"
    187            android:title="@string/preferences_tor_logs"
    188            android:summary="@string/preferences_tor_logs_description" />
    189 
    190        <Preference
    191            android:key="@string/pref_key_about_config_shortcut"
    192            app:iconSpaceReserved="false"
    193            android:title="about:config"/>
    194 
    195 
    196        <!-- Auto connect -->
    197 
    198        <!-- Tor Logs -->
    199 
    200    </PreferenceCategory>
    201 
    202    <PreferenceCategory
    203        android:title="@string/preferences_category_advanced"
    204        android:key="@string/pref_key_advanced"
    205        android:layout="@layout/preference_category_no_icon_style">
    206 
    207        <SwitchPreference
    208            android:key="@string/pref_key_allow_screenshots_in_private_mode"
    209            app:iconSpaceReserved="false"
    210            android:title="@string/preferences_allow_screenshots" />
    211 
    212        <androidx.preference.Preference
    213            android:key="@string/pref_key_addons"
    214            app:iconSpaceReserved="false"
    215            android:title="@string/preferences_extensions" />
    216 
    217        <androidx.preference.Preference
    218            android:key="@string/pref_key_install_local_addon"
    219            app:iconSpaceReserved="false"
    220            app:isPreferenceVisible="false"
    221            android:title="@string/preferences_install_local_extension" />
    222 
    223        <androidx.preference.Preference
    224            android:key="@string/pref_key_override_amo_collection"
    225            app:iconSpaceReserved="false"
    226            android:title="@string/preferences_customize_extension_collection" />
    227 
    228        <androidx.preference.Preference
    229            android:key="@string/pref_key_link_sharing"
    230            app:iconSpaceReserved="false"
    231            app:isPreferenceVisible="false"
    232            android:title="@string/preferences_link_sharing" />
    233 
    234        <!--
    235        <androidx.preference.Preference
    236            android:key="@string/pref_key_open_links_in_apps"
    237            android:title="@string/preferences_open_links_in_apps"
    238            app:iconSpaceReserved="false" />
    239        -->
    240 
    241        <androidx.preference.Preference
    242            android:key="@string/pref_key_downloads"
    243            app:iconSpaceReserved="false"
    244            app:isPreferenceVisible="false"
    245            android:title="@string/preferences_downloads" />
    246 
    247        <androidx.preference.Preference
    248            android:key="@string/pref_key_firefox_labs"
    249            app:iconSpaceReserved="false"
    250            app:isPreferenceVisible="false"
    251            android:title="@string/firefox_labs_title" />
    252 
    253        <androidx.preference.SwitchPreference
    254            android:key="@string/pref_key_leakcanary"
    255            android:title="@string/preference_leakcanary"
    256            app:iconSpaceReserved="false"
    257            app:isPreferenceVisible="@bool/IS_DEBUG" />
    258 
    259        <androidx.preference.SwitchPreference
    260            android:key="@string/pref_key_remote_debugging"
    261            android:title="@string/preferences_remote_debugging"
    262            app:iconSpaceReserved="false"
    263            android:defaultValue="false" />
    264 
    265        <androidx.preference.SwitchPreference
    266            android:defaultValue="false"
    267            android:key="@string/pref_key_enable_gecko_logs"
    268            app:iconSpaceReserved="false"
    269            android:title="@string/preferences_enable_gecko_logs" />
    270    </PreferenceCategory>
    271 
    272    <androidx.preference.PreferenceCategory
    273        android:title="@string/preferences_category_about"
    274        app:iconSpaceReserved="false"
    275        android:layout="@layout/preference_category_no_icon_style">
    276        <androidx.preference.Preference
    277            android:key="@string/pref_key_rate"
    278            app:iconSpaceReserved="false"
    279            android:title="@string/preferences_rate" />
    280 
    281        <androidx.preference.Preference
    282            android:key="@string/pref_key_about"
    283            app:iconSpaceReserved="false"
    284            android:title="@string/preferences_about" />
    285 
    286        <androidx.preference.Preference
    287            android:icon="@drawable/ic_favorite"
    288            android:key="@string/pref_key_donate"
    289            android:title="@string/preferences_donate" />
    290 
    291        <androidx.preference.Preference
    292            android:key="@string/pref_key_debug_settings"
    293            app:iconSpaceReserved="false"
    294            android:title="@string/preferences_debug_settings"
    295            app:isPreferenceVisible="false" />
    296        <androidx.preference.Preference
    297            android:key="@string/pref_key_secret_debug_info"
    298            app:iconSpaceReserved="false"
    299            android:title="@string/preferences_debug_info"
    300            app:isPreferenceVisible="false" />
    301        <androidx.preference.Preference
    302            android:key="@string/pref_key_nimbus_experiments"
    303            app:iconSpaceReserved="false"
    304            android:title="@string/preferences_nimbus_experiments"
    305            app:isPreferenceVisible="false" />
    306        <androidx.preference.Preference
    307            android:key="@string/pref_key_start_profiler"
    308            app:iconSpaceReserved="false"
    309            android:title="@string/preferences_start_profiler"
    310            app:isPreferenceVisible="false" />
    311    </androidx.preference.PreferenceCategory>
    312 </androidx.preference.PreferenceScreen>