summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/xml-v11
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/xml-v11')
-rw-r--r--mobile/android/base/resources/xml-v11/preference_headers.xml74
-rw-r--r--mobile/android/base/resources/xml-v11/preferences_default_browser_tablet.xml11
-rw-r--r--mobile/android/base/resources/xml-v11/preferences_privacy_clear_tablet.xml16
-rw-r--r--mobile/android/base/resources/xml-v11/preferences_search.xml33
4 files changed, 134 insertions, 0 deletions
diff --git a/mobile/android/base/resources/xml-v11/preference_headers.xml b/mobile/android/base/resources/xml-v11/preference_headers.xml
new file mode 100644
index 000000000..dedd90806
--- /dev/null
+++ b/mobile/android/base/resources/xml-v11/preference_headers.xml
@@ -0,0 +1,74 @@
+<?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/. -->
+
+<!-- Tablet only: Sync is nested within the "General" header on tablets,
+ instead of being a top-level menu item.
+ See xml-v11/preferences.xml for single-pane v11+ phone layout. -->
+
+<preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_header_general"
+ android:id="@+id/pref_header_general">
+ <extra android:name="resource"
+ android:value="preferences_general_tablet"/>
+ </header>
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_header_search"
+ android:id="@+id/pref_header_search">
+ <extra android:name="resource"
+ android:value="preferences_search"/>
+ </header>
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_header_privacy_short"
+ android:id="@+id/pref_header_privacy">
+ <extra android:name="resource"
+ android:value="preferences_privacy"/>
+ </header>
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_header_accessibility"
+ android:id="@+id/pref_header_accessibility">
+ <extra android:name="resource"
+ android:value="preferences_accessibility"/>
+ </header>
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_header_notifications"
+ android:id="@+id/pref_header_notifications">
+ <extra android:name="resource"
+ android:value="preferences_notifications"/>
+ </header>
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_header_advanced"
+ android:id="@+id/pref_header_advanced">
+ <extra android:name="resource"
+ android:value="preferences_advanced"/>
+ </header>
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_clear_private_data_now"
+ android:id="@+id/pref_header_clear_private_data">
+ <extra android:name="resource"
+ android:value="preferences_privacy_clear_tablet"/>
+ </header>
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_default_browser"
+ android:id="@+id/pref_header_default_browser">
+ <extra android:name="resource"
+ android:value="preferences_default_browser_tablet"/>
+ </header>
+
+ <header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
+ android:title="@string/pref_header_vendor">
+ <extra android:name="resource"
+ android:value="preferences_vendor"/>
+ </header>
+
+</preference-headers>
diff --git a/mobile/android/base/resources/xml-v11/preferences_default_browser_tablet.xml b/mobile/android/base/resources/xml-v11/preferences_default_browser_tablet.xml
new file mode 100644
index 000000000..53c2c2b56
--- /dev/null
+++ b/mobile/android/base/resources/xml-v11/preferences_default_browser_tablet.xml
@@ -0,0 +1,11 @@
+<?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-auto">
+ <org.mozilla.gecko.preferences.LinkPreference android:key="android.not_a_preference.default_browser.link"
+ android:title="@string/pref_default_browser_mozilla_support_tablet"
+ android:persistent="false"
+ url="https://support.mozilla.org/kb/make-firefox-default-browser-android?utm_source=inproduct&amp;utm_medium=settings&amp;utm_campaign=mobileandroid"/>
+</PreferenceScreen> \ No newline at end of file
diff --git a/mobile/android/base/resources/xml-v11/preferences_privacy_clear_tablet.xml b/mobile/android/base/resources/xml-v11/preferences_privacy_clear_tablet.xml
new file mode 100644
index 000000000..49cc895c4
--- /dev/null
+++ b/mobile/android/base/resources/xml-v11/preferences_privacy_clear_tablet.xml
@@ -0,0 +1,16 @@
+<?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-auto">
+ <org.mozilla.gecko.preferences.PrivateDataPreference
+ android:key="android.not_a_preference.privacy.clear"
+ android:title="@string/pref_clear_private_data_now_tablet"
+ android:persistent="true"
+ android:positiveButtonText="@string/button_clear_data"
+ gecko:entries="@array/pref_private_data_entries"
+ gecko:entryValues="@array/pref_private_data_values"
+ gecko:entryKeys="@array/pref_private_data_keys"
+ gecko:initialValues="@array/pref_private_data_defaults" />
+</PreferenceScreen>
diff --git a/mobile/android/base/resources/xml-v11/preferences_search.xml b/mobile/android/base/resources/xml-v11/preferences_search.xml
new file mode 100644
index 000000000..937b05b61
--- /dev/null
+++ b/mobile/android/base/resources/xml-v11/preferences_search.xml
@@ -0,0 +1,33 @@
+<?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-auto"
+ android:title="@string/pref_category_search"
+ android:enabled="false">
+
+ <PreferenceCategory android:title="@string/pref_category_add_search_providers">
+
+ <org.mozilla.gecko.preferences.ModifiableHintPreference
+ android:layout="@layout/preference_search_tip"
+ android:enabled="false"
+ android:selectable="false"/>
+
+ </PreferenceCategory>
+
+ <org.mozilla.gecko.preferences.SearchPreferenceCategory
+ android:title="@string/pref_category_installed_search_engines"/>
+
+ <CheckBoxPreference android:key="browser.search.suggest.enabled"
+ android:title="@string/pref_search_suggestions"
+ android:defaultValue="false"
+ android:persistent="false" />
+
+ <CheckBoxPreference android:key="android.not_a_preference.search.search_history.enabled"
+ android:title="@string/pref_history_search_suggestions"
+ android:defaultValue="true"
+ android:persistent="true" />
+
+</PreferenceScreen>