/WebVox/res/xml/debug_preferences.xml

http://eyes-free.googlecode.com/ · XML · 74 lines · 46 code · 12 blank · 16 comment · 0 complexity · faf2d50db9d44071b070c073be5f7269 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2008 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <PreferenceScreen
  14. xmlns:android="http://schemas.android.com/apk/res/android" >
  15. <PreferenceCategory
  16. android:title="@string/pref_development_title"
  17. android:key="debug_menu" >
  18. <!-- The javascript console is enabled by default when the user has
  19. also enabled debug mode by navigating to about:debug. -->
  20. <CheckBoxPreference
  21. android:key="javascript_console"
  22. android:defaultValue="true"
  23. android:title="@string/pref_development_error_console" />
  24. <CheckBoxPreference
  25. android:key="small_screen"
  26. android:defaultValue="false"
  27. android:title="@string/pref_development_single_column_rendering" />
  28. <CheckBoxPreference
  29. android:key="wide_viewport"
  30. android:defaultValue="true"
  31. android:title="@string/pref_development_viewport" />
  32. <CheckBoxPreference
  33. android:key="normal_layout"
  34. android:defaultValue="false"
  35. android:title="@string/pref_development_normal_rendering" />
  36. <CheckBoxPreference
  37. android:key="enable_tracing"
  38. android:defaultValue="false"
  39. android:title="@string/pref_development_trace" />
  40. <CheckBoxPreference
  41. android:key="enable_light_touch"
  42. android:defaultValue="false"
  43. android:title="Enable light touch" />
  44. <CheckBoxPreference
  45. android:key="enable_nav_dump"
  46. android:defaultValue="false"
  47. android:title="@string/pref_development_nav_dump" />
  48. <EditTextPreference
  49. android:key="js_engine_flags"
  50. android:title="@string/js_engine_flags"
  51. android:singleLine="true" />
  52. <ListPreference
  53. android:key="user_agent"
  54. android:title="@string/pref_development_uastring"
  55. android:entries="@array/pref_development_ua_choices"
  56. android:entryValues="@array/pref_development_ua_values"
  57. android:defaultValue="0"/>
  58. </PreferenceCategory>
  59. </PreferenceScreen>