/theme/default/keyboard.xml

http://ftk.googlecode.com/ · XML · 110 lines · 106 code · 4 blank · 0 comment · 0 complexity · e6a11152eb81fabe37caaafad7e9dfc0 MD5 · raw file

  1. <keyboard min_width="240" min_height="160" views="2">
  2. <view rows="5" bg="key_board_bg.png" cell_bg_image[normal]="key_board_btn_normal.png"
  3. cell_bg_image[active]="key_board_btn_active.png">
  4. <row cols="3" height_weight="10">
  5. <cell text="" action="candidate(prev)" width_weight="1"
  6. icon="key_board_arrow_left.png"/>
  7. <cell text="" action="candidate(text)" width_weight="8"
  8. bg_image[normal]="key_board_candidates_area_bg.png"
  9. bg_image[active]="key_board_candidate_hl_bg.png" />
  10. <cell text="" action="candidate(next)" width_weight="1"
  11. icon="key_board_arrow_right.png"/>
  12. </row>
  13. <row cols="10" height_weight="10">
  14. <cell text="Q" action="send_key(Q)" width_weight="1"/>
  15. <cell text="W" action="send_key(W)" width_weight="1"/>
  16. <cell text="E" action="send_key(E)" width_weight="1"/>
  17. <cell text="R" action="send_key(R)" width_weight="1"/>
  18. <cell text="T" action="send_key(T)" width_weight="1"/>
  19. <cell text="Y" action="send_key(Y)" width_weight="1"/>
  20. <cell text="U" action="send_key(U)" width_weight="1"/>
  21. <cell text="I" action="send_key(I)" width_weight="1"/>
  22. <cell text="O" action="send_key(O)" width_weight="1"/>
  23. <cell text="P" action="send_key(P)" width_weight="1"/>
  24. </row>
  25. <row cols="9" height_weight="10">
  26. <cell text="A" action="send_key(A)" width_weight="1"/>
  27. <cell text="S" action="send_key(S)" width_weight="1"/>
  28. <cell text="D" action="send_key(D)" width_weight="1"/>
  29. <cell text="F" action="send_key(F)" width_weight="1"/>
  30. <cell text="G" action="send_key(G)" width_weight="1"/>
  31. <cell text="H" action="send_key(H)" width_weight="1"/>
  32. <cell text="J" action="send_key(J)" width_weight="1"/>
  33. <cell text="K" action="send_key(K)" width_weight="1"/>
  34. <cell text="L" action="send_key(L)" width_weight="1"/>
  35. </row>
  36. <row cols="8" height_weight="10">
  37. <cell text="Z" action="send_key(Z)" width_weight="1"/>
  38. <cell text="X" action="send_key(X)" width_weight="1"/>
  39. <cell text="C" action="send_key(C)" width_weight="1"/>
  40. <cell text="V" action="send_key(V)" width_weight="1"/>
  41. <cell text="B" action="send_key(B)" width_weight="1"/>
  42. <cell text="N" action="send_key(N)" width_weight="1"/>
  43. <cell text="M" action="send_key(M)" width_weight="1"/>
  44. <cell text="" action="send_key(BACKSPACE)" width_weight="1" icon="key_board_delete.png"/>
  45. </row>
  46. <row cols="5" height_weight="10">
  47. <cell text="ZH" action="switch_view(1,-1)" width_weight="1"/>
  48. <cell text="123." action="switch_view(1)" width_weight="1"/>
  49. <cell text=" " action="send_key( )" width_weight="1" icon="key_board_space.png"/>
  50. <cell text="" action="switch_view(1)" width_weight="1" icon="key_board_shift_off.png"/>
  51. <cell text="" action="send_key(ENTER)" width_weight="1" icon="key_board_enter.png"/>
  52. </row>
  53. </view>
  54. <view rows="5" bg="key_board_bg.png" cell_bg_image[normal]="key_board_btn_normal.png"
  55. cell_bg_image[active]="key_board_btn_active.png">
  56. <row cols="3" height_weight="10">
  57. <cell text="" action="candidate(prev)" width_weight="1"
  58. icon="key_board_arrow_left.png"/>
  59. <cell text="" action="candidate(text)" width_weight="8"
  60. bg_image[normal]="key_board_candidates_area_bg.png"
  61. bg_image[active]="key_board_candidate_hl_bg.png" />
  62. <cell text="" action="candidate(next)" width_weight="1"
  63. icon="key_board_arrow_right.png"/>
  64. </row>
  65. <row cols="10" height_weight="10">
  66. <cell text="q" action="send_key(q)" width_weight="1"/>
  67. <cell text="w" action="send_key(w)" width_weight="1"/>
  68. <cell text="e" action="send_key(e)" width_weight="1"/>
  69. <cell text="r" action="send_key(r)" width_weight="1"/>
  70. <cell text="t" action="send_key(t)" width_weight="1"/>
  71. <cell text="y" action="send_key(y)" width_weight="1"/>
  72. <cell text="u" action="send_key(u)" width_weight="1"/>
  73. <cell text="i" action="send_key(i)" width_weight="1"/>
  74. <cell text="o" action="send_key(o)" width_weight="1"/>
  75. <cell text="p" action="send_key(p)" width_weight="1"/>
  76. </row>
  77. <row cols="9" height_weight="10">
  78. <cell text="a" action="send_key(a)" width_weight="1"/>
  79. <cell text="s" action="send_key(s)" width_weight="1"/>
  80. <cell text="d" action="send_key(d)" width_weight="1"/>
  81. <cell text="f" action="send_key(f)" width_weight="1"/>
  82. <cell text="g" action="send_key(g)" width_weight="1"/>
  83. <cell text="h" action="send_key(h)" width_weight="1"/>
  84. <cell text="j" action="send_key(j)" width_weight="1"/>
  85. <cell text="k" action="send_key(k)" width_weight="1"/>
  86. <cell text="l" action="send_key(l)" width_weight="1"/>
  87. </row>
  88. <row cols="10" height_weight="10">
  89. <cell text="z" action="send_key(z)" width_weight="1"/>
  90. <cell text="x" action="send_key(x)" width_weight="1"/>
  91. <cell text="c" action="send_key(c)" width_weight="1"/>
  92. <cell text="v" action="send_key(v)" width_weight="1"/>
  93. <cell text="b" action="send_key(b)" width_weight="1"/>
  94. <cell text="n" action="send_key(n)" width_weight="1"/>
  95. <cell text="m" action="send_key(m)" width_weight="1"/>
  96. <cell text="" action="send_key(BACKSPACE)" width_weight="1" icon="key_board_delete.png"/>
  97. </row>
  98. <row cols="5" height_weight="10">
  99. <cell text="EN" action="switch_view(0,0)" width_weight="1"/>
  100. <cell text="123." action="switch_view(1)" width_weight="1"/>
  101. <cell text=" " action="send_key( )" width_weight="1" icon="key_board_space.png"/>
  102. <cell text="" action="switch_view(0)" width_weight="1" icon="key_board_shift_off.png"/>
  103. <cell text="" action="send_key(ENTER)" width_weight="1" icon="key_board_enter.png"/>
  104. </row>
  105. </view>
  106. </keyboard>