tor-browser

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

home_preferences.xml (3033B)


      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
      6    xmlns:android="http://schemas.android.com/apk/res/android"
      7    xmlns:app="http://schemas.android.com/apk/res-auto">
      8    <androidx.preference.SwitchPreference
      9        android:key="@string/pref_key_show_top_sites"
     10        android:title="@string/top_sites_toggle_top_recent_sites_4" />
     11 
     12    <androidx.preference.CheckBoxPreference
     13        android:dependency="@string/pref_key_show_top_sites"
     14        android:layout="@layout/checkbox_left_sub_preference"
     15        android:key="@string/pref_key_enable_contile"
     16        android:title="@string/customize_toggle_contile" />
     17 
     18    <androidx.preference.SwitchPreference
     19        android:key="@string/pref_key_recent_tabs"
     20        android:title="@string/customize_toggle_jump_back_in" />
     21 
     22    <androidx.preference.SwitchPreference
     23        android:key="@string/pref_key_customization_bookmarks"
     24        android:title="@string/customize_toggle_bookmarks" />
     25 
     26    <androidx.preference.SwitchPreference
     27        android:key="@string/pref_key_history_metadata_feature"
     28        android:title="@string/customize_toggle_recently_visited" />
     29 
     30    <androidx.preference.SwitchPreference
     31        android:key="@string/pref_key_pocket_homescreen_recommendations"
     32        android:title="@string/customize_toggle_pocket_3" />
     33 
     34    <androidx.preference.CheckBoxPreference
     35        android:dependency="@string/pref_key_pocket_homescreen_recommendations"
     36        android:layout="@layout/checkbox_left_sub_preference"
     37        android:key="@string/pref_key_pocket_sponsored_stories"
     38        android:title="@string/customize_toggle_pocket_sponsored" />
     39 
     40    <androidx.preference.Preference
     41        android:key="@string/pref_key_wallpapers"
     42        android:title="@string/customize_wallpapers" />
     43 
     44    <androidx.preference.PreferenceCategory
     45        android:layout="@layout/preference_cat_style"
     46        android:title="@string/preferences_opening_screen"
     47        app:allowDividerAbove="true"
     48        app:iconSpaceReserved="false">
     49 
     50        <org.mozilla.fenix.settings.RadioButtonPreference
     51            android:defaultValue="false"
     52            android:key="@string/pref_key_start_on_home_always"
     53            android:title="@string/opening_screen_homepage" />
     54 
     55        <org.mozilla.fenix.settings.RadioButtonPreference
     56            android:defaultValue="false"
     57            android:key="@string/pref_key_start_on_home_never"
     58            android:title="@string/opening_screen_last_tab" />
     59 
     60        <org.mozilla.fenix.settings.RadioButtonPreference
     61            android:defaultValue="true"
     62            android:key="@string/pref_key_start_on_home_after_four_hours"
     63            android:title="@string/opening_screen_after_four_hours_of_inactivity" />
     64 
     65    </androidx.preference.PreferenceCategory>
     66 </androidx.preference.PreferenceScreen>