/ime/latinime/res/xml/kbd_phone.xml

http://eyes-free.googlecode.com/ · XML · 106 lines · 87 code · 1 blank · 18 comment · 0 complexity · 7603d8dc00f7ed1214deb7acf08c850f 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. <Keyboard
  21. xmlns:android="http://schemas.android.com/apk/res/android"
  22. android:keyWidth="26.67%p"
  23. android:horizontalGap="0px"
  24. android:verticalGap="@dimen/key_bottom_gap"
  25. android:keyHeight="@dimen/key_height"
  26. >
  27. <Row
  28. android:rowEdgeFlags="top"
  29. >
  30. <Key
  31. android:codes="49"
  32. android:keyIcon="@drawable/sym_keyboard_num1"
  33. android:keyEdgeFlags="left" />
  34. <Key
  35. android:codes="50"
  36. android:keyIcon="@drawable/sym_keyboard_num2" />
  37. <Key
  38. android:codes="51"
  39. android:keyIcon="@drawable/sym_keyboard_num3" />
  40. <Key
  41. android:keyLabel="-"
  42. android:keyWidth="20%p"
  43. android:isModifier="true"
  44. android:keyEdgeFlags="right" />
  45. </Row>
  46. <Row>
  47. <Key
  48. android:codes="52"
  49. android:keyIcon="@drawable/sym_keyboard_num4"
  50. android:keyEdgeFlags="left" />
  51. <Key
  52. android:codes="53"
  53. android:keyIcon="@drawable/sym_keyboard_num5" />
  54. <Key
  55. android:codes="54"
  56. android:keyIcon="@drawable/sym_keyboard_num6" />
  57. <Key
  58. android:keyLabel="."
  59. android:keyWidth="20%p"
  60. android:isModifier="true"
  61. android:keyEdgeFlags="right" />
  62. </Row>
  63. <Row>
  64. <Key
  65. android:codes="55"
  66. android:keyIcon="@drawable/sym_keyboard_num7"
  67. android:keyEdgeFlags="left" />
  68. <Key
  69. android:codes="56"
  70. android:keyIcon="@drawable/sym_keyboard_num8" />
  71. <Key
  72. android:codes="57"
  73. android:keyIcon="@drawable/sym_keyboard_num9" />
  74. <Key
  75. android:codes="@integer/key_delete"
  76. android:keyIcon="@drawable/sym_keyboard_delete"
  77. android:iconPreview="@drawable/sym_keyboard_feedback_delete"
  78. android:keyWidth="20%p"
  79. android:isModifier="true"
  80. android:isRepeatable="true"
  81. android:keyEdgeFlags="right" />
  82. </Row>
  83. <Row
  84. android:rowEdgeFlags="bottom"
  85. >
  86. <Key
  87. android:codes="@integer/key_symbol"
  88. android:keyIcon="@drawable/sym_keyboard_numalt"
  89. android:iconPreview="@drawable/sym_keyboard_feedback_numalt"
  90. android:keyEdgeFlags="left" />
  91. <Key
  92. android:codes="48"
  93. android:keyIcon="@drawable/sym_keyboard_num0" />
  94. <Key
  95. android:codes="@integer/key_space"
  96. android:keyIcon="@drawable/sym_keyboard_space"
  97. android:iconPreview="@drawable/sym_keyboard_feedback_space" />
  98. <Key
  99. android:codes="@integer/key_return"
  100. android:keyIcon="@drawable/sym_keyboard_return"
  101. android:keyWidth="20%p"
  102. android:isModifier="true"
  103. android:keyEdgeFlags="right" />
  104. </Row>
  105. </Keyboard>