/ime/latinime/res/xml-iw/kbd_qwerty.xml

http://eyes-free.googlecode.com/ · XML · 474 lines · 455 code · 1 blank · 18 comment · 0 complexity · d8a8a99cc5048deb0575913e9e5efe09 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. **
  5. ** Copyright 2010, 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="ק"
  32. android:horizontalGap="5%p"
  33. android:keyEdgeFlags="left" />
  34. <Key
  35. android:keyLabel="ר" />
  36. <Key
  37. android:keyLabel="א" />
  38. <Key
  39. android:keyLabel="ט" />
  40. <Key
  41. android:keyLabel="ו" />
  42. <Key
  43. android:keyLabel="ן" />
  44. <Key
  45. android:keyLabel="ם" />
  46. <Key
  47. android:keyLabel="פ" />
  48. <Key
  49. android:codes="@integer/key_delete"
  50. android:keyIcon="@drawable/sym_keyboard_delete"
  51. android:iconPreview="@drawable/sym_keyboard_feedback_delete"
  52. android:keyWidth="13.75%p"
  53. android:isModifier="true"
  54. android:horizontalGap="1.25%p"
  55. android:isRepeatable="true"
  56. android:keyEdgeFlags="right" />
  57. </Row>
  58. <Row>
  59. <Key
  60. android:keyLabel="ש"
  61. android:keyEdgeFlags="left" />
  62. <Key
  63. android:keyLabel="ד" />
  64. <Key
  65. android:keyLabel="ג" />
  66. <Key
  67. android:keyLabel="כ" />
  68. <Key
  69. android:keyLabel="ע" />
  70. <Key
  71. android:keyLabel="י" />
  72. <Key
  73. android:keyLabel="ח" />
  74. <Key
  75. android:keyLabel="ל" />
  76. <Key
  77. android:keyLabel="ך" />
  78. <Key
  79. android:keyLabel="ף"
  80. android:keyEdgeFlags="right" />
  81. </Row>
  82. <Row>
  83. <Key
  84. android:keyLabel="ז"
  85. android:horizontalGap="5%p"
  86. android:keyEdgeFlags="left" />
  87. <Key
  88. android:keyLabel="ס" />
  89. <Key
  90. android:keyLabel="ב" />
  91. <Key
  92. android:keyLabel="ה" />
  93. <Key
  94. android:keyLabel="נ" />
  95. <Key
  96. android:keyLabel="מ" />
  97. <Key
  98. android:keyLabel="צ" />
  99. <Key
  100. android:keyLabel="ת" />
  101. <Key
  102. android:keyLabel="ץ"
  103. android:keyEdgeFlags="right" />
  104. </Row>
  105. <Row
  106. android:keyboardMode="@+id/mode_normal"
  107. android:keyWidth="10%p"
  108. android:rowEdgeFlags="bottom"
  109. >
  110. <Key
  111. android:codes="@integer/key_symbol"
  112. android:keyLabel="@string/label_symbol_key"
  113. android:keyWidth="20%p"
  114. android:isModifier="true"
  115. android:keyEdgeFlags="left" />
  116. <Key
  117. android:codes="@integer/key_f1"
  118. android:isModifier="true" />
  119. <Key
  120. android:codes="@integer/key_space"
  121. android:keyIcon="@drawable/sym_keyboard_space"
  122. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  123. android:keyWidth="40%p"
  124. android:isModifier="true" />
  125. <Key
  126. android:keyLabel="."
  127. android:keyIcon="@drawable/hint_popup"
  128. android:popupKeyboard="@xml/popup_punctuation"
  129. android:isModifier="true" />
  130. <Key
  131. android:codes="@integer/key_return"
  132. android:keyIcon="@drawable/sym_keyboard_return"
  133. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  134. android:keyWidth="20%p"
  135. android:isModifier="true"
  136. android:keyEdgeFlags="right" />
  137. </Row>
  138. <Row
  139. android:keyboardMode="@+id/mode_url"
  140. android:keyWidth="10%p"
  141. android:rowEdgeFlags="bottom"
  142. >
  143. <Key
  144. android:codes="@integer/key_symbol"
  145. android:keyLabel="@string/label_symbol_key"
  146. android:keyWidth="20%p"
  147. android:isModifier="true"
  148. android:keyEdgeFlags="left" />
  149. <Key
  150. android:codes="@integer/key_f1"
  151. android:isModifier="true" />
  152. <Key
  153. android:codes="@integer/key_space"
  154. android:keyIcon="@drawable/sym_keyboard_space"
  155. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  156. android:keyWidth="40%p"
  157. android:isModifier="true" />
  158. <Key
  159. android:keyLabel="."
  160. android:keyIcon="@drawable/hint_popup"
  161. android:popupKeyboard="@xml/popup_punctuation"
  162. android:isModifier="true" />
  163. <Key
  164. android:codes="@integer/key_return"
  165. android:keyIcon="@drawable/sym_keyboard_return"
  166. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  167. android:keyWidth="20%p"
  168. android:isModifier="true"
  169. android:keyEdgeFlags="right" />
  170. </Row>
  171. <Row
  172. android:keyboardMode="@+id/mode_email"
  173. android:keyWidth="10%p"
  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:isModifier="true"
  181. android:keyEdgeFlags="left" />
  182. <Key
  183. android:codes="@integer/key_f1"
  184. android:isModifier="true" />
  185. <Key
  186. android:codes="@integer/key_space"
  187. android:keyIcon="@drawable/sym_keyboard_space"
  188. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  189. android:keyWidth="40%p"
  190. android:isModifier="true" />
  191. <Key
  192. android:keyLabel="."
  193. android:keyIcon="@drawable/hint_popup"
  194. android:popupKeyboard="@xml/popup_punctuation"
  195. android:isModifier="true" />
  196. <Key
  197. android:codes="@integer/key_return"
  198. android:keyIcon="@drawable/sym_keyboard_return"
  199. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  200. android:keyWidth="20%p"
  201. android:isModifier="true"
  202. android:keyEdgeFlags="right" />
  203. </Row>
  204. <Row
  205. android:keyboardMode="@+id/mode_im"
  206. android:keyWidth="10%p"
  207. android:rowEdgeFlags="bottom"
  208. >
  209. <Key
  210. android:codes="@integer/key_symbol"
  211. android:keyLabel="@string/label_symbol_key"
  212. android:keyWidth="20%p"
  213. android:isModifier="true"
  214. android:keyEdgeFlags="left" />
  215. <Key
  216. android:codes="@integer/key_f1"
  217. android:isModifier="true" />
  218. <Key
  219. android:codes="@integer/key_space"
  220. android:keyIcon="@drawable/sym_keyboard_space"
  221. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  222. android:keyWidth="40%p"
  223. android:isModifier="true" />
  224. <Key
  225. android:keyLabel="."
  226. android:keyIcon="@drawable/hint_popup"
  227. android:popupKeyboard="@xml/popup_punctuation"
  228. android:isModifier="true" />
  229. <Key
  230. android:keyLabel=":-)"
  231. android:keyOutputText=":-) "
  232. android:keyIcon="@drawable/hint_popup"
  233. android:popupKeyboard="@xml/popup_smileys"
  234. android:keyWidth="20%p"
  235. android:isModifier="true"
  236. android:keyEdgeFlags="right" />
  237. </Row>
  238. <Row
  239. android:keyboardMode="@+id/mode_webentry"
  240. android:keyWidth="10%p"
  241. android:rowEdgeFlags="bottom"
  242. >
  243. <Key
  244. android:codes="@integer/key_symbol"
  245. android:keyLabel="@string/label_symbol_key"
  246. android:keyWidth="20%p"
  247. android:isModifier="true"
  248. android:keyEdgeFlags="left" />
  249. <Key
  250. android:codes="@integer/key_f1"
  251. android:isModifier="true" />
  252. <Key
  253. android:codes="@integer/key_space"
  254. android:keyIcon="@drawable/sym_keyboard_space"
  255. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  256. android:keyWidth="20%p"
  257. android:isModifier="true" />
  258. <Key
  259. android:codes="@integer/key_tab"
  260. android:keyIcon="@drawable/sym_keyboard_tab"
  261. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  262. android:keyWidth="20%p"
  263. android:isModifier="true" />
  264. <Key
  265. android:keyLabel="."
  266. android:keyIcon="@drawable/hint_popup"
  267. android:popupKeyboard="@xml/popup_punctuation"
  268. android:isModifier="true" />
  269. <Key
  270. android:codes="@integer/key_return"
  271. android:keyIcon="@drawable/sym_keyboard_return"
  272. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  273. android:keyWidth="20%p"
  274. android:isModifier="true"
  275. android:keyEdgeFlags="right" />
  276. </Row>
  277. <Row
  278. android:keyboardMode="@+id/mode_normal_with_settings_key"
  279. android:keyWidth="10%p"
  280. android:rowEdgeFlags="bottom"
  281. >
  282. <Key
  283. android:codes="@integer/key_symbol"
  284. android:keyLabel="@string/label_symbol_key"
  285. android:keyWidth="15%p"
  286. android:isModifier="true"
  287. android:keyEdgeFlags="left" />
  288. <Key
  289. android:codes="@integer/key_settings"
  290. android:keyIcon="@drawable/sym_keyboard_settings"
  291. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  292. android:isModifier="true" />
  293. <Key
  294. android:codes="@integer/key_f1"
  295. android:isModifier="true" />
  296. <Key
  297. android:codes="@integer/key_space"
  298. android:keyIcon="@drawable/sym_keyboard_space"
  299. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  300. android:keyWidth="30%p"
  301. android:isModifier="true" />
  302. <Key
  303. android:keyLabel="."
  304. android:keyIcon="@drawable/hint_popup"
  305. android:popupKeyboard="@xml/popup_punctuation"
  306. android:isModifier="true" />
  307. <Key
  308. android:codes="@integer/key_return"
  309. android:keyIcon="@drawable/sym_keyboard_return"
  310. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  311. android:keyWidth="25%p"
  312. android:isModifier="true"
  313. android:keyEdgeFlags="right" />
  314. </Row>
  315. <Row
  316. android:keyboardMode="@+id/mode_url_with_settings_key"
  317. android:keyWidth="10%p"
  318. android:rowEdgeFlags="bottom"
  319. >
  320. <Key
  321. android:codes="@integer/key_symbol"
  322. android:keyLabel="@string/label_symbol_key"
  323. android:keyWidth="15%p"
  324. android:isModifier="true"
  325. android:keyEdgeFlags="left" />
  326. <Key
  327. android:codes="@integer/key_settings"
  328. android:keyIcon="@drawable/sym_keyboard_settings"
  329. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  330. android:isModifier="true" />
  331. <Key
  332. android:codes="@integer/key_f1"
  333. android:isModifier="true" />
  334. <Key
  335. android:codes="@integer/key_space"
  336. android:keyIcon="@drawable/sym_keyboard_space"
  337. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  338. android:keyWidth="30%p"
  339. android:isModifier="true" />
  340. <Key
  341. android:keyLabel="."
  342. android:keyIcon="@drawable/hint_popup"
  343. android:popupKeyboard="@xml/popup_punctuation"
  344. android:isModifier="true" />
  345. <Key
  346. android:codes="@integer/key_return"
  347. android:keyIcon="@drawable/sym_keyboard_return"
  348. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  349. android:keyWidth="25%p"
  350. android:isModifier="true"
  351. android:keyEdgeFlags="right" />
  352. </Row>
  353. <Row
  354. android:keyboardMode="@+id/mode_email_with_settings_key"
  355. android:keyWidth="10%p"
  356. android:rowEdgeFlags="bottom"
  357. >
  358. <Key
  359. android:codes="@integer/key_symbol"
  360. android:keyLabel="@string/label_symbol_key"
  361. android:keyWidth="15%p"
  362. android:isModifier="true"
  363. android:keyEdgeFlags="left" />
  364. <Key
  365. android:codes="@integer/key_settings"
  366. android:keyIcon="@drawable/sym_keyboard_settings"
  367. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  368. android:isModifier="true" />
  369. <Key
  370. android:codes="@integer/key_f1"
  371. android:isModifier="true" />
  372. <Key
  373. android:codes="@integer/key_space"
  374. android:keyIcon="@drawable/sym_keyboard_space"
  375. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  376. android:keyWidth="30%p"
  377. android:isModifier="true" />
  378. <Key
  379. android:keyLabel="."
  380. android:keyIcon="@drawable/hint_popup"
  381. android:popupKeyboard="@xml/popup_punctuation"
  382. android:isModifier="true" />
  383. <Key
  384. android:codes="@integer/key_return"
  385. android:keyIcon="@drawable/sym_keyboard_return"
  386. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  387. android:keyWidth="25%p"
  388. android:isModifier="true"
  389. android:keyEdgeFlags="right" />
  390. </Row>
  391. <Row
  392. android:keyboardMode="@+id/mode_im_with_settings_key"
  393. android:keyWidth="10%p"
  394. android:rowEdgeFlags="bottom"
  395. >
  396. <Key
  397. android:codes="@integer/key_symbol"
  398. android:keyLabel="@string/label_symbol_key"
  399. android:keyWidth="15%p"
  400. android:isModifier="true"
  401. android:keyEdgeFlags="left" />
  402. <Key
  403. android:codes="@integer/key_settings"
  404. android:keyIcon="@drawable/sym_keyboard_settings"
  405. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  406. android:isModifier="true" />
  407. <Key
  408. android:codes="@integer/key_f1"
  409. android:isModifier="true" />
  410. <Key
  411. android:codes="@integer/key_space"
  412. android:keyIcon="@drawable/sym_keyboard_space"
  413. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  414. android:keyWidth="30%p"
  415. android:isModifier="true" />
  416. <Key
  417. android:keyLabel="."
  418. android:keyIcon="@drawable/hint_popup"
  419. android:popupKeyboard="@xml/popup_punctuation"
  420. android:isModifier="true" />
  421. <Key
  422. android:keyLabel=":-)"
  423. android:keyOutputText=":-) "
  424. android:keyIcon="@drawable/hint_popup"
  425. android:popupKeyboard="@xml/popup_smileys"
  426. android:keyWidth="25%p"
  427. android:isModifier="true"
  428. android:keyEdgeFlags="right" />
  429. </Row>
  430. <Row
  431. android:keyboardMode="@+id/mode_webentry_with_settings_key"
  432. android:keyWidth="10%p"
  433. android:rowEdgeFlags="bottom"
  434. >
  435. <Key
  436. android:codes="@integer/key_symbol"
  437. android:keyLabel="@string/label_symbol_key"
  438. android:keyWidth="15%p"
  439. android:isModifier="true"
  440. android:keyEdgeFlags="left" />
  441. <Key
  442. android:codes="@integer/key_settings"
  443. android:keyIcon="@drawable/sym_keyboard_settings"
  444. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  445. android:isModifier="true" />
  446. <Key
  447. android:codes="@integer/key_f1"
  448. android:isModifier="true" />
  449. <Key
  450. android:codes="@integer/key_space"
  451. android:keyIcon="@drawable/sym_keyboard_space"
  452. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  453. android:keyWidth="30%p"
  454. android:isModifier="true" />
  455. <Key
  456. android:codes="@integer/key_tab"
  457. android:keyIcon="@drawable/sym_keyboard_tab"
  458. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  459. android:isModifier="true" />
  460. <Key
  461. android:keyLabel="."
  462. android:keyIcon="@drawable/hint_popup"
  463. android:popupKeyboard="@xml/popup_punctuation"
  464. android:isModifier="true" />
  465. <Key
  466. android:codes="@integer/key_return"
  467. android:keyIcon="@drawable/sym_keyboard_return"
  468. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  469. android:keyWidth="15%p"
  470. android:isModifier="true"
  471. android:keyEdgeFlags="right" />
  472. </Row>
  473. </Keyboard>