1
0

qwerty_keyboard.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <?xml version="1.0" encoding="utf-8"?><!--
  2. /*
  3. **
  4. ** Copyright 2008, The Android Open Source Project
  5. **
  6. ** Licensed under the Apache License, Version 2.0 (the "License");
  7. ** you may not use this file except in compliance with the License.
  8. ** You may obtain a copy of the License at
  9. **
  10. ** http://www.apache.org/licenses/LICENSE-2.0
  11. **
  12. ** Unless required by applicable law or agreed to in writing, software
  13. ** distributed under the License is distributed on an "AS IS" BASIS,
  14. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ** See the License for the specific language governing permissions and
  16. ** limitations under the License.
  17. */
  18. -->
  19. <Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
  20. android:keyWidth="10%p"
  21. android:horizontalGap="0px"
  22. android:verticalGap="0px"
  23. android:keyHeight="@dimen/keyboard_key_height">
  24. <Row>
  25. <Key
  26. android:codes="113"
  27. android:keyLabel="q"
  28. android:keyEdgeFlags="left" />
  29. <Key
  30. android:codes="119"
  31. android:keyLabel="w" />
  32. <Key
  33. android:codes="101"
  34. android:keyLabel="e" />
  35. <Key
  36. android:codes="114"
  37. android:keyLabel="r" />
  38. <Key
  39. android:codes="116"
  40. android:keyLabel="t" />
  41. <Key
  42. android:codes="121"
  43. android:keyLabel="y" />
  44. <Key
  45. android:codes="117"
  46. android:keyLabel="u" />
  47. <Key
  48. android:codes="105"
  49. android:keyLabel="i" />
  50. <Key
  51. android:codes="111"
  52. android:keyLabel="o" />
  53. <Key
  54. android:codes="112"
  55. android:keyLabel="p"
  56. android:keyEdgeFlags="right" />
  57. </Row>
  58. <Row>
  59. <Key
  60. android:codes="97"
  61. android:keyLabel="a"
  62. android:keyEdgeFlags="left" />
  63. <Key
  64. android:codes="115"
  65. android:keyLabel="s" />
  66. <Key
  67. android:codes="100"
  68. android:keyLabel="d" />
  69. <Key
  70. android:codes="102"
  71. android:keyLabel="f" />
  72. <Key
  73. android:codes="103"
  74. android:keyLabel="g" />
  75. <Key
  76. android:codes="104"
  77. android:keyLabel="h" />
  78. <Key
  79. android:codes="106"
  80. android:keyLabel="j" />
  81. <Key
  82. android:codes="107"
  83. android:keyLabel="k" />
  84. <Key
  85. android:codes="108"
  86. android:keyLabel="l"
  87. android:keyEdgeFlags="right" />
  88. </Row>
  89. <Row>
  90. <Key
  91. android:codes="@integer/id_keyboard_shift"
  92. android:keyIcon="@drawable/sym_keyboard_shift"
  93. android:keyWidth="15%p"
  94. android:isModifier="true"
  95. android:isSticky="true"
  96. android:keyEdgeFlags="left" />
  97. <Key
  98. android:codes="122"
  99. android:keyLabel="z" />
  100. <Key
  101. android:codes="120"
  102. android:keyLabel="x" />
  103. <Key
  104. android:codes="99"
  105. android:keyLabel="c" />
  106. <Key
  107. android:codes="118"
  108. android:keyLabel="v" />
  109. <Key
  110. android:codes="98"
  111. android:keyLabel="b" />
  112. <Key
  113. android:codes="110"
  114. android:keyLabel="n" />
  115. <Key
  116. android:codes="109"
  117. android:keyLabel="m" />
  118. <Key
  119. android:codes="@integer/id_keyboard_delete"
  120. android:keyIcon="@drawable/sym_keyboard_delete"
  121. android:keyWidth="15%p"
  122. android:keyEdgeFlags="right"
  123. android:isRepeatable="true" />
  124. </Row>
  125. <Row android:rowEdgeFlags="bottom">
  126. <Key
  127. android:codes="@integer/id_keyboard_numbers"
  128. android:keyLabel="123,!"
  129. android:keyWidth="10%p" />
  130. <Key
  131. android:codes="32"
  132. android:keyIcon="@drawable/sym_keyboard_space"
  133. android:keyWidth="30%p"
  134. android:isRepeatable="true" />
  135. </Row>
  136. </Keyboard>