/ocr/textscanner/res/xml/prefs.xml

http://eyes-free.googlecode.com/ · XML · 57 lines · 35 code · 8 blank · 14 comment · 0 complexity · 4db0832ac45d700a60152891141a211f MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2009 Google Inc.
  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 xmlns:android="http://schemas.android.com/apk/res/android">
  14. <ListPreference
  15. android:key="resolution"
  16. android:title="Capture Resolution"
  17. android:defaultValue="800x600" />
  18. <ListPreference
  19. android:key="language"
  20. android:title="Recognition Language"
  21. android:defaultValue="eng" />
  22. <CheckBoxPreference
  23. android:key="clipboard"
  24. android:title="Copy to clipboard"
  25. android:summaryOn="(Default) Results will automatically be copied to the clipboard"
  26. android:summaryOff="Results will not automatically be copied to the clipboard"
  27. android:defaultValue="true"/>
  28. <CheckBoxPreference
  29. android:key="normalize"
  30. android:title="Normalize background"
  31. android:summaryOn="Image background will be normalized"
  32. android:summaryOff="(Default) Shadows will not be removed from images"
  33. android:defaultValue="false"/>
  34. <CheckBoxPreference
  35. android:key="textdetect"
  36. android:title="Detect sparse text"
  37. android:summaryOn="Sparse text detection will be performed"
  38. android:summaryOff="(Default) Sparse text detection will not be performed"
  39. android:defaultValue="false"/>
  40. <CheckBoxPreference
  41. android:key="debug"
  42. android:title="Use debug mode"
  43. android:summaryOn="Intermediate files will be written to the SD card"
  44. android:summaryOff="(Default) Intermediate files will not be written to SD card"
  45. android:defaultValue="false"/>
  46. </PreferenceScreen>