/ime/latinime/res/values/attrs.xml

http://eyes-free.googlecode.com/ · XML · 72 lines · 28 code · 17 blank · 27 comment · 0 complexity · 325b6079eb071f519c9e70df1c5b7a51 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2010 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. <resources>
  14. <declare-styleable name="LatinKeyboardBaseView">
  15. <!-- Default KeyboardView style. -->
  16. <attr name="keyboardViewStyle" format="reference" />
  17. <!-- Image for the key. This image needs to be a StateListDrawable, with the following
  18. possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
  19. checkable+checked+pressed. -->
  20. <attr name="keyBackground" format="reference" />
  21. <!-- Size of the text for character keys. -->
  22. <attr name="keyTextSize" format="dimension" />
  23. <!-- Size of the text for custom keys with some text and no icon. -->
  24. <attr name="labelTextSize" format="dimension" />
  25. <!-- Color to use for the label in a key. -->
  26. <attr name="keyTextColor" format="color" />
  27. <!-- Layout resource for key press feedback.-->
  28. <attr name="keyPreviewLayout" format="reference" />
  29. <!-- Vertical offset of the key press feedback from the key. -->
  30. <attr name="keyPreviewOffset" format="dimension" />
  31. <!-- Height of the key press feedback popup. -->
  32. <attr name="keyPreviewHeight" format="dimension" />
  33. <!-- Hysteresis distance for key debouncing -->
  34. <attr name="keyHysteresisDistance" format="dimension" />
  35. <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
  36. <attr name="verticalCorrection" format="dimension" />
  37. <!-- Layout resource for popup keyboards. -->
  38. <attr name="popupLayout" format="reference" />
  39. <attr name="shadowColor" format="color" />
  40. <attr name="shadowRadius" format="float" />
  41. <attr name="backgroundDimAmount" format="float" />
  42. <attr name="keyTextStyle">
  43. <flag name="normal" value="0" />
  44. <flag name="bold" value="1" />
  45. <flag name="italic" value="2" />
  46. </attr>
  47. <attr name="symbolColorScheme">
  48. <flag name="white" value="0" />
  49. <flag name="black" value="1" />
  50. </attr>
  51. </declare-styleable>
  52. </resources>