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

http://eyes-free.googlecode.com/ · XML · 537 lines · 510 code · 2 blank · 25 comment · 0 complexity · 47f0bbd832957818b5b775e63d4f6bf1 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. <!--
  21. Swedish Keyboard Layout
  22. Key positioning: Svensk standard SS 66 22 41
  23. Foreign letters: Svenska skrivregler (2:a uppl.) §302
  24. Local additions: ß
  25. -->
  26. <Keyboard
  27. xmlns:android="http://schemas.android.com/apk/res/android"
  28. android:keyWidth="9.09%p"
  29. android:horizontalGap="0px"
  30. android:verticalGap="@dimen/key_bottom_gap"
  31. android:keyHeight="@dimen/key_height"
  32. >
  33. <Row
  34. android:rowEdgeFlags="top"
  35. >
  36. <Key
  37. android:keyLabel="q"
  38. android:popupKeyboard="@xml/kbd_popup_template"
  39. android:popupCharacters="@string/alternates_for_q"
  40. android:keyWidth="8.75%p"
  41. android:keyEdgeFlags="left" />
  42. <Key
  43. android:keyLabel="w"
  44. android:popupKeyboard="@xml/kbd_popup_template"
  45. android:popupCharacters="@string/alternates_for_w" />
  46. <Key
  47. android:keyLabel="e"
  48. android:popupKeyboard="@xml/kbd_popup_template"
  49. android:popupCharacters="@string/alternates_for_e" />
  50. <Key
  51. android:keyLabel="r"
  52. android:popupKeyboard="@xml/kbd_popup_template"
  53. android:popupCharacters="@string/alternates_for_r" />
  54. <Key
  55. android:keyLabel="t"
  56. android:popupKeyboard="@xml/kbd_popup_template"
  57. android:popupCharacters="@string/alternates_for_t" />
  58. <Key
  59. android:keyLabel="y"
  60. android:popupKeyboard="@xml/kbd_popup_template"
  61. android:popupCharacters="@string/alternates_for_y" />
  62. <Key
  63. android:keyLabel="u"
  64. android:popupKeyboard="@xml/kbd_popup_template"
  65. android:popupCharacters="@string/alternates_for_u" />
  66. <Key
  67. android:keyLabel="i"
  68. android:popupKeyboard="@xml/kbd_popup_template"
  69. android:popupCharacters="@string/alternates_for_i" />
  70. <Key
  71. android:keyLabel="o"
  72. android:popupKeyboard="@xml/kbd_popup_template"
  73. android:popupCharacters="@string/alternates_for_o" />
  74. <Key
  75. android:keyLabel="p"
  76. android:popupKeyboard="@xml/kbd_popup_template"
  77. android:popupCharacters="@string/alternates_for_p" />
  78. <Key
  79. android:keyLabel="å"
  80. android:keyWidth="8.75%p"
  81. android:keyEdgeFlags="right" />
  82. </Row>
  83. <Row>
  84. <Key
  85. android:keyLabel="a"
  86. android:popupKeyboard="@xml/kbd_popup_template"
  87. android:popupCharacters="@string/alternates_for_a"
  88. android:keyWidth="8.75%p"
  89. android:keyEdgeFlags="left" />
  90. <Key
  91. android:keyLabel="s"
  92. android:popupKeyboard="@xml/kbd_popup_template"
  93. android:popupCharacters="@string/alternates_for_s" />
  94. <Key
  95. android:keyLabel="d"
  96. android:popupKeyboard="@xml/kbd_popup_template"
  97. android:popupCharacters="@string/alternates_for_d" />
  98. <Key
  99. android:keyLabel="f" />
  100. <Key
  101. android:keyLabel="g"
  102. android:popupKeyboard="@xml/kbd_popup_template"
  103. android:popupCharacters="@string/alternates_for_g" />
  104. <Key
  105. android:keyLabel="h" />
  106. <Key
  107. android:keyLabel="j" />
  108. <Key
  109. android:keyLabel="k" />
  110. <Key
  111. android:keyLabel="l"
  112. android:popupKeyboard="@xml/kbd_popup_template"
  113. android:popupCharacters="@string/alternates_for_l" />
  114. <Key
  115. android:keyLabel="ö"
  116. android:popupKeyboard="@xml/kbd_popup_template"
  117. android:popupCharacters="@string/alternates_for_o_umlaut" />
  118. <Key
  119. android:keyLabel="ä"
  120. android:popupKeyboard="@xml/kbd_popup_template"
  121. android:popupCharacters="@string/alternates_for_a_umlaut"
  122. android:keyWidth="8.75%p"
  123. android:keyEdgeFlags="right" />
  124. </Row>
  125. <Row
  126. android:keyWidth="10%p"
  127. >
  128. <Key
  129. android:codes="@integer/key_shift"
  130. android:keyIcon="@drawable/sym_keyboard_shift"
  131. android:iconPreview="@drawable/sym_keyboard_feedback_shift"
  132. android:keyWidth="15%p"
  133. android:isModifier="true"
  134. android:isSticky="true"
  135. android:keyEdgeFlags="left" />
  136. <Key
  137. android:keyLabel="z"
  138. android:popupKeyboard="@xml/kbd_popup_template"
  139. android:popupCharacters="@string/alternates_for_z" />
  140. <Key
  141. android:keyLabel="x" />
  142. <Key
  143. android:keyLabel="c"
  144. android:popupKeyboard="@xml/kbd_popup_template"
  145. android:popupCharacters="@string/alternates_for_c" />
  146. <Key
  147. android:keyLabel="v"
  148. android:popupKeyboard="@xml/kbd_popup_template"
  149. android:popupCharacters="@string/alternates_for_v" />
  150. <Key
  151. android:keyLabel="b" />
  152. <Key
  153. android:keyLabel="n"
  154. android:popupKeyboard="@xml/kbd_popup_template"
  155. android:popupCharacters="@string/alternates_for_n" />
  156. <Key
  157. android:keyLabel="m" />
  158. <Key
  159. android:codes="@integer/key_delete"
  160. android:keyIcon="@drawable/sym_keyboard_delete"
  161. android:iconPreview="@drawable/sym_keyboard_feedback_delete"
  162. android:keyWidth="15%p"
  163. android:isRepeatable="true"
  164. android:keyEdgeFlags="right" />
  165. </Row>
  166. <Row
  167. android:keyboardMode="@+id/mode_normal"
  168. android:keyWidth="10%p"
  169. android:rowEdgeFlags="bottom"
  170. >
  171. <Key
  172. android:codes="@integer/key_symbol"
  173. android:keyLabel="@string/label_symbol_key"
  174. android:keyWidth="20%p"
  175. android:isModifier="true"
  176. android:keyEdgeFlags="left" />
  177. <Key
  178. android:codes="@integer/key_f1"
  179. android:isModifier="true" />
  180. <Key
  181. android:codes="@integer/key_space"
  182. android:keyIcon="@drawable/sym_keyboard_space"
  183. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  184. android:keyWidth="40%p"
  185. android:isModifier="true" />
  186. <Key
  187. android:keyLabel="."
  188. android:keyIcon="@drawable/hint_popup"
  189. android:popupKeyboard="@xml/popup_punctuation"
  190. android:isModifier="true" />
  191. <Key
  192. android:codes="@integer/key_return"
  193. android:keyIcon="@drawable/sym_keyboard_return"
  194. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  195. android:keyWidth="20%p"
  196. android:isModifier="true"
  197. android:keyEdgeFlags="right" />
  198. </Row>
  199. <Row
  200. android:keyboardMode="@+id/mode_url"
  201. android:keyWidth="10%p"
  202. android:rowEdgeFlags="bottom"
  203. >
  204. <Key
  205. android:codes="@integer/key_symbol"
  206. android:keyLabel="@string/label_symbol_key"
  207. android:keyWidth="20%p"
  208. android:isModifier="true"
  209. android:keyEdgeFlags="left" />
  210. <Key
  211. android:codes="@integer/key_f1"
  212. android:isModifier="true" />
  213. <Key
  214. android:codes="@integer/key_space"
  215. android:keyIcon="@drawable/sym_keyboard_space"
  216. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  217. android:keyWidth="40%p"
  218. android:isModifier="true" />
  219. <Key
  220. android:keyLabel="."
  221. android:keyIcon="@drawable/hint_popup"
  222. android:popupKeyboard="@xml/popup_punctuation"
  223. android:isModifier="true" />
  224. <Key
  225. android:codes="@integer/key_return"
  226. android:keyIcon="@drawable/sym_keyboard_return"
  227. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  228. android:keyWidth="20%p"
  229. android:isModifier="true"
  230. android:keyEdgeFlags="right" />
  231. </Row>
  232. <Row
  233. android:keyboardMode="@+id/mode_email"
  234. android:keyWidth="10%p"
  235. android:rowEdgeFlags="bottom"
  236. >
  237. <Key
  238. android:codes="@integer/key_symbol"
  239. android:keyLabel="@string/label_symbol_key"
  240. android:keyWidth="20%p"
  241. android:isModifier="true"
  242. android:keyEdgeFlags="left" />
  243. <Key
  244. android:codes="@integer/key_f1"
  245. android:isModifier="true" />
  246. <Key
  247. android:codes="@integer/key_space"
  248. android:keyIcon="@drawable/sym_keyboard_space"
  249. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  250. android:keyWidth="40%p"
  251. android:isModifier="true" />
  252. <Key
  253. android:keyLabel="."
  254. android:keyIcon="@drawable/hint_popup"
  255. android:popupKeyboard="@xml/popup_punctuation"
  256. android:isModifier="true" />
  257. <Key
  258. android:codes="@integer/key_return"
  259. android:keyIcon="@drawable/sym_keyboard_return"
  260. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  261. android:keyWidth="20%p"
  262. android:isModifier="true"
  263. android:keyEdgeFlags="right" />
  264. </Row>
  265. <Row
  266. android:keyboardMode="@+id/mode_im"
  267. android:keyWidth="10%p"
  268. android:rowEdgeFlags="bottom"
  269. >
  270. <Key
  271. android:codes="@integer/key_symbol"
  272. android:keyLabel="@string/label_symbol_key"
  273. android:keyWidth="20%p"
  274. android:isModifier="true"
  275. android:keyEdgeFlags="left" />
  276. <Key
  277. android:codes="@integer/key_f1"
  278. android:isModifier="true" />
  279. <Key
  280. android:codes="@integer/key_space"
  281. android:keyIcon="@drawable/sym_keyboard_space"
  282. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  283. android:keyWidth="40%p"
  284. android:isModifier="true" />
  285. <Key
  286. android:keyLabel="."
  287. android:keyIcon="@drawable/hint_popup"
  288. android:popupKeyboard="@xml/popup_punctuation"
  289. android:isModifier="true" />
  290. <Key
  291. android:keyLabel=":-)"
  292. android:keyOutputText=":-) "
  293. android:keyIcon="@drawable/hint_popup"
  294. android:popupKeyboard="@xml/popup_smileys"
  295. android:keyWidth="20%p"
  296. android:isModifier="true"
  297. android:keyEdgeFlags="right" />
  298. </Row>
  299. <Row
  300. android:keyboardMode="@+id/mode_webentry"
  301. android:keyWidth="10%p"
  302. android:rowEdgeFlags="bottom"
  303. >
  304. <Key
  305. android:codes="@integer/key_symbol"
  306. android:keyLabel="@string/label_symbol_key"
  307. android:keyWidth="20%p"
  308. android:isModifier="true"
  309. android:keyEdgeFlags="left" />
  310. <Key
  311. android:codes="@integer/key_f1"
  312. android:isModifier="true" />
  313. <Key
  314. android:codes="@integer/key_space"
  315. android:keyIcon="@drawable/sym_keyboard_space"
  316. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  317. android:keyWidth="20%p"
  318. android:isModifier="true" />
  319. <Key
  320. android:codes="@integer/key_tab"
  321. android:keyIcon="@drawable/sym_keyboard_tab"
  322. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  323. android:keyWidth="20%p"
  324. android:isModifier="true" />
  325. <Key
  326. android:keyLabel="."
  327. android:keyIcon="@drawable/hint_popup"
  328. android:popupKeyboard="@xml/popup_punctuation"
  329. android:isModifier="true" />
  330. <Key
  331. android:codes="@integer/key_return"
  332. android:keyIcon="@drawable/sym_keyboard_return"
  333. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  334. android:keyWidth="20%p"
  335. android:isModifier="true"
  336. android:keyEdgeFlags="right" />
  337. </Row>
  338. <Row
  339. android:keyboardMode="@+id/mode_normal_with_settings_key"
  340. android:keyWidth="10%p"
  341. android:rowEdgeFlags="bottom"
  342. >
  343. <Key
  344. android:codes="@integer/key_symbol"
  345. android:keyLabel="@string/label_symbol_key"
  346. android:keyWidth="15%p"
  347. android:isModifier="true"
  348. android:keyEdgeFlags="left" />
  349. <Key
  350. android:codes="@integer/key_settings"
  351. android:keyIcon="@drawable/sym_keyboard_settings"
  352. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  353. android:isModifier="true" />
  354. <Key
  355. android:codes="@integer/key_f1"
  356. android:isModifier="true" />
  357. <Key
  358. android:codes="@integer/key_space"
  359. android:keyIcon="@drawable/sym_keyboard_space"
  360. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  361. android:keyWidth="30%p"
  362. android:isModifier="true" />
  363. <Key
  364. android:keyLabel="."
  365. android:keyIcon="@drawable/hint_popup"
  366. android:popupKeyboard="@xml/popup_punctuation"
  367. android:isModifier="true" />
  368. <Key
  369. android:codes="@integer/key_return"
  370. android:keyIcon="@drawable/sym_keyboard_return"
  371. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  372. android:keyWidth="25%p"
  373. android:isModifier="true"
  374. android:keyEdgeFlags="right" />
  375. </Row>
  376. <Row
  377. android:keyboardMode="@+id/mode_url_with_settings_key"
  378. android:keyWidth="10%p"
  379. android:rowEdgeFlags="bottom"
  380. >
  381. <Key
  382. android:codes="@integer/key_symbol"
  383. android:keyLabel="@string/label_symbol_key"
  384. android:keyWidth="15%p"
  385. android:isModifier="true"
  386. android:keyEdgeFlags="left" />
  387. <Key
  388. android:codes="@integer/key_settings"
  389. android:keyIcon="@drawable/sym_keyboard_settings"
  390. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  391. android:isModifier="true" />
  392. <Key
  393. android:codes="@integer/key_f1"
  394. android:isModifier="true" />
  395. <Key
  396. android:codes="@integer/key_space"
  397. android:keyIcon="@drawable/sym_keyboard_space"
  398. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  399. android:keyWidth="30%p"
  400. android:isModifier="true" />
  401. <Key
  402. android:keyLabel="."
  403. android:keyIcon="@drawable/hint_popup"
  404. android:popupKeyboard="@xml/popup_punctuation"
  405. android:isModifier="true" />
  406. <Key
  407. android:codes="@integer/key_return"
  408. android:keyIcon="@drawable/sym_keyboard_return"
  409. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  410. android:keyWidth="25%p"
  411. android:isModifier="true"
  412. android:keyEdgeFlags="right" />
  413. </Row>
  414. <Row
  415. android:keyboardMode="@+id/mode_email_with_settings_key"
  416. android:keyWidth="10%p"
  417. android:rowEdgeFlags="bottom"
  418. >
  419. <Key
  420. android:codes="@integer/key_symbol"
  421. android:keyLabel="@string/label_symbol_key"
  422. android:keyWidth="15%p"
  423. android:isModifier="true"
  424. android:keyEdgeFlags="left" />
  425. <Key
  426. android:codes="@integer/key_settings"
  427. android:keyIcon="@drawable/sym_keyboard_settings"
  428. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  429. android:isModifier="true" />
  430. <Key
  431. android:codes="@integer/key_f1"
  432. android:isModifier="true" />
  433. <Key
  434. android:codes="@integer/key_space"
  435. android:keyIcon="@drawable/sym_keyboard_space"
  436. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  437. android:keyWidth="30%p"
  438. android:isModifier="true" />
  439. <Key
  440. android:keyLabel="."
  441. android:keyIcon="@drawable/hint_popup"
  442. android:popupKeyboard="@xml/popup_punctuation"
  443. android:isModifier="true" />
  444. <Key
  445. android:codes="@integer/key_return"
  446. android:keyIcon="@drawable/sym_keyboard_return"
  447. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  448. android:keyWidth="25%p"
  449. android:isModifier="true"
  450. android:keyEdgeFlags="right" />
  451. </Row>
  452. <Row
  453. android:keyboardMode="@+id/mode_im_with_settings_key"
  454. android:keyWidth="10%p"
  455. android:rowEdgeFlags="bottom"
  456. >
  457. <Key
  458. android:codes="@integer/key_symbol"
  459. android:keyLabel="@string/label_symbol_key"
  460. android:keyWidth="15%p"
  461. android:isModifier="true"
  462. android:keyEdgeFlags="left" />
  463. <Key
  464. android:codes="@integer/key_settings"
  465. android:keyIcon="@drawable/sym_keyboard_settings"
  466. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  467. android:isModifier="true" />
  468. <Key
  469. android:codes="@integer/key_f1"
  470. android:isModifier="true" />
  471. <Key
  472. android:codes="@integer/key_space"
  473. android:keyIcon="@drawable/sym_keyboard_space"
  474. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  475. android:keyWidth="30%p"
  476. android:isModifier="true" />
  477. <Key
  478. android:keyLabel="."
  479. android:keyIcon="@drawable/hint_popup"
  480. android:popupKeyboard="@xml/popup_punctuation"
  481. android:isModifier="true" />
  482. <Key
  483. android:keyLabel=":-)"
  484. android:keyOutputText=":-) "
  485. android:keyIcon="@drawable/hint_popup"
  486. android:popupKeyboard="@xml/popup_smileys"
  487. android:keyWidth="25%p"
  488. android:isModifier="true"
  489. android:keyEdgeFlags="right" />
  490. </Row>
  491. <Row
  492. android:keyboardMode="@+id/mode_webentry_with_settings_key"
  493. android:keyWidth="10%p"
  494. android:rowEdgeFlags="bottom"
  495. >
  496. <Key
  497. android:codes="@integer/key_symbol"
  498. android:keyLabel="@string/label_symbol_key"
  499. android:keyWidth="15%p"
  500. android:isModifier="true"
  501. android:keyEdgeFlags="left" />
  502. <Key
  503. android:codes="@integer/key_settings"
  504. android:keyIcon="@drawable/sym_keyboard_settings"
  505. android:iconPreview="@drawable/sym_keyboard_feedback_settings"
  506. android:isModifier="true" />
  507. <Key
  508. android:codes="@integer/key_f1"
  509. android:isModifier="true" />
  510. <Key
  511. android:codes="@integer/key_space"
  512. android:keyIcon="@drawable/sym_keyboard_space"
  513. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  514. android:keyWidth="30%p"
  515. android:isModifier="true" />
  516. <Key
  517. android:codes="@integer/key_tab"
  518. android:keyIcon="@drawable/sym_keyboard_tab"
  519. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  520. android:isModifier="true" />
  521. <Key
  522. android:keyLabel="."
  523. android:keyIcon="@drawable/hint_popup"
  524. android:popupKeyboard="@xml/popup_punctuation"
  525. android:isModifier="true" />
  526. <Key
  527. android:codes="@integer/key_return"
  528. android:keyIcon="@drawable/sym_keyboard_return"
  529. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  530. android:keyWidth="15%p"
  531. android:isModifier="true"
  532. android:keyEdgeFlags="right" />
  533. </Row>
  534. </Keyboard>