gecko-dev/mobile/android/base/resources/xml/preferences.xml.in

128 lines
6.0 KiB
XML

#filter substitution
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:gecko="http://schemas.android.com/apk/res/@ANDROID_PACKAGE_NAME@"
android:enabled="false">
<PreferenceCategory android:title="@string/pref_category_general">
<org.mozilla.gecko.LinkPreference android:title="@string/pref_about_firefox"
url="about:" />
<org.mozilla.gecko.SyncPreference android:title="@string/pref_sync"
android:persistent="false" />
#ifdef MOZ_UPDATER
<ListPreference android:key="app.update.autodownload"
android:title="@string/pref_update_autodownload"
android:entries="@array/pref_update_autodownload_entries"
android:entryValues="@array/pref_update_autodownload_values"
android:persistent="false" />
#endif
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_content">
<ListPreference android:key="browser.menu.showCharacterEncoding"
android:title="@string/pref_char_encoding"
android:entries="@array/pref_char_encoding_entries"
android:entryValues="@array/pref_char_encoding_values"
android:persistent="false" />
<ListPreference android:key="plugin.enable"
android:title="@string/pref_plugins"
android:entries="@array/pref_plugins_entries"
android:entryValues="@array/pref_plugins_values"
android:persistent="false" />
<org.mozilla.gecko.FontSizePreference
android:key="font.size.inflation.minTwips"
android:title="@string/pref_text_size"
android:positiveButtonText="@string/pref_font_size_set"
android:negativeButtonText="@string/button_cancel"
android:persistent="false" />
<CheckBoxPreference
android:key="browser.zoom.reflowOnZoom"
android:title="@string/pref_reflow_on_zoom"
android:defaultValue="false"
android:persistent="false" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_privacy">
<ListPreference android:key="network.cookie.cookieBehavior"
android:title="@string/pref_cookies_menu"
android:entries="@array/pref_cookies_entries"
android:entryValues="@array/pref_cookies_values"
android:persistent="false" />
<!-- keys prefixed with "android.not_a_preference." are not synced with Gecko -->
<org.mozilla.gecko.PrivateDataPreference
android:key="android.not_a_preference.privacy.clear"
android:title="@string/pref_clear_private_data"
android:persistent="true"
android:positiveButtonText="@string/button_clear_data"
gecko:entries="@array/pref_private_data_entries"
gecko:entryKeys="@array/pref_private_data_keys"
gecko:initialValues="@array/pref_private_data_values" />
<CheckBoxPreference android:key="privacy.donottrackheader.enabled"
android:title="@string/pref_do_not_track"
android:defaultValue="false"
android:persistent="false" />
<CheckBoxPreference android:key="signon.rememberSignons"
android:title="@string/pref_remember_signons"
android:defaultValue="true"
android:persistent="false" />
<CheckBoxPreference android:key="privacy.masterpassword.enabled"
android:title="@string/pref_use_master_password"
android:defaultValue="false"
android:persistent="false" />
<CheckBoxPreference android:key="browser.search.suggest.enabled"
android:title="@string/pref_search_suggestions"
android:defaultValue="true"
android:persistent="false" />
#ifdef MOZ_TELEMETRY_REPORTING
<CheckBoxPreference
#ifdef MOZ_TELEMETRY_ON_BY_DEFAULT
android:key="toolkit.telemetry.enabledPreRelease"
#else
android:key="toolkit.telemetry.enabled"
#endif
android:title="@string/pref_telemetry"
android:persistent="false" />
#endif
<CheckBoxPreference android:key="android.not_a_preference.privacy.announcements.enabled"
android:title="@string/pref_show_product_announcements"
android:defaultValue="true"
android:persistent="true" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_category_importexport">
<org.mozilla.gecko.AndroidImportPreference
android:key="android.not_a_preference.import_android"
gecko:entries="@array/pref_import_android_entries"
gecko:entryKeys="@array/pref_import_android_keys"
gecko:initialValues="@array/pref_import_android_values"
android:title="@string/pref_import_android"
android:positiveButtonText="@string/bookmarkhistory_button_import"
android:negativeButtonText="@string/button_cancel"
android:persistent="false" />
</PreferenceCategory>
</PreferenceScreen>