Home | History | Annotate | Download | only in xml-sw600dp
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <PreferenceScreen
     18         xmlns:android="http://schemas.android.com/apk/res/android">
     19 
     20     <!-- Entries and values in this list are set dynamically. -->
     21     <com.android.browser.search.SearchEnginePreference
     22             android:key="search_engine"
     23             android:title="@string/pref_content_search_engine"
     24             android:defaultValue="google"
     25             android:summary="@string/pref_content_search_engine_summary"
     26             android:dialogTitle="@string/pref_content_search_engine" />
     27 
     28     <CheckBoxPreference
     29             android:key="open_in_background"
     30             android:defaultValue="false"
     31             android:title="@string/pref_content_open_in_background"
     32             android:summary="@string/pref_content_open_in_background_summary" />
     33 
     34     <CheckBoxPreference
     35             android:key="enable_javascript"
     36             android:defaultValue="true"
     37             android:title="@string/pref_content_javascript" />
     38 
     39     <ListPreference
     40             android:key="plugin_state"
     41             android:title="@string/pref_content_plugins"
     42             android:defaultValue="ON"
     43             android:entries="@array/pref_content_plugins_choices"
     44             android:entryValues="@array/pref_content_plugins_values"
     45             android:dialogTitle="@string/pref_content_plugins" />
     46 
     47     <PreferenceScreen
     48             android:key="website_settings"
     49             android:title="@string/pref_extras_website_settings"
     50             android:summary="@string/pref_extras_website_settings_summary" />
     51 
     52     <PreferenceCategory android:title="@string/pref_content_title">
     53 
     54         <ListPreference
     55                 android:key="default_zoom"
     56                 android:title="@string/pref_default_zoom"
     57                 android:defaultValue="MEDIUM"
     58                 android:entries="@array/pref_default_zoom_choices"
     59                 android:entryValues="@array/pref_default_zoom_values"
     60                 android:dialogTitle="@string/pref_default_zoom_dialogtitle" />
     61 
     62         <CheckBoxPreference
     63                 android:key="load_page"
     64                 android:defaultValue="true"
     65                 android:title="@string/pref_content_load_page"
     66                 android:summary="@string/pref_content_load_page_summary" />
     67 
     68         <CheckBoxPreference
     69                 android:key="autofit_pages"
     70                 android:defaultValue="true"
     71                 android:title="@string/pref_content_autofit"
     72                 android:summary="@string/pref_content_autofit_summary" />
     73 
     74         <CheckBoxPreference
     75                 android:key="block_popup_windows"
     76                 android:defaultValue="true"
     77                 android:title="@string/pref_content_block_popups" />
     78 
     79         <ListPreference
     80                 android:key="default_text_encoding"
     81                 android:title="@string/pref_default_text_encoding"
     82                 android:defaultValue="@string/pref_default_text_encoding_default"
     83                 android:entries="@array/pref_default_text_encoding_choices"
     84                 android:entryValues="@array/pref_default_text_encoding_values"
     85                 android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" />
     86 
     87     </PreferenceCategory>
     88 
     89     <PreferenceCategory android:title="@string/pref_extras_reset_default_title">
     90         <com.android.browser.BrowserYesNoPreference
     91                 android:key="reset_default_preferences"
     92                 android:title="@string/pref_extras_reset_default"
     93                 android:summary="@string/pref_extras_reset_default_summary"
     94                 android:dialogMessage="@string/pref_extras_reset_default_dlg"
     95                 android:dialogIcon="@android:drawable/ic_dialog_alert" />
     96     </PreferenceCategory>
     97 
     98 </PreferenceScreen>
     99