/WebAccess/res/xml/settings.xml

http://eyes-free.googlecode.com/ · XML · 86 lines · 43 code · 14 blank · 29 comment · 0 complexity · 384fa83e5ff27f69b0735a63f96b1f4b MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2010 The IDEAL Group Licensed under the Apache License,
  4. Version 2.0 (the "License"); you may not use this file except in
  5. compliance with the License. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0 Unless required by
  7. applicable law or agreed to in writing, software distributed under the
  8. License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  9. CONDITIONS OF ANY KIND, either express or implied. See the License for
  10. the specific language governing permissions and limitations under the
  11. License.
  12. -->
  13. <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
  14. android:title="Settings">
  15. <!--
  16. <PreferenceCategory android:title="Lens Settings">
  17. <CheckBoxPreference android:key="toggle_use_lens_settings"
  18. android:defaultValue="true" android:title="Use Lens"
  19. android:summary="Highlight the current text being read" />
  20. <ListPreference android:key="lens_fg_color"
  21. android:title="Lens Text Color" android:entries="@array/color_entries"
  22. android:entryValues="@array/color_entries" />
  23. <ListPreference android:key="lens_bg_color"
  24. android:title="Lens Background Color" android:entries="@array/color_entries"
  25. android:entryValues="@array/color_entries" />
  26. </PreferenceCategory>
  27. -->
  28. <PreferenceCategory android:title="Text Settings">
  29. <ListPreference android:key="text_fg_color"
  30. android:title="Text Color" android:entries="@array/color_entries"
  31. android:entryValues="@array/color_entries" />
  32. <ListPreference android:key="text_bg_color"
  33. android:title="Background Color" android:entries="@array/color_entries"
  34. android:entryValues="@array/color_entries" />
  35. <ListPreference android:key="text_size" android:title="Text Size"
  36. android:entries="@array/size_entries" android:entryValues="@array/size_values" />
  37. <ListPreference android:key="letter_spacing"
  38. android:title="Letter Spacing" android:entries="@array/spacing_entries"
  39. android:entryValues="@array/letter_spacing_values" />
  40. <ListPreference android:key="line_spacing"
  41. android:title="Line Spacing" android:entries="@array/spacing_entries"
  42. android:entryValues="@array/line_spacing_values" />
  43. </PreferenceCategory>
  44. <PreferenceCategory android:title="Image Settings">
  45. <CheckBoxPreference android:key="toggle_ignore_image_alt_settings"
  46. android:defaultValue="false" android:title="Ignore image alt text" />
  47. <CheckBoxPreference android:key="toggle_load_images_settings"
  48. android:defaultValue="true" android:title="Load images" />
  49. </PreferenceCategory>
  50. <PreferenceCategory android:title="Screen Settings">
  51. <CheckBoxPreference android:key="toggle_use_wakelock"
  52. android:defaultValue="false" android:title="Screen stays on"
  53. android:summary="Keep the screen on when IDEAL Web Reader is running" />
  54. </PreferenceCategory>
  55. <PreferenceCategory android:title="Gesture Settings">
  56. <Preference android:key="define_gestures"
  57. android:persistent="false" android:title="Define my gestures"
  58. android:summary="Customise your gesture controls" />
  59. <Preference android:key="reset_gestures"
  60. android:persistent="false" android:title="Use default gestures"
  61. android:summary="Reset gestures to their defaults" />
  62. </PreferenceCategory>
  63. <PreferenceCategory android:title="Android Text-To-Speech Settings">
  64. <Preference android:key="tts_settings" android:persistent="false"
  65. android:title="TTS Settings" android:summary="Shortcut to Android's text-to-speech options" />
  66. </PreferenceCategory>
  67. </PreferenceScreen>