mobile/android/base/resources/xml/preferences_display.xml
author Karim Benhmida <kbenhmida@mozilla.com>
Fri, 26 Jun 2015 13:20:44 -0700
changeset 268489 b3f1aedcf9ba93825bc758684e722435cb0d296c
parent 239008 ab08515b732fc0ea1c08392901b18d9e5d5be8fd
child 268491 9f307a1aba5c44071d4f7a74a1ac4e48c61d0dba
permissions -rw-r--r--
Bug 1153904 - Add item in Settings for Voice input. r=liuche

<?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_display"
                  android:enabled="false">

    <org.mozilla.gecko.preferences.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" />

    <ListPreference android:key="browser.chrome.titlebarMode"
                    android:title="@string/pref_titlebar_mode"
                    android:entries="@array/pref_titlebar_mode_entries"
                    android:entryValues="@array/pref_titlebar_mode_values"
                    android:persistent="false" />

    <CheckBoxPreference android:key="browser.chrome.dynamictoolbar"
                        android:title="@string/pref_scroll_title_bar2"
                        android:summary="@string/pref_scroll_title_bar_summary" />

    <CheckBoxPreference android:key="media.autoplay.enabled"
                        android:title="@string/pref_media_autoplay_enabled"
                        android:summary="@string/pref_media_autoplay_enabled_summary" />

    <CheckBoxPreference android:key="browser.ui.zoom.force-user-scalable"
                        android:title="@string/pref_zoom_force_enabled"
                        android:summary="@string/pref_zoom_force_enabled_summary" />

    <CheckBoxPreference android:key="android.not_a_preference.voice_search_enabled"
                        android:title="@string/pref_voice_input"
                        android:summary="@string/pref_voice_input_summary"
                        android:defaultValue="true"/>

    <PreferenceCategory android:title="@string/pref_category_advanced">

        <CheckBoxPreference
                        android:key="browser.zoom.reflowOnZoom"
                        android:title="@string/pref_reflow_on_zoom"
                        android:defaultValue="false"
                        android:persistent="false" />

        <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" />

    </PreferenceCategory>

</PreferenceScreen>