/ime/latinime/res/values/dimens.xml

http://eyes-free.googlecode.com/ · XML · 50 lines · 22 code · 1 blank · 27 comment · 0 complexity · c8f45935c5e82f645525dea3752255a2 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. **
  5. ** Copyright 2008, The Android Open Source Project
  6. **
  7. ** Licensed under the Apache License, Version 2.0 (the "License");
  8. ** you may not use this file except in compliance with the License.
  9. ** You may obtain a copy of the License at
  10. **
  11. ** http://www.apache.org/licenses/LICENSE-2.0
  12. **
  13. ** Unless required by applicable law or agreed to in writing, software
  14. ** distributed under the License is distributed on an "AS IS" BASIS,
  15. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. ** See the License for the specific language governing permissions and
  17. ** limitations under the License.
  18. */
  19. -->
  20. <resources>
  21. <!-- key_height + key_bottom_gap = popup_key_height -->
  22. <dimen name="key_height">54dp</dimen>
  23. <dimen name="key_bottom_gap">4dp</dimen>
  24. <dimen name="popup_key_height">58dp</dimen>
  25. <dimen name="keyboard_bottom_padding">0.06in</dimen>
  26. <dimen name="bubble_pointer_offset">22dip</dimen>
  27. <dimen name="candidate_strip_height">42dip</dimen>
  28. <dimen name="candidate_strip_fading_edge_length">63dip</dimen>
  29. <dimen name="spacebar_vertical_correction">4dip</dimen>
  30. <!-- If the screen height in landscape is larger than the below value, then the keyboard
  31. will not go into extract (fullscreen) mode. -->
  32. <dimen name="max_height_for_fullscreen">2.5in</dimen>
  33. <dimen name="key_text_size">0.13in</dimen>
  34. <dimen name="key_label_text_size">0.083in</dimen>
  35. <dimen name="key_preview_text_size_large">40sp</dimen>
  36. <dimen name="key_preview_offset">0.000in</dimen>
  37. <!-- key_preview_text_size_large x 2 -->
  38. <dimen name="key_preview_height">80sp</dimen>
  39. <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
  40. <!-- popup_key_height x 1.7 -->
  41. <dimen name="mini_keyboard_slide_allowance">0.553in</dimen>
  42. <!-- popup_key_height x 1.0 -->
  43. <dimen name="mini_keyboard_vertical_correction">-0.325in</dimen>
  44. <dimen name="key_hysteresis_distance">0.05in</dimen>
  45. <!-- We use "inch", not "dip" because this value tries dealing with physical distance related
  46. to user's finger. -->
  47. <dimen name="keyboard_vertical_correction">-0.05in</dimen>
  48. <dimen name="candidate_min_touchable_width">0.3in</dimen>
  49. </resources>