/ime/latinime/res/xml-sr/kbd_qwerty_black.xml

http://eyes-free.googlecode.com/ · XML · 449 lines · 429 code · 1 blank · 19 comment · 0 complexity · b977a66cba9de371cdd1629c7aae8943 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. <!-- Serbian keyboard layout, based on the X11 layout for Serbian -->
  21. <Keyboard
  22. xmlns:android="http://schemas.android.com/apk/res/android"
  23. android:keyWidth="9.09%p"
  24. android:horizontalGap="0px"
  25. android:verticalGap="@dimen/key_bottom_gap"
  26. android:keyHeight="@dimen/key_height"
  27. >
  28. <Row
  29. android:rowEdgeFlags="top"
  30. >
  31. <Key
  32. android:keyLabel="љ"
  33. android:popupKeyboard="@xml/kbd_popup_template"
  34. android:popupCharacters="1"
  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="5" />
  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:keyEdgeFlags="right" />
  75. </Row>
  76. <Row>
  77. <Key
  78. android:keyLabel="а"
  79. android:keyEdgeFlags="left" />
  80. <Key
  81. android:keyLabel="с" />
  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:keyEdgeFlags="right" />
  103. </Row>
  104. <Row
  105. android:keyWidth="8.5%p"
  106. >
  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="11.75%p"
  112. android:isModifier="true"
  113. android:isSticky="true"
  114. android:keyEdgeFlags="left" />
  115. <Key
  116. android:keyLabel="ж" />
  117. <Key
  118. android:keyLabel="џ" />
  119. <Key
  120. android:keyLabel="ц" />
  121. <Key
  122. android:keyLabel="в" />
  123. <Key
  124. android:keyLabel="б" />
  125. <Key
  126. android:keyLabel="н" />
  127. <Key
  128. android:keyLabel="м" />
  129. <Key
  130. android:codes="@integer/key_delete"
  131. android:keyIcon="@drawable/sym_bkeyboard_delete"
  132. android:iconPreview="@drawable/sym_keyboard_feedback_delete"
  133. android:keyWidth="11.75%p"
  134. android:isRepeatable="true"
  135. android:keyEdgeFlags="right" />
  136. </Row>
  137. <Row
  138. android:keyboardMode="@+id/mode_normal"
  139. android:keyWidth="10%p"
  140. android:rowEdgeFlags="bottom"
  141. >
  142. <Key
  143. android:codes="@integer/key_symbol"
  144. android:keyLabel="@string/label_symbol_key"
  145. android:keyWidth="20%p"
  146. android:keyEdgeFlags="left" />
  147. <Key
  148. android:codes="@integer/key_f1" />
  149. <Key
  150. android:codes="@integer/key_space"
  151. android:keyIcon="@drawable/sym_bkeyboard_space"
  152. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  153. android:keyWidth="40%p" />
  154. <Key
  155. android:keyLabel="."
  156. android:keyIcon="@drawable/hint_popup"
  157. android:popupKeyboard="@xml/popup_punctuation" />
  158. <Key
  159. android:codes="@integer/key_return"
  160. android:keyIcon="@drawable/sym_bkeyboard_return"
  161. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  162. android:keyWidth="20%p"
  163. android:keyEdgeFlags="right" />
  164. </Row>
  165. <Row
  166. android:keyboardMode="@+id/mode_url"
  167. android:keyWidth="10%p"
  168. android:rowEdgeFlags="bottom"
  169. >
  170. <Key
  171. android:codes="@integer/key_symbol"
  172. android:keyLabel="@string/label_symbol_key"
  173. android:keyWidth="20%p"
  174. android:keyEdgeFlags="left" />
  175. <Key
  176. android:codes="@integer/key_f1" />
  177. <Key
  178. android:codes="@integer/key_space"
  179. android:keyIcon="@drawable/sym_bkeyboard_space"
  180. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  181. android:keyWidth="40%p" />
  182. <Key
  183. android:keyLabel="."
  184. android:keyIcon="@drawable/hint_popup"
  185. android:popupKeyboard="@xml/popup_punctuation" />
  186. <Key
  187. android:codes="@integer/key_return"
  188. android:keyIcon="@drawable/sym_bkeyboard_return"
  189. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  190. android:keyWidth="20%p"
  191. android:keyEdgeFlags="right" />
  192. </Row>
  193. <Row
  194. android:keyboardMode="@+id/mode_email"
  195. android:keyWidth="10%p"
  196. android:rowEdgeFlags="bottom"
  197. >
  198. <Key
  199. android:codes="@integer/key_symbol"
  200. android:keyLabel="@string/label_symbol_key"
  201. android:keyWidth="20%p"
  202. android:keyEdgeFlags="left" />
  203. <Key
  204. android:codes="@integer/key_f1" />
  205. <Key
  206. android:codes="@integer/key_space"
  207. android:keyIcon="@drawable/sym_bkeyboard_space"
  208. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  209. android:keyWidth="40%p" />
  210. <Key
  211. android:keyLabel="."
  212. android:keyIcon="@drawable/hint_popup"
  213. android:popupKeyboard="@xml/popup_punctuation" />
  214. <Key
  215. android:codes="@integer/key_return"
  216. android:keyIcon="@drawable/sym_bkeyboard_return"
  217. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  218. android:keyWidth="20%p"
  219. android:keyEdgeFlags="right" />
  220. </Row>
  221. <Row
  222. android:keyboardMode="@+id/mode_im"
  223. android:keyWidth="10%p"
  224. android:rowEdgeFlags="bottom"
  225. >
  226. <Key
  227. android:codes="@integer/key_symbol"
  228. android:keyLabel="@string/label_symbol_key"
  229. android:keyWidth="20%p"
  230. android:keyEdgeFlags="left" />
  231. <Key
  232. android:codes="@integer/key_f1" />
  233. <Key
  234. android:codes="@integer/key_space"
  235. android:keyIcon="@drawable/sym_bkeyboard_space"
  236. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  237. android:keyWidth="40%p" />
  238. <Key
  239. android:keyLabel="."
  240. android:keyIcon="@drawable/hint_popup"
  241. android:popupKeyboard="@xml/popup_punctuation" />
  242. <Key
  243. android:keyLabel=":-)"
  244. android:keyOutputText=":-) "
  245. android:keyIcon="@drawable/hint_popup"
  246. android:popupKeyboard="@xml/popup_smileys"
  247. android:keyWidth="20%p"
  248. android:keyEdgeFlags="right" />
  249. </Row>
  250. <Row
  251. android:keyboardMode="@+id/mode_webentry"
  252. android:keyWidth="10%p"
  253. android:rowEdgeFlags="bottom"
  254. >
  255. <Key
  256. android:codes="@integer/key_symbol"
  257. android:keyLabel="@string/label_symbol_key"
  258. android:keyWidth="20%p"
  259. android:keyEdgeFlags="left" />
  260. <Key
  261. android:codes="@integer/key_f1" />
  262. <Key
  263. android:codes="@integer/key_space"
  264. android:keyIcon="@drawable/sym_bkeyboard_space"
  265. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  266. android:keyWidth="20%p" />
  267. <Key
  268. android:codes="@integer/key_tab"
  269. android:keyIcon="@drawable/sym_bkeyboard_tab"
  270. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  271. android:keyWidth="20%p" />
  272. <Key
  273. android:keyLabel="."
  274. android:keyIcon="@drawable/hint_popup"
  275. android:popupKeyboard="@xml/popup_punctuation" />
  276. <Key
  277. android:codes="@integer/key_return"
  278. android:keyIcon="@drawable/sym_bkeyboard_return"
  279. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  280. android:keyWidth="20%p"
  281. android:keyEdgeFlags="right" />
  282. </Row>
  283. <Row
  284. android:keyboardMode="@+id/mode_normal_with_settings_key"
  285. android:keyWidth="10%p"
  286. android:rowEdgeFlags="bottom"
  287. >
  288. <Key
  289. android:codes="@integer/key_symbol"
  290. android:keyLabel="@string/label_symbol_key"
  291. android:keyWidth="15%p"
  292. android:keyEdgeFlags="left" />
  293. <Key
  294. android:codes="@integer/key_settings"
  295. android:keyIcon="@drawable/sym_bkeyboard_settings"
  296. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  297. <Key
  298. android:codes="@integer/key_f1" />
  299. <Key
  300. android:codes="@integer/key_space"
  301. android:keyIcon="@drawable/sym_bkeyboard_space"
  302. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  303. android:keyWidth="30%p" />
  304. <Key
  305. android:keyLabel="."
  306. android:keyIcon="@drawable/hint_popup"
  307. android:popupKeyboard="@xml/popup_punctuation" />
  308. <Key
  309. android:codes="@integer/key_return"
  310. android:keyIcon="@drawable/sym_bkeyboard_return"
  311. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  312. android:keyWidth="25%p"
  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:keyEdgeFlags="left" />
  325. <Key
  326. android:codes="@integer/key_settings"
  327. android:keyIcon="@drawable/sym_bkeyboard_settings"
  328. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  329. <Key
  330. android:codes="@integer/key_f1" />
  331. <Key
  332. android:codes="@integer/key_space"
  333. android:keyIcon="@drawable/sym_bkeyboard_space"
  334. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  335. android:keyWidth="30%p" />
  336. <Key
  337. android:keyLabel="."
  338. android:keyIcon="@drawable/hint_popup"
  339. android:popupKeyboard="@xml/popup_punctuation" />
  340. <Key
  341. android:codes="@integer/key_return"
  342. android:keyIcon="@drawable/sym_bkeyboard_return"
  343. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  344. android:keyWidth="25%p"
  345. android:keyEdgeFlags="right" />
  346. </Row>
  347. <Row
  348. android:keyboardMode="@+id/mode_email_with_settings_key"
  349. android:keyWidth="10%p"
  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:keyWidth="10%p"
  382. android:rowEdgeFlags="bottom"
  383. >
  384. <Key
  385. android:codes="@integer/key_symbol"
  386. android:keyLabel="@string/label_symbol_key"
  387. android:keyWidth="15%p"
  388. android:keyEdgeFlags="left" />
  389. <Key
  390. android:codes="@integer/key_settings"
  391. android:keyIcon="@drawable/sym_bkeyboard_settings"
  392. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  393. <Key
  394. android:codes="@integer/key_f1" />
  395. <Key
  396. android:codes="@integer/key_space"
  397. android:keyIcon="@drawable/sym_bkeyboard_space"
  398. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  399. android:keyWidth="30%p" />
  400. <Key
  401. android:keyLabel="."
  402. android:keyIcon="@drawable/hint_popup"
  403. android:popupKeyboard="@xml/popup_punctuation" />
  404. <Key
  405. android:keyLabel=":-)"
  406. android:keyOutputText=":-) "
  407. android:keyIcon="@drawable/hint_popup"
  408. android:popupKeyboard="@xml/popup_smileys"
  409. android:keyWidth="25%p"
  410. android:keyEdgeFlags="right" />
  411. </Row>
  412. <Row
  413. android:keyboardMode="@+id/mode_webentry_with_settings_key"
  414. android:keyWidth="10%p"
  415. android:rowEdgeFlags="bottom"
  416. >
  417. <Key
  418. android:codes="@integer/key_symbol"
  419. android:keyLabel="@string/label_symbol_key"
  420. android:keyWidth="15%p"
  421. android:keyEdgeFlags="left" />
  422. <Key
  423. android:codes="@integer/key_settings"
  424. android:keyIcon="@drawable/sym_bkeyboard_settings"
  425. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  426. <Key
  427. android:codes="@integer/key_f1" />
  428. <Key
  429. android:codes="@integer/key_space"
  430. android:keyIcon="@drawable/sym_bkeyboard_space"
  431. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  432. android:keyWidth="30%p" />
  433. <Key
  434. android:codes="@integer/key_tab"
  435. android:keyIcon="@drawable/sym_bkeyboard_tab"
  436. android:iconPreview="@drawable/sym_keyboard_feedback_tab" />
  437. <Key
  438. android:keyLabel="."
  439. android:keyIcon="@drawable/hint_popup"
  440. android:popupKeyboard="@xml/popup_punctuation" />
  441. <Key
  442. android:codes="@integer/key_return"
  443. android:keyIcon="@drawable/sym_bkeyboard_return"
  444. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  445. android:keyWidth="15%p"
  446. android:keyEdgeFlags="right" />
  447. </Row>
  448. </Keyboard>