Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 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     <PreferenceCategory
     20         android:title="@string/pref_development_title" 
     21         android:key="debug_menu" >
     22 
     23         <!-- The javascript console is enabled by default when the user has
     24              also enabled debug mode by navigating to about:debug. -->
     25         <CheckBoxPreference
     26             android:key="javascript_console"
     27             android:defaultValue="true"
     28             android:title="@string/pref_development_error_console" />
     29                         
     30         <CheckBoxPreference
     31             android:key="small_screen"
     32             android:defaultValue="false"
     33             android:title="@string/pref_development_single_column_rendering" />   
     34 
     35         <CheckBoxPreference
     36             android:key="wide_viewport"
     37             android:defaultValue="true"
     38             android:title="@string/pref_development_viewport" />
     39                     
     40         <CheckBoxPreference
     41             android:key="normal_layout"
     42             android:defaultValue="false"
     43             android:title="@string/pref_development_normal_rendering" />       
     44         
     45         <CheckBoxPreference
     46             android:key="enable_tracing"
     47             android:defaultValue="false"
     48             android:title="@string/pref_development_trace" />
     49     
     50         <CheckBoxPreference
     51             android:key="enable_light_touch"
     52             android:defaultValue="false"
     53             android:title="Enable light touch" />
     54 
     55         <CheckBoxPreference
     56             android:key="enable_nav_dump"
     57             android:defaultValue="false"
     58             android:title="@string/pref_development_nav_dump" />
     59 
     60         <EditTextPreference
     61             android:key="js_engine_flags"
     62             android:title="@string/js_engine_flags"
     63             android:singleLine="true" />
     64 
     65         <ListPreference
     66             android:key="user_agent"
     67             android:title="@string/pref_development_uastring"
     68             android:entries="@array/pref_development_ua_choices"
     69             android:entryValues="@array/pref_development_ua_values"
     70             android:defaultValue="0"/>
     71 
     72     </PreferenceCategory>
     73 
     74 </PreferenceScreen>
     75