search_settings_preferences.xml (2894B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 6 xmlns:app="http://schemas.android.com/apk/res-auto"> 7 <PreferenceCategory 8 android:title="@string/preferences_search_engines" 9 android:selectable="false" 10 app:iconSpaceReserved="false" 11 android:layout="@layout/preference_category_no_icon_style"> 12 <Preference 13 app:iconSpaceReserved="false" 14 android:key="@string/pref_key_default_search_engine" 15 android:title="@string/preferences_default_search_engine"/> 16 <Preference 17 app:iconSpaceReserved="false" 18 android:key="@string/pref_key_manage_search_shortcuts" 19 android:title="@string/preferences_manage_search_shortcuts_2" 20 android:summary="@string/preferences_manage_search_shortcuts_summary"/> 21 </PreferenceCategory> 22 23 <PreferenceCategory 24 android:title="@string/preferences_search_engines_suggestions" 25 android:selectable="false" 26 app:iconSpaceReserved="false" 27 android:layout="@layout/preference_category_no_icon_style"> 28 <SwitchPreference 29 app:iconSpaceReserved="false" 30 android:defaultValue="true" 31 android:key="@string/pref_key_show_search_suggestions" 32 android:title="@string/preferences_show_search_suggestions" /> 33 </PreferenceCategory> 34 35 <PreferenceCategory 36 android:title="@string/preferences_settings_address_bar" 37 android:selectable="false" 38 app:iconSpaceReserved="false" 39 android:layout="@layout/preference_category_no_icon_style"> 40 <SwitchPreference 41 app:iconSpaceReserved="false" 42 android:defaultValue="true" 43 android:key="@string/pref_key_show_clipboard_suggestions" 44 android:title="@string/preferences_show_clipboard_suggestions" /> 45 <SwitchPreference 46 app:iconSpaceReserved="false" 47 android:defaultValue="true" 48 android:key="@string/pref_key_search_bookmarks" 49 android:title='@string/preferences_search_bookmarks' /> 50 <SwitchPreference 51 app:iconSpaceReserved="false" 52 android:defaultValue="true" 53 android:key="@string/pref_key_show_voice_search" 54 android:title="@string/preferences_show_voice_search" /> 55 <SwitchPreference 56 app:iconSpaceReserved="false" 57 android:defaultValue="true" 58 android:key="@string/pref_key_enable_autocomplete_urls" 59 android:title="@string/preferences_enable_autocomplete_urls" /> 60 </PreferenceCategory> 61 </PreferenceScreen>