downloads_settings_preferences.xml (1858B)
1 <?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public 2 - License, v. 2.0. If a copy of the MPL was not distributed with this 3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 4 <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 5 xmlns:app="http://schemas.android.com/apk/res-auto"> 6 7 <androidx.preference.PreferenceCategory 8 android:key="@string/pref_key_downloads_storage_category" 9 android:layout="@layout/preference_category_no_icon_style" 10 android:title="@string/preferences_category_file_storage" 11 app:allowDividerBelow="true"> 12 <androidx.preference.Preference 13 android:key="@string/pref_key_downloads_default_location" 14 android:title="@string/preferences_downloads_default_location_title" 15 app:allowDividerBelow="true" 16 app:iconSpaceReserved="false" /> 17 <Preference 18 android:layout="@layout/preference_divider" 19 android:selectable="false" /> 20 </androidx.preference.PreferenceCategory> 21 22 <Preference 23 android:layout="@layout/preference_spacer" 24 android:selectable="false"/> 25 26 <SwitchPreference 27 android:defaultValue="false" 28 android:key="@string/pref_key_external_download_manager" 29 android:title="@string/preferences_choose_app_for_downloads" 30 app:iconSpaceReserved="false" /> 31 32 <SwitchPreference 33 android:defaultValue="false" 34 android:key="@string/pref_key_downloads_clean_up_files_automatically" 35 android:summary="@string/preferences_downloads_settings_clean_up_files_summary" 36 android:title="@string/preferences_downloads_settings_clean_up_files_title" 37 app:iconSpaceReserved="false" /> 38 </androidx.preference.PreferenceScreen>