mobile/android/base/resources/xml-v11/preferences_customize.xml
author Chenxia Liu <liuche@mozilla.com>
Tue, 11 Mar 2014 18:59:34 -0700
changeset 191362 42572c7fdbcd96dcdb2bd0e704db8ab6db8a85cf
parent 183430 0fec802029d0b9b0947235f5ac39d6f188e2ce4c
child 191363 75f6bf01785946e7ebd94161f683f02c29eb06c7
permissions -rw-r--r--
Bug 970743 - Add android:summary text to Customize > Home. r=sola

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

<!-- Changes should be mirrored to preferences_customize_tablet.xml. -->

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

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

    <org.mozilla.gecko.preferences.AndroidImportPreference
                  android:key="android.not_a_preference.import_android"
                  gecko:entries="@array/pref_import_android_entries"
                  gecko:entryKeys="@array/pref_import_android_keys"
                  gecko:initialValues="@array/pref_import_android_values"
                  android:title="@string/pref_import_android"
                  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>