diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /mobile/android/geckoview_example/src/main/res/xml/settings.xml | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/geckoview_example/src/main/res/xml/settings.xml')
-rw-r--r-- | mobile/android/geckoview_example/src/main/res/xml/settings.xml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/mobile/android/geckoview_example/src/main/res/xml/settings.xml b/mobile/android/geckoview_example/src/main/res/xml/settings.xml new file mode 100644 index 0000000000..a29be429a0 --- /dev/null +++ b/mobile/android/geckoview_example/src/main/res/xml/settings.xml @@ -0,0 +1,71 @@ +<PreferenceScreen + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <SwitchPreferenceCompat + app:key="@string/key_tracking_protection" + app:title="Enable Tracking Protection" + app:defaultValue="@bool/tracking_protection_default"/> + <ListPreference + app:key="@string/key_enhanced_tracking_protection" + app:title="Enhanced Tracking Protection" + app:summary="%s" + app:entries="@array/enhanced_tracking_protection_display_names" + app:entryValues="@array/enhanced_tracking_protection_values" + app:defaultValue="@string/enhanced_tracking_protection_default"/> + <ListPreference + app:key="@string/key_cookie_banner_handling" + app:title="Cookie Banner Handling" + app:summary="%s" + app:entries="@array/cookie_banner_handling_names" + app:entryValues="@array/cookie_banner_handling_values" + app:defaultValue="@string/cookie_banner_handling_default"/> + <ListPreference + app:key="@string/key_cookie_banner_handling_pb" + app:title="Cookie Banner Handling Private mode" + app:summary="%s" + app:entries="@array/cookie_banner_handling_names" + app:entryValues="@array/cookie_banner_handling_values" + app:defaultValue="@string/cookie_banner_handling_pb_default"/> + <SwitchPreferenceCompat + app:key="@string/key_dfpi" + app:title="Enable Dynamic FPI" + app:defaultValue="@bool/dfpi_default"/> + <SwitchPreferenceCompat + app:key="@string/key_autoplay" + app:title="Allow Autoplay" + app:defaultValue="@bool/autoplay_default"/> + <SwitchPreferenceCompat + app:key="@string/key_remote_debugging" + app:title="Remote Debugging" + app:defaultValue="@bool/remote_debugging_default"/> + <ListPreference + app:key="@string/key_preferred_color_scheme" + app:title="Preferred Color Scheme" + app:summary="%s" + app:entries="@array/pref_preferred_color_scheme_display_names" + app:entryValues="@array/pref_preferred_color_scheme_values" + app:defaultValue="@integer/preferred_color_scheme_default"/> + <ListPreference + app:key="@string/key_user_agent_override" + app:title="User Agent String Override" + app:summary="%s" + app:entries="@array/user_agent_override_display_names" + app:entryValues="@array/user_agent_override_values" + app:defaultValue="@string/user_agent_override_default"/> + <SwitchPreferenceCompat + app:key="@string/key_allow_extensions_in_private_browsing" + app:title="Run extensions in private tabs" + app:defaultValue="@bool/allow_extensions_in_private_browsing_default"/> + <ListPreference + app:key="@string/key_display_mode" + app:title="Display Mode" + app:summary="%s" + app:entries="@array/pref_display_mode_names" + app:entryValues="@array/pref_display_mode_values" + app:defaultValue="@integer/display_mode_default"/> + <SwitchPreferenceCompat + app:key="@string/key_javascript_enabled" + app:title="Javascript Enabled" + app:defaultValue="@bool/javascript_enabled_default"/> + +</PreferenceScreen> |