mobile/android/base/resources/xml-v11/preferences_customize_tablet.xml
author Sebastian Kaspari <s.kaspari@gmail.com>
Thu, 30 Jul 2015 19:52:54 +0200
changeset 287154 01ee85a69d779f261c5485707afc380092da0e87
parent 276594 69a87a824c2b0b5dac7ba3f0197f2c478eb1e777
child 298084 a05527bf071ad894cc21a04055b6003d5623bac7
permissions -rw-r--r--
Bug 1125315 - Restricted profiles: Hide setting "Customize > Home". r=ally

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

<!-- Tablet only: The contents under the "Customize" header for tablets,
     See xml-v11/preferences.xml for single-pane v11+ phone layout.
     Changes to preferences should be mirrored to preferences_customize.xml. -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:gecko="http://schemas.android.com/apk/res-auto"
                  android:title="@string/pref_category_customize"
                  android:enabled="false">

    <org.mozilla.gecko.preferences.SyncPreference android:key="android.not_a_preference.sync"
                                                  android:title="@string/pref_sync"
                                                  android:persistent="false" />

    <PreferenceScreen android:key="android.not_a_preference.customize_home"
                      android:title="@string/pref_category_home"
                      android:summary="@string/pref_category_home_summary"
                      android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment" >
            <extra android:name="resource"
                   android:value="preferences_home" />
    </PreferenceScreen>

    <PreferenceScreen android:title="@string/pref_category_search"
                      android:summary="@string/pref_category_search_summary"
                      android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment" >
        <extra android:name="resource"
               android:value="preferences_search"/>
    </PreferenceScreen>

    <ListPreference android:key="android.not_a_preference.restoreSession3"
                    android:title="@string/pref_restore"
                    android:defaultValue="quit"
                    android:entries="@array/pref_restore_entries"
                    android:entryValues="@array/pref_restore_values"
                    android:persistent="true" />

    <CheckBoxPreference android:key="android.not_a_preference.tab_queue"
                        android:title="@string/pref_tab_queue_title"
                        android:summary="@string/pref_tab_queue_summary"
                        android:defaultValue="false" />

    <CheckBoxPreference android:key="android.not_a_preference.openExternalURLsPrivately"
                        android:title="@string/pref_open_external_urls_privately_title"
                        android:summary="@string/pref_open_external_urls_privately_summary"
                        android:defaultValue="false" />

    <org.mozilla.gecko.preferences.AndroidImportPreference
            android:key="android.not_a_preference.import_android"
            gecko:entries="@array/pref_import_android_entries"
            gecko:entryValues="@array/pref_import_android_values"
            gecko:initialValues="@array/pref_import_android_defaults"
            android:title="@string/pref_import_android"
            android:summary="@string/pref_import_android_summary"
            android:positiveButtonText="@string/bookmarkhistory_button_import"
            android:negativeButtonText="@string/button_cancel"
            android:persistent="false" />

    <ListPreference android:key="app.update.autodownload"
                    android:title="@string/pref_update_autodownload"
                    android:entries="@array/pref_update_autodownload_entries"
                    android:entryValues="@array/pref_update_autodownload_values"
                    android:persistent="false" />

</PreferenceScreen>