accessibility_preferences.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2011 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. <CheckBoxPreference android:key="force_userscalable"
  16. android:title="@string/pref_force_userscalable"
  17. android:summary="@string/pref_force_userscalable_summary"
  18. android:defaultValue="false" />
  19. <PreferenceCategory android:title="@string/pref_font_size_category">
  20. <com.android.browser.preferences.FontSizePreview
  21. android:title="@string/preview" />
  22. <com.android.browser.preferences.SeekBarSummaryPreference
  23. android:key="text_zoom"
  24. android:title="@string/pref_text_zoom"
  25. android:defaultValue="10"
  26. android:max="30" />
  27. <com.android.browser.preferences.SeekBarSummaryPreference
  28. android:key="double_tap_zoom"
  29. android:title="@string/pref_zoom_on_double_tap"
  30. android:defaultValue="5"
  31. android:max="10" />
  32. <com.android.browser.preferences.SeekBarSummaryPreference
  33. android:key="min_font_size"
  34. android:title="@string/pref_min_font_size"
  35. android:defaultValue="0"
  36. android:max="20" />
  37. </PreferenceCategory>
  38. <PreferenceCategory android:title="@string/pref_inverted_category">
  39. <com.android.browser.preferences.InvertedContrastPreview
  40. android:title="@string/preview" />
  41. <CheckBoxPreference
  42. android:key="inverted"
  43. android:defaultValue="false"
  44. android:title="@string/pref_inverted"
  45. android:summary="@string/pref_inverted_summary" />
  46. <com.android.browser.preferences.SeekBarSummaryPreference
  47. android:key="inverted_contrast"
  48. android:title="@string/pref_inverted_contrast"
  49. android:dependency="inverted"
  50. android:defaultValue="0"
  51. android:max="20" />
  52. </PreferenceCategory>
  53. </PreferenceScreen>