summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/xml/preferences_search.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/xml/preferences_search.xml')
-rw-r--r--mobile/android/base/resources/xml/preferences_search.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/mobile/android/base/resources/xml/preferences_search.xml b/mobile/android/base/resources/xml/preferences_search.xml
new file mode 100644
index 000000000..440167fe5
--- /dev/null
+++ b/mobile/android/base/resources/xml/preferences_search.xml
@@ -0,0 +1,40 @@
+<?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"/>
+
+ <PreferenceCategory android:title="@string/pref_category_search_restore_defaults">
+
+ <Preference android:key="android.not_a_preference.search.restore_defaults"
+ android:title="@string/pref_search_restore_defaults_summary" />
+
+ </PreferenceCategory>
+
+ <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>