/ime/latinime/res/xml/kbd_qwerty_black.xml

http://eyes-free.googlecode.com/ · XML · 447 lines · 428 code · 1 blank · 18 comment · 0 complexity · 8582d490a81674b4e878e7dbd632d059 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="10%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:keyLabel="q"
  32. android:popupKeyboard="@xml/kbd_popup_template"
  33. android:popupCharacters="@string/alternates_for_q"
  34. android:keyEdgeFlags="left" />
  35. <Key
  36. android:keyLabel="w"
  37. android:popupKeyboard="@xml/kbd_popup_template"
  38. android:popupCharacters="@string/alternates_for_w" />
  39. <Key
  40. android:keyLabel="e"
  41. android:popupKeyboard="@xml/kbd_popup_template"
  42. android:popupCharacters="@string/alternates_for_e" />
  43. <Key
  44. android:keyLabel="r"
  45. android:popupKeyboard="@xml/kbd_popup_template"
  46. android:popupCharacters="@string/alternates_for_r" />
  47. <Key
  48. android:keyLabel="t"
  49. android:popupKeyboard="@xml/kbd_popup_template"
  50. android:popupCharacters="@string/alternates_for_t" />
  51. <Key
  52. android:keyLabel="y"
  53. android:popupKeyboard="@xml/kbd_popup_template"
  54. android:popupCharacters="@string/alternates_for_y" />
  55. <Key
  56. android:keyLabel="u"
  57. android:popupKeyboard="@xml/kbd_popup_template"
  58. android:popupCharacters="@string/alternates_for_u" />
  59. <Key
  60. android:keyLabel="i"
  61. android:popupKeyboard="@xml/kbd_popup_template"
  62. android:popupCharacters="@string/alternates_for_i" />
  63. <Key
  64. android:keyLabel="o"
  65. android:popupKeyboard="@xml/kbd_popup_narrow_template"
  66. android:popupCharacters="@string/alternates_for_o" />
  67. <Key
  68. android:keyLabel="p"
  69. android:popupKeyboard="@xml/kbd_popup_template"
  70. android:popupCharacters="@string/alternates_for_p"
  71. android:keyEdgeFlags="right" />
  72. </Row>
  73. <Row>
  74. <Key
  75. android:keyLabel="a"
  76. android:popupKeyboard="@xml/kbd_popup_template"
  77. android:popupCharacters="@string/alternates_for_a"
  78. android:horizontalGap="5%p"
  79. android:keyEdgeFlags="left" />
  80. <Key
  81. android:keyLabel="s"
  82. android:popupKeyboard="@xml/kbd_popup_template"
  83. android:popupCharacters="@string/alternates_for_s" />
  84. <Key
  85. android:keyLabel="d"
  86. android:popupKeyboard="@xml/kbd_popup_template"
  87. android:popupCharacters="@string/alternates_for_d" />
  88. <Key
  89. android:keyLabel="f" />
  90. <Key
  91. android:keyLabel="g"
  92. android:popupKeyboard="@xml/kbd_popup_template"
  93. android:popupCharacters="@string/alternates_for_g" />
  94. <Key
  95. android:keyLabel="h" />
  96. <Key
  97. android:keyLabel="j" />
  98. <Key
  99. android:keyLabel="k" />
  100. <Key
  101. android:keyLabel="l"
  102. android:popupKeyboard="@xml/kbd_popup_template"
  103. android:popupCharacters="@string/alternates_for_l"
  104. android:keyEdgeFlags="right" />
  105. </Row>
  106. <Row>
  107. <Key
  108. android:codes="@integer/key_shift"
  109. android:keyIcon="@drawable/sym_bkeyboard_shift"
  110. android:iconPreview="@drawable/sym_keyboard_feedback_shift"
  111. android:keyWidth="15%p"
  112. android:isModifier="true"
  113. android:isSticky="true"
  114. android:keyEdgeFlags="left" />
  115. <Key
  116. android:keyLabel="z"
  117. android:popupKeyboard="@xml/kbd_popup_template"
  118. android:popupCharacters="@string/alternates_for_z" />
  119. <Key
  120. android:keyLabel="x" />
  121. <Key
  122. android:keyLabel="c"
  123. android:popupKeyboard="@xml/kbd_popup_template"
  124. android:popupCharacters="@string/alternates_for_c" />
  125. <Key
  126. android:keyLabel="v"
  127. android:popupKeyboard="@xml/kbd_popup_template"
  128. android:popupCharacters="@string/alternates_for_v" />
  129. <Key
  130. android:keyLabel="b" />
  131. <Key
  132. android:keyLabel="n"
  133. android:popupKeyboard="@xml/kbd_popup_template"
  134. android:popupCharacters="@string/alternates_for_n" />
  135. <Key
  136. android:keyLabel="m" />
  137. <Key
  138. android:codes="@integer/key_delete"
  139. android:keyIcon="@drawable/sym_bkeyboard_delete"
  140. android:iconPreview="@drawable/sym_keyboard_feedback_delete"
  141. android:keyWidth="15%p"
  142. android:isRepeatable="true"
  143. android:keyEdgeFlags="right" />
  144. </Row>
  145. <Row
  146. android:keyboardMode="@+id/mode_normal"
  147. android:rowEdgeFlags="bottom"
  148. >
  149. <Key
  150. android:codes="@integer/key_symbol"
  151. android:keyLabel="@string/label_symbol_key"
  152. android:keyWidth="20%p"
  153. android:keyEdgeFlags="left" />
  154. <Key
  155. android:codes="@integer/key_f1" />
  156. <Key
  157. android:codes="@integer/key_space"
  158. android:keyIcon="@drawable/sym_bkeyboard_space"
  159. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  160. android:keyWidth="40%p" />
  161. <Key
  162. android:keyLabel="."
  163. android:keyIcon="@drawable/hint_popup"
  164. android:popupKeyboard="@xml/popup_punctuation" />
  165. <Key
  166. android:codes="@integer/key_return"
  167. android:keyIcon="@drawable/sym_bkeyboard_return"
  168. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  169. android:keyWidth="20%p"
  170. android:keyEdgeFlags="right" />
  171. </Row>
  172. <Row
  173. android:keyboardMode="@+id/mode_url"
  174. android:rowEdgeFlags="bottom"
  175. >
  176. <Key
  177. android:codes="@integer/key_symbol"
  178. android:keyLabel="@string/label_symbol_key"
  179. android:keyWidth="20%p"
  180. android:keyEdgeFlags="left" />
  181. <Key
  182. android:codes="@integer/key_f1" />
  183. <Key
  184. android:codes="@integer/key_space"
  185. android:keyIcon="@drawable/sym_bkeyboard_space"
  186. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  187. android:keyWidth="40%p" />
  188. <Key
  189. android:keyLabel="."
  190. android:keyIcon="@drawable/hint_popup"
  191. android:popupKeyboard="@xml/popup_punctuation" />
  192. <Key
  193. android:codes="@integer/key_return"
  194. android:keyIcon="@drawable/sym_bkeyboard_return"
  195. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  196. android:keyWidth="20%p"
  197. android:keyEdgeFlags="right" />
  198. </Row>
  199. <Row
  200. android:keyboardMode="@+id/mode_email"
  201. android:rowEdgeFlags="bottom"
  202. >
  203. <Key
  204. android:codes="@integer/key_symbol"
  205. android:keyLabel="@string/label_symbol_key"
  206. android:keyWidth="20%p"
  207. android:keyEdgeFlags="left" />
  208. <Key
  209. android:codes="@integer/key_f1" />
  210. <Key
  211. android:codes="@integer/key_space"
  212. android:keyIcon="@drawable/sym_bkeyboard_space"
  213. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  214. android:keyWidth="40%p" />
  215. <Key
  216. android:keyLabel="."
  217. android:keyIcon="@drawable/hint_popup"
  218. android:popupKeyboard="@xml/popup_punctuation" />
  219. <Key
  220. android:codes="@integer/key_return"
  221. android:keyIcon="@drawable/sym_bkeyboard_return"
  222. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  223. android:keyWidth="20%p"
  224. android:keyEdgeFlags="right" />
  225. </Row>
  226. <Row
  227. android:keyboardMode="@+id/mode_im"
  228. android:rowEdgeFlags="bottom"
  229. >
  230. <Key
  231. android:codes="@integer/key_symbol"
  232. android:keyLabel="@string/label_symbol_key"
  233. android:keyWidth="20%p"
  234. android:keyEdgeFlags="left" />
  235. <Key
  236. android:codes="@integer/key_f1" />
  237. <Key
  238. android:codes="@integer/key_space"
  239. android:keyIcon="@drawable/sym_bkeyboard_space"
  240. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  241. android:keyWidth="40%p" />
  242. <Key
  243. android:keyLabel="."
  244. android:keyIcon="@drawable/hint_popup"
  245. android:popupKeyboard="@xml/popup_punctuation" />
  246. <Key
  247. android:keyLabel=":-)"
  248. android:keyOutputText=":-) "
  249. android:keyIcon="@drawable/hint_popup"
  250. android:popupKeyboard="@xml/popup_smileys"
  251. android:keyWidth="20%p"
  252. android:keyEdgeFlags="right" />
  253. </Row>
  254. <Row
  255. android:keyboardMode="@+id/mode_webentry"
  256. android:rowEdgeFlags="bottom"
  257. >
  258. <Key
  259. android:codes="@integer/key_symbol"
  260. android:keyLabel="@string/label_symbol_key"
  261. android:keyWidth="20%p"
  262. android:keyEdgeFlags="left" />
  263. <Key
  264. android:codes="@integer/key_f1" />
  265. <Key
  266. android:codes="@integer/key_space"
  267. android:keyIcon="@drawable/sym_bkeyboard_space"
  268. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  269. android:keyWidth="20%p" />
  270. <Key
  271. android:codes="@integer/key_tab"
  272. android:keyIcon="@drawable/sym_bkeyboard_tab"
  273. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  274. android:keyWidth="20%p" />
  275. <Key
  276. android:keyLabel="."
  277. android:keyIcon="@drawable/hint_popup"
  278. android:popupKeyboard="@xml/popup_punctuation" />
  279. <Key
  280. android:codes="@integer/key_return"
  281. android:keyIcon="@drawable/sym_bkeyboard_return"
  282. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  283. android:keyWidth="20%p"
  284. android:keyEdgeFlags="right" />
  285. </Row>
  286. <Row
  287. android:keyboardMode="@+id/mode_normal_with_settings_key"
  288. android:rowEdgeFlags="bottom"
  289. >
  290. <Key
  291. android:codes="@integer/key_symbol"
  292. android:keyLabel="@string/label_symbol_key"
  293. android:keyWidth="15%p"
  294. android:keyEdgeFlags="left" />
  295. <Key
  296. android:codes="@integer/key_settings"
  297. android:keyIcon="@drawable/sym_bkeyboard_settings"
  298. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  299. <Key
  300. android:codes="@integer/key_f1" />
  301. <Key
  302. android:codes="@integer/key_space"
  303. android:keyIcon="@drawable/sym_bkeyboard_space"
  304. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  305. android:keyWidth="30%p" />
  306. <Key
  307. android:keyLabel="."
  308. android:keyIcon="@drawable/hint_popup"
  309. android:popupKeyboard="@xml/popup_punctuation" />
  310. <Key
  311. android:codes="@integer/key_return"
  312. android:keyIcon="@drawable/sym_bkeyboard_return"
  313. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  314. android:keyWidth="25%p"
  315. android:keyEdgeFlags="right" />
  316. </Row>
  317. <Row
  318. android:keyboardMode="@+id/mode_url_with_settings_key"
  319. android:rowEdgeFlags="bottom"
  320. >
  321. <Key
  322. android:codes="@integer/key_symbol"
  323. android:keyLabel="@string/label_symbol_key"
  324. android:keyWidth="15%p"
  325. android:keyEdgeFlags="left" />
  326. <Key
  327. android:codes="@integer/key_settings"
  328. android:keyIcon="@drawable/sym_bkeyboard_settings"
  329. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  330. <Key
  331. android:codes="@integer/key_f1" />
  332. <Key
  333. android:codes="@integer/key_space"
  334. android:keyIcon="@drawable/sym_bkeyboard_space"
  335. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  336. android:keyWidth="30%p" />
  337. <Key
  338. android:keyLabel="."
  339. android:keyIcon="@drawable/hint_popup"
  340. android:popupKeyboard="@xml/popup_punctuation" />
  341. <Key
  342. android:codes="@integer/key_return"
  343. android:keyIcon="@drawable/sym_bkeyboard_return"
  344. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  345. android:keyWidth="25%p"
  346. android:keyEdgeFlags="right" />
  347. </Row>
  348. <Row
  349. android:keyboardMode="@+id/mode_email_with_settings_key"
  350. android:rowEdgeFlags="bottom"
  351. >
  352. <Key
  353. android:codes="@integer/key_symbol"
  354. android:keyLabel="@string/label_symbol_key"
  355. android:keyWidth="15%p"
  356. android:keyEdgeFlags="left" />
  357. <Key
  358. android:codes="@integer/key_settings"
  359. android:keyIcon="@drawable/sym_bkeyboard_settings"
  360. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  361. <Key
  362. android:codes="@integer/key_f1" />
  363. <Key
  364. android:codes="@integer/key_space"
  365. android:keyIcon="@drawable/sym_bkeyboard_space"
  366. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  367. android:keyWidth="30%p" />
  368. <Key
  369. android:keyLabel="."
  370. android:keyIcon="@drawable/hint_popup"
  371. android:popupKeyboard="@xml/popup_punctuation" />
  372. <Key
  373. android:codes="@integer/key_return"
  374. android:keyIcon="@drawable/sym_bkeyboard_return"
  375. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  376. android:keyWidth="25%p"
  377. android:keyEdgeFlags="right" />
  378. </Row>
  379. <Row
  380. android:keyboardMode="@+id/mode_im_with_settings_key"
  381. android:rowEdgeFlags="bottom"
  382. >
  383. <Key
  384. android:codes="@integer/key_symbol"
  385. android:keyLabel="@string/label_symbol_key"
  386. android:keyWidth="15%p"
  387. android:keyEdgeFlags="left" />
  388. <Key
  389. android:codes="@integer/key_settings"
  390. android:keyIcon="@drawable/sym_bkeyboard_settings"
  391. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  392. <Key
  393. android:codes="@integer/key_f1" />
  394. <Key
  395. android:codes="@integer/key_space"
  396. android:keyIcon="@drawable/sym_bkeyboard_space"
  397. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  398. android:keyWidth="30%p" />
  399. <Key
  400. android:keyLabel="."
  401. android:keyIcon="@drawable/hint_popup"
  402. android:popupKeyboard="@xml/popup_punctuation" />
  403. <Key
  404. android:keyLabel=":-)"
  405. android:keyOutputText=":-) "
  406. android:keyIcon="@drawable/hint_popup"
  407. android:popupKeyboard="@xml/popup_smileys"
  408. android:keyWidth="25%p"
  409. android:keyEdgeFlags="right" />
  410. </Row>
  411. <Row
  412. android:keyboardMode="@+id/mode_webentry_with_settings_key"
  413. android:rowEdgeFlags="bottom"
  414. >
  415. <Key
  416. android:codes="@integer/key_symbol"
  417. android:keyLabel="@string/label_symbol_key"
  418. android:keyWidth="15%p"
  419. android:keyEdgeFlags="left" />
  420. <Key
  421. android:codes="@integer/key_settings"
  422. android:keyIcon="@drawable/sym_bkeyboard_settings"
  423. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  424. <Key
  425. android:codes="@integer/key_f1" />
  426. <Key
  427. android:codes="@integer/key_space"
  428. android:keyIcon="@drawable/sym_bkeyboard_space"
  429. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  430. android:keyWidth="30%p" />
  431. <Key
  432. android:codes="@integer/key_tab"
  433. android:keyIcon="@drawable/sym_bkeyboard_tab"
  434. android:iconPreview="@drawable/sym_keyboard_feedback_tab" />
  435. <Key
  436. android:keyLabel="."
  437. android:keyIcon="@drawable/hint_popup"
  438. android:popupKeyboard="@xml/popup_punctuation" />
  439. <Key
  440. android:codes="@integer/key_return"
  441. android:keyIcon="@drawable/sym_bkeyboard_return"
  442. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  443. android:keyWidth="15%p"
  444. android:keyEdgeFlags="right" />
  445. </Row>
  446. </Keyboard>