]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/xml/preferences.xml
Bump the minimum API to 26. https://redmine.stoutner.com/issues/1163
[PrivacyBrowserAndroid.git] / app / src / main / res / xml / preferences.xml
index ac2b6a4c70e9bde729093b5aa4a1790450056ced..85fb5e8e57d5a1da0fa5a88161a83759696e29f3 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright 2016-2023 Soren Stoutner <soren@stoutner.com>.
+  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
 
             app:summary="@string/dom_storage_preference_summary"
             app:defaultValue="false" />
 
-        <!-- Save form data can be removed once the minimum API >= 26. -->
-        <SwitchPreferenceCompat
-            app:key="@string/save_form_data_key"
-            app:title="@string/save_form_data_preference"
-            app:summary="@string/save_form_data_preference_summary"
-            app:defaultValue="false" />
-
         <ListPreference
             app:key="@string/user_agent_key"
             app:title="@string/user_agent"
             app:summary="@string/clear_dom_storage_summary"
             app:defaultValue="true" />
 
-        <!-- Clear form data can be removed once the minimum API >= 26. -->
-        <SwitchPreferenceCompat
-            app:key="@string/clear_form_data_key"
-            app:title="@string/clear_form_data_preference"
-            app:summary="@string/clear_form_data_summary"
-            app:defaultValue="true" />
-
         <SwitchPreferenceCompat
             app:key="@string/clear_logcat_key"
             app:title="@string/clear_logcat"
             app:summary="@string/swipe_to_refresh_summary"
             app:defaultValue="true" />
 
-        <SwitchPreferenceCompat
-            app:key="@string/download_with_external_app_key"
-            app:title="@string/download_with_external_app"
-            app:summary="@string/download_with_external_app_summary"
-            app:defaultValue="false" />
+        <ListPreference
+            app:key="@string/download_provider_key"
+            app:title="@string/download_provider"
+            app:entries="@array/download_provider_entries"
+            app:entryValues="@array/download_provider_entry_values"
+            app:defaultValue="@string/download_provider_default_value"
+            app:icon="@drawable/download" />
 
         <SwitchPreferenceCompat
             app:key="@string/scroll_app_bar_key"
             app:title="@string/scroll_app_bar"
             app:summary="@string/scroll_app_bar_summary"
-            app:defaultValue="true" />
+            app:defaultValue="false" />
 
         <SwitchPreferenceCompat
             app:key="@string/bottom_app_bar_key"