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

    <PreferenceCategory android:title="@string/pref_category_input_options"
                        android:key="@string/pref_category_input_options">

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

        <CheckBoxPreference android:key="android.not_a_preference.qrcode_enabled"
                            android:title="@string/pref_qrcode_enabled"
                            android:summary="@string/pref_qrcode_enabled_summary"
                            android:defaultValue="true"/>

    </PreferenceCategory>

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