summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/xml/preferences_search.xml
blob: 440167fe5e2a15c13b5169065123d3b1622014a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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>