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

http://eyes-free.googlecode.com/ · XML · 514 lines · 495 code · 1 blank · 18 comment · 0 complexity · 0684a54025fd1b8da27686a44eb3fc53 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="9.09%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:popupKeyboard="@xml/kbd_popup_template"
  33. android:popupCharacters="1"
  34. android:keyWidth="8.75%p"
  35. android:keyEdgeFlags="left" />
  36. <Key
  37. android:keyLabel="ц"
  38. android:popupKeyboard="@xml/kbd_popup_template"
  39. android:popupCharacters="2" />
  40. <Key
  41. android:keyLabel="у"
  42. android:popupKeyboard="@xml/kbd_popup_template"
  43. android:popupCharacters="3" />
  44. <Key
  45. android:keyLabel="к"
  46. android:popupKeyboard="@xml/kbd_popup_template"
  47. android:popupCharacters="4" />
  48. <Key
  49. android:keyLabel="е"
  50. android:popupKeyboard="@xml/kbd_popup_template"
  51. android:popupCharacters="@string/alternates_for_cyrillic_e" />
  52. <Key
  53. android:keyLabel="н"
  54. android:popupKeyboard="@xml/kbd_popup_template"
  55. android:popupCharacters="6" />
  56. <Key
  57. android:keyLabel="г"
  58. android:popupKeyboard="@xml/kbd_popup_template"
  59. android:popupCharacters="7" />
  60. <Key
  61. android:keyLabel="ш"
  62. android:popupKeyboard="@xml/kbd_popup_template"
  63. android:popupCharacters="8" />
  64. <Key
  65. android:keyLabel="щ"
  66. android:popupKeyboard="@xml/kbd_popup_template"
  67. android:popupCharacters="9" />
  68. <Key
  69. android:keyLabel="з"
  70. android:popupKeyboard="@xml/kbd_popup_template"
  71. android:popupCharacters="0" />
  72. <Key
  73. android:keyLabel="х"
  74. android:keyWidth="8.75%p"
  75. android:keyEdgeFlags="right" />
  76. </Row>
  77. <Row>
  78. <Key
  79. android:keyLabel="ф"
  80. android:keyWidth="8.75%p"
  81. android:keyEdgeFlags="left" />
  82. <Key
  83. android:keyLabel="ы" />
  84. <Key
  85. android:keyLabel="в" />
  86. <Key
  87. android:keyLabel="а" />
  88. <Key
  89. android:keyLabel="п" />
  90. <Key
  91. android:keyLabel="р" />
  92. <Key
  93. android:keyLabel="о" />
  94. <Key
  95. android:keyLabel="л" />
  96. <Key
  97. android:keyLabel="д" />
  98. <Key
  99. android:keyLabel="ж" />
  100. <Key
  101. android:keyLabel="э"
  102. android:keyWidth="8.75%p"
  103. android:keyEdgeFlags="right" />
  104. </Row>
  105. <Row
  106. android:keyWidth="8.5%p"
  107. >
  108. <Key
  109. android:codes="@integer/key_shift"
  110. android:keyIcon="@drawable/sym_keyboard_shift"
  111. android:iconPreview="@drawable/sym_keyboard_feedback_shift"
  112. android:keyWidth="11.75%p"
  113. android:isModifier="true"
  114. android:isSticky="true"
  115. android:keyEdgeFlags="left" />
  116. <Key
  117. android:keyLabel="я" />
  118. <Key
  119. android:keyLabel="ч" />
  120. <Key
  121. android:keyLabel="с" />
  122. <Key
  123. android:keyLabel="м" />
  124. <Key
  125. android:keyLabel="и" />
  126. <Key
  127. android:keyLabel="т" />
  128. <Key
  129. android:keyLabel="ь"
  130. android:popupKeyboard="@xml/kbd_popup_template"
  131. android:popupCharacters="@string/alternates_for_cyrillic_soft_sign" />
  132. <Key
  133. android:keyLabel="б" />
  134. <Key
  135. android:keyLabel="ю" />
  136. <Key
  137. android:codes="@integer/key_delete"
  138. android:keyIcon="@drawable/sym_keyboard_delete"
  139. android:iconPreview="@drawable/sym_keyboard_feedback_delete"
  140. android:keyWidth="11.75%p"
  141. android:isModifier="true"
  142. android:isRepeatable="true"
  143. android:keyEdgeFlags="right" />
  144. </Row>
  145. <Row
  146. android:keyboardMode="@+id/mode_normal"
  147. android:keyWidth="10%p"
  148. android:rowEdgeFlags="bottom"
  149. >
  150. <Key
  151. android:codes="@integer/key_symbol"
  152. android:keyLabel="@string/label_symbol_key"
  153. android:keyWidth="20%p"
  154. android:isModifier="true"
  155. android:keyEdgeFlags="left" />
  156. <Key
  157. android:codes="@integer/key_f1"
  158. android:isModifier="true" />
  159. <Key
  160. android:codes="@integer/key_space"
  161. android:keyIcon="@drawable/sym_keyboard_space"
  162. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  163. android:keyWidth="40%p"
  164. android:isModifier="true" />
  165. <Key
  166. android:keyLabel="."
  167. android:keyIcon="@drawable/hint_popup"
  168. android:popupKeyboard="@xml/popup_punctuation"
  169. android:isModifier="true" />
  170. <Key
  171. android:codes="@integer/key_return"
  172. android:keyIcon="@drawable/sym_keyboard_return"
  173. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  174. android:keyWidth="20%p"
  175. android:isModifier="true"
  176. android:keyEdgeFlags="right" />
  177. </Row>
  178. <Row
  179. android:keyboardMode="@+id/mode_url"
  180. android:keyWidth="10%p"
  181. android:rowEdgeFlags="bottom"
  182. >
  183. <Key
  184. android:codes="@integer/key_symbol"
  185. android:keyLabel="@string/label_symbol_key"
  186. android:keyWidth="20%p"
  187. android:isModifier="true"
  188. android:keyEdgeFlags="left" />
  189. <Key
  190. android:codes="@integer/key_f1"
  191. android:isModifier="true" />
  192. <Key
  193. android:codes="@integer/key_space"
  194. android:keyIcon="@drawable/sym_keyboard_space"
  195. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  196. android:keyWidth="40%p"
  197. android:isModifier="true" />
  198. <Key
  199. android:keyLabel="."
  200. android:keyIcon="@drawable/hint_popup"
  201. android:popupKeyboard="@xml/popup_punctuation"
  202. android:isModifier="true" />
  203. <Key
  204. android:codes="@integer/key_return"
  205. android:keyIcon="@drawable/sym_keyboard_return"
  206. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  207. android:keyWidth="20%p"
  208. android:isModifier="true"
  209. android:keyEdgeFlags="right" />
  210. </Row>
  211. <Row
  212. android:keyboardMode="@+id/mode_email"
  213. android:keyWidth="10%p"
  214. android:rowEdgeFlags="bottom"
  215. >
  216. <Key
  217. android:codes="@integer/key_symbol"
  218. android:keyLabel="@string/label_symbol_key"
  219. android:keyWidth="20%p"
  220. android:isModifier="true"
  221. android:keyEdgeFlags="left" />
  222. <Key
  223. android:codes="@integer/key_f1"
  224. android:isModifier="true" />
  225. <Key
  226. android:codes="@integer/key_space"
  227. android:keyIcon="@drawable/sym_keyboard_space"
  228. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  229. android:keyWidth="40%p"
  230. android:isModifier="true" />
  231. <Key
  232. android:keyLabel="."
  233. android:keyIcon="@drawable/hint_popup"
  234. android:popupKeyboard="@xml/popup_punctuation"
  235. android:isModifier="true" />
  236. <Key
  237. android:codes="@integer/key_return"
  238. android:keyIcon="@drawable/sym_keyboard_return"
  239. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  240. android:keyWidth="20%p"
  241. android:isModifier="true"
  242. android:keyEdgeFlags="right" />
  243. </Row>
  244. <Row
  245. android:keyboardMode="@+id/mode_im"
  246. android:keyWidth="10%p"
  247. android:rowEdgeFlags="bottom"
  248. >
  249. <Key
  250. android:codes="@integer/key_symbol"
  251. android:keyLabel="@string/label_symbol_key"
  252. android:keyWidth="20%p"
  253. android:isModifier="true"
  254. android:keyEdgeFlags="left" />
  255. <Key
  256. android:codes="@integer/key_f1"
  257. android:isModifier="true" />
  258. <Key
  259. android:codes="@integer/key_space"
  260. android:keyIcon="@drawable/sym_keyboard_space"
  261. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  262. android:keyWidth="40%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:keyLabel=":-)"
  271. android:keyOutputText=":-) "
  272. android:keyIcon="@drawable/hint_popup"
  273. android:popupKeyboard="@xml/popup_smileys"
  274. android:keyWidth="20%p"
  275. android:isModifier="true"
  276. android:keyEdgeFlags="right" />
  277. </Row>
  278. <Row
  279. android:keyboardMode="@+id/mode_webentry"
  280. android:keyWidth="10%p"
  281. android:rowEdgeFlags="bottom"
  282. >
  283. <Key
  284. android:codes="@integer/key_symbol"
  285. android:keyLabel="@string/label_symbol_key"
  286. android:keyWidth="20%p"
  287. android:isModifier="true"
  288. android:keyEdgeFlags="left" />
  289. <Key
  290. android:codes="@integer/key_f1"
  291. android:isModifier="true" />
  292. <Key
  293. android:codes="@integer/key_space"
  294. android:keyIcon="@drawable/sym_keyboard_space"
  295. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  296. android:keyWidth="20%p"
  297. android:isModifier="true" />
  298. <Key
  299. android:codes="@integer/key_tab"
  300. android:keyIcon="@drawable/sym_keyboard_tab"
  301. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  302. android:keyWidth="20%p"
  303. android:isModifier="true" />
  304. <Key
  305. android:keyLabel="."
  306. android:keyIcon="@drawable/hint_popup"
  307. android:popupKeyboard="@xml/popup_punctuation"
  308. android:isModifier="true" />
  309. <Key
  310. android:codes="@integer/key_return"
  311. android:keyIcon="@drawable/sym_keyboard_return"
  312. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  313. android:keyWidth="20%p"
  314. android:isModifier="true"
  315. android:keyEdgeFlags="right" />
  316. </Row>
  317. <Row
  318. android:keyboardMode="@+id/mode_normal_with_settings_key"
  319. android:keyWidth="10%p"
  320. android:rowEdgeFlags="bottom"
  321. >
  322. <Key
  323. android:codes="@integer/key_symbol"
  324. android:keyLabel="@string/label_symbol_key"
  325. android:keyWidth="15%p"
  326. android:isModifier="true"
  327. android:keyEdgeFlags="left" />
  328. <Key
  329. android:codes="@integer/key_settings"
  330. android:keyIcon="@drawable/sym_keyboard_settings"
  331. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  332. android:isModifier="true" />
  333. <Key
  334. android:codes="@integer/key_f1"
  335. android:isModifier="true" />
  336. <Key
  337. android:codes="@integer/key_space"
  338. android:keyIcon="@drawable/sym_keyboard_space"
  339. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  340. android:keyWidth="30%p"
  341. android:isModifier="true" />
  342. <Key
  343. android:keyLabel="."
  344. android:keyIcon="@drawable/hint_popup"
  345. android:popupKeyboard="@xml/popup_punctuation"
  346. android:isModifier="true" />
  347. <Key
  348. android:codes="@integer/key_return"
  349. android:keyIcon="@drawable/sym_keyboard_return"
  350. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  351. android:keyWidth="25%p"
  352. android:isModifier="true"
  353. android:keyEdgeFlags="right" />
  354. </Row>
  355. <Row
  356. android:keyboardMode="@+id/mode_url_with_settings_key"
  357. android:keyWidth="10%p"
  358. android:rowEdgeFlags="bottom"
  359. >
  360. <Key
  361. android:codes="@integer/key_symbol"
  362. android:keyLabel="@string/label_symbol_key"
  363. android:keyWidth="15%p"
  364. android:isModifier="true"
  365. android:keyEdgeFlags="left" />
  366. <Key
  367. android:codes="@integer/key_settings"
  368. android:keyIcon="@drawable/sym_keyboard_settings"
  369. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  370. android:isModifier="true" />
  371. <Key
  372. android:codes="@integer/key_f1"
  373. android:isModifier="true" />
  374. <Key
  375. android:codes="@integer/key_space"
  376. android:keyIcon="@drawable/sym_keyboard_space"
  377. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  378. android:keyWidth="30%p"
  379. android:isModifier="true" />
  380. <Key
  381. android:keyLabel="."
  382. android:keyIcon="@drawable/hint_popup"
  383. android:popupKeyboard="@xml/popup_punctuation"
  384. android:isModifier="true" />
  385. <Key
  386. android:codes="@integer/key_return"
  387. android:keyIcon="@drawable/sym_keyboard_return"
  388. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  389. android:keyWidth="25%p"
  390. android:isModifier="true"
  391. android:keyEdgeFlags="right" />
  392. </Row>
  393. <Row
  394. android:keyboardMode="@+id/mode_email_with_settings_key"
  395. android:keyWidth="10%p"
  396. android:rowEdgeFlags="bottom"
  397. >
  398. <Key
  399. android:codes="@integer/key_symbol"
  400. android:keyLabel="@string/label_symbol_key"
  401. android:keyWidth="15%p"
  402. android:isModifier="true"
  403. android:keyEdgeFlags="left" />
  404. <Key
  405. android:codes="@integer/key_settings"
  406. android:keyIcon="@drawable/sym_keyboard_settings"
  407. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  408. android:isModifier="true" />
  409. <Key
  410. android:codes="@integer/key_f1"
  411. android:isModifier="true" />
  412. <Key
  413. android:codes="@integer/key_space"
  414. android:keyIcon="@drawable/sym_keyboard_space"
  415. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  416. android:keyWidth="30%p"
  417. android:isModifier="true" />
  418. <Key
  419. android:keyLabel="."
  420. android:keyIcon="@drawable/hint_popup"
  421. android:popupKeyboard="@xml/popup_punctuation"
  422. android:isModifier="true" />
  423. <Key
  424. android:codes="@integer/key_return"
  425. android:keyIcon="@drawable/sym_keyboard_return"
  426. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  427. android:keyWidth="25%p"
  428. android:isModifier="true"
  429. android:keyEdgeFlags="right" />
  430. </Row>
  431. <Row
  432. android:keyboardMode="@+id/mode_im_with_settings_key"
  433. android:keyWidth="10%p"
  434. android:rowEdgeFlags="bottom"
  435. >
  436. <Key
  437. android:codes="@integer/key_symbol"
  438. android:keyLabel="@string/label_symbol_key"
  439. android:keyWidth="15%p"
  440. android:isModifier="true"
  441. android:keyEdgeFlags="left" />
  442. <Key
  443. android:codes="@integer/key_settings"
  444. android:keyIcon="@drawable/sym_keyboard_settings"
  445. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  446. android:isModifier="true" />
  447. <Key
  448. android:codes="@integer/key_f1"
  449. android:isModifier="true" />
  450. <Key
  451. android:codes="@integer/key_space"
  452. android:keyIcon="@drawable/sym_keyboard_space"
  453. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  454. android:keyWidth="30%p"
  455. android:isModifier="true" />
  456. <Key
  457. android:keyLabel="."
  458. android:keyIcon="@drawable/hint_popup"
  459. android:popupKeyboard="@xml/popup_punctuation"
  460. android:isModifier="true" />
  461. <Key
  462. android:keyLabel=":-)"
  463. android:keyOutputText=":-) "
  464. android:keyIcon="@drawable/hint_popup"
  465. android:popupKeyboard="@xml/popup_smileys"
  466. android:keyWidth="25%p"
  467. android:isModifier="true"
  468. android:keyEdgeFlags="right" />
  469. </Row>
  470. <Row
  471. android:keyboardMode="@+id/mode_webentry_with_settings_key"
  472. android:keyWidth="10%p"
  473. android:rowEdgeFlags="bottom"
  474. >
  475. <Key
  476. android:codes="@integer/key_symbol"
  477. android:keyLabel="@string/label_symbol_key"
  478. android:keyWidth="15%p"
  479. android:isModifier="true"
  480. android:keyEdgeFlags="left" />
  481. <Key
  482. android:codes="@integer/key_settings"
  483. android:keyIcon="@drawable/sym_keyboard_settings"
  484. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  485. android:isModifier="true" />
  486. <Key
  487. android:codes="@integer/key_f1"
  488. android:isModifier="true" />
  489. <Key
  490. android:codes="@integer/key_space"
  491. android:keyIcon="@drawable/sym_keyboard_space"
  492. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  493. android:keyWidth="30%p"
  494. android:isModifier="true" />
  495. <Key
  496. android:codes="@integer/key_tab"
  497. android:keyIcon="@drawable/sym_keyboard_tab"
  498. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  499. android:isModifier="true" />
  500. <Key
  501. android:keyLabel="."
  502. android:keyIcon="@drawable/hint_popup"
  503. android:popupKeyboard="@xml/popup_punctuation"
  504. android:isModifier="true" />
  505. <Key
  506. android:codes="@integer/key_return"
  507. android:keyIcon="@drawable/sym_keyboard_return"
  508. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  509. android:keyWidth="15%p"
  510. android:isModifier="true"
  511. android:keyEdgeFlags="right" />
  512. </Row>
  513. </Keyboard>