keyboard.titleid.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <keyboard image="keyboard.png" default-layout="lowercase">
  2. <style name="basic">
  3. <state name="default">
  4. <text fontsize="12" offsetx="10" offsety="5" color="#FFFFFFFF"></text>
  5. <image x="0" y="0" w="28" h="28"></image>
  6. </state>
  7. <state name="active">
  8. <text fontsize="12" offsetx="11" offsety="6" color="#FFFFFFFF"></text>
  9. <image x="28" y="0" w="28" h="28"></image>
  10. </state>
  11. </style>
  12. <style name="spacebar">
  13. <state name="default"><image x="0" y="56" w="128" h="28"></image></state>
  14. <state name="active"><image x="0" y="84" w="128" h="28"></image></state>
  15. </style>
  16. <style name="special">
  17. <state name="default">
  18. <text fontsize="12" offsetx="7" offsety="5" color="#FFFFFFFF"></text>
  19. <image x="0" y="28" w="56" h="28"></image>
  20. </state>
  21. <state name="active">
  22. <text fontsize="12" offsetx="8" offsety="6" color="#FFFFFFFF"></text>
  23. <image x="56" y="28" w="56" h="28"></image>
  24. </state>
  25. </style>
  26. <style name="enter">
  27. <state name="default"><image x="56" y="0" w="56" h="28"></image></state>
  28. <state name="active"><image x="128" y="56" w="56" h="28"></image></state>
  29. </style>
  30. <style name="shift">
  31. <state name="default"><image x="145" y="0" w="56" h="28"></image></state>
  32. <state name="active"><image x="145" y="28" w="56" h="28"></image></state>
  33. </style>
  34. <style name="backspace">
  35. <state name="default"><image x="112" y="0" w="33" h="23"></image></state>
  36. <state name="active"><image x="112" y="23" w="33" h="23"></image></state>
  37. </style>
  38. <style name="input">
  39. <state name="default">
  40. <text fontsize="14" offsetx="-20" offsety="4" color="#FFFFFFFF"></text>
  41. <image x="255" y="0" w="1" h="28"></image>
  42. </state>
  43. <state name="active"><image x="255" y="0" w="1" h="28"></image></state>
  44. </style>
  45. <input style="input" x="0" y="58" w="320" h="28" max-width="260" cursor-color="#FFFFFFFF" cursor-height="22"></input>
  46. <layout name="lowercase" label="abc123">
  47. <button style="basic" x="6" y="88" w="28" h="28">1</button>
  48. <button style="basic" x="36" y="88" w="28" h="28">2</button>
  49. <button style="basic" x="66" y="88" w="28" h="28">3</button>
  50. <button style="basic" x="96" y="88" w="28" h="28">4</button>
  51. <button style="basic" x="126" y="88" w="28" h="28">5</button>
  52. <button style="basic" x="156" y="88" w="28" h="28">6</button>
  53. <button style="basic" x="186" y="88" w="28" h="28">7</button>
  54. <button style="basic" x="216" y="88" w="28" h="28">8</button>
  55. <button style="basic" x="246" y="88" w="28" h="28">9</button>
  56. <button style="basic" x="276" y="88" w="28" h="28">0</button>
  57. <button style="basic" x="50" y="118" w="28" h="28">A</button>
  58. <button style="basic" x="80" y="118" w="28" h="28">B</button>
  59. <button style="basic" x="110" y="118" w="28" h="28">C</button>
  60. <button style="basic" x="140" y="118" w="28" h="28">D</button>
  61. <button style="basic" x="170" y="118" w="28" h="28">E</button>
  62. <button style="basic" x="200" y="118" w="28" h="28">F</button>
  63. <button type="backspace" style="backspace" x="280" y="60" w="33" h="23"></button>
  64. <button type="enter" style="enter" x="254" y="208" w="56" h="28"></button>
  65. </layout>
  66. </keyboard>