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

http://eyes-free.googlecode.com/ · XML · 480 lines · 453 code · 2 blank · 25 comment · 0 complexity · b4bc6584db202b4def852563677b57e9 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. <!--
  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_bkeyboard_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_bkeyboard_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:keyEdgeFlags="left" />
  176. <Key
  177. android:codes="@integer/key_f1" />
  178. <Key
  179. android:codes="@integer/key_space"
  180. android:keyIcon="@drawable/sym_bkeyboard_space"
  181. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  182. android:keyWidth="40%p" />
  183. <Key
  184. android:keyLabel="."
  185. android:keyIcon="@drawable/hint_popup"
  186. android:popupKeyboard="@xml/popup_punctuation" />
  187. <Key
  188. android:codes="@integer/key_return"
  189. android:keyIcon="@drawable/sym_bkeyboard_return"
  190. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  191. android:keyWidth="20%p"
  192. android:keyEdgeFlags="right" />
  193. </Row>
  194. <Row
  195. android:keyboardMode="@+id/mode_url"
  196. android:keyWidth="10%p"
  197. android:rowEdgeFlags="bottom"
  198. >
  199. <Key
  200. android:codes="@integer/key_symbol"
  201. android:keyLabel="@string/label_symbol_key"
  202. android:keyWidth="20%p"
  203. android:keyEdgeFlags="left" />
  204. <Key
  205. android:codes="@integer/key_f1" />
  206. <Key
  207. android:codes="@integer/key_space"
  208. android:keyIcon="@drawable/sym_bkeyboard_space"
  209. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  210. android:keyWidth="40%p" />
  211. <Key
  212. android:keyLabel="."
  213. android:keyIcon="@drawable/hint_popup"
  214. android:popupKeyboard="@xml/popup_punctuation" />
  215. <Key
  216. android:codes="@integer/key_return"
  217. android:keyIcon="@drawable/sym_bkeyboard_return"
  218. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  219. android:keyWidth="20%p"
  220. android:keyEdgeFlags="right" />
  221. </Row>
  222. <Row
  223. android:keyboardMode="@+id/mode_email"
  224. android:keyWidth="10%p"
  225. android:rowEdgeFlags="bottom"
  226. >
  227. <Key
  228. android:codes="@integer/key_symbol"
  229. android:keyLabel="@string/label_symbol_key"
  230. android:keyWidth="20%p"
  231. android:keyEdgeFlags="left" />
  232. <Key
  233. android:codes="@integer/key_f1" />
  234. <Key
  235. android:codes="@integer/key_space"
  236. android:keyIcon="@drawable/sym_bkeyboard_space"
  237. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  238. android:keyWidth="40%p" />
  239. <Key
  240. android:keyLabel="."
  241. android:keyIcon="@drawable/hint_popup"
  242. android:popupKeyboard="@xml/popup_punctuation" />
  243. <Key
  244. android:codes="@integer/key_return"
  245. android:keyIcon="@drawable/sym_bkeyboard_return"
  246. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  247. android:keyWidth="20%p"
  248. android:keyEdgeFlags="right" />
  249. </Row>
  250. <Row
  251. android:keyboardMode="@+id/mode_im"
  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="40%p" />
  267. <Key
  268. android:keyLabel="."
  269. android:keyIcon="@drawable/hint_popup"
  270. android:popupKeyboard="@xml/popup_punctuation" />
  271. <Key
  272. android:keyLabel=":-)"
  273. android:keyOutputText=":-) "
  274. android:keyIcon="@drawable/hint_popup"
  275. android:popupKeyboard="@xml/popup_smileys"
  276. android:keyWidth="20%p"
  277. android:keyEdgeFlags="right" />
  278. </Row>
  279. <Row
  280. android:keyboardMode="@+id/mode_webentry"
  281. android:keyWidth="10%p"
  282. android:rowEdgeFlags="bottom"
  283. >
  284. <Key
  285. android:codes="@integer/key_symbol"
  286. android:keyLabel="@string/label_symbol_key"
  287. android:keyWidth="20%p"
  288. android:keyEdgeFlags="left" />
  289. <Key
  290. android:codes="@integer/key_f1" />
  291. <Key
  292. android:codes="@integer/key_space"
  293. android:keyIcon="@drawable/sym_bkeyboard_space"
  294. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  295. android:keyWidth="20%p" />
  296. <Key
  297. android:codes="@integer/key_tab"
  298. android:keyIcon="@drawable/sym_bkeyboard_tab"
  299. android:iconPreview="@drawable/sym_keyboard_feedback_tab"
  300. android:keyWidth="20%p" />
  301. <Key
  302. android:keyLabel="."
  303. android:keyIcon="@drawable/hint_popup"
  304. android:popupKeyboard="@xml/popup_punctuation" />
  305. <Key
  306. android:codes="@integer/key_return"
  307. android:keyIcon="@drawable/sym_bkeyboard_return"
  308. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  309. android:keyWidth="20%p"
  310. android:keyEdgeFlags="right" />
  311. </Row>
  312. <Row
  313. android:keyboardMode="@+id/mode_normal_with_settings_key"
  314. android:keyWidth="10%p"
  315. android:rowEdgeFlags="bottom"
  316. >
  317. <Key
  318. android:codes="@integer/key_symbol"
  319. android:keyLabel="@string/label_symbol_key"
  320. android:keyWidth="15%p"
  321. android:keyEdgeFlags="left" />
  322. <Key
  323. android:codes="@integer/key_settings"
  324. android:keyIcon="@drawable/sym_bkeyboard_settings"
  325. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  326. <Key
  327. android:codes="@integer/key_f1" />
  328. <Key
  329. android:codes="@integer/key_space"
  330. android:keyIcon="@drawable/sym_bkeyboard_space"
  331. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  332. android:keyWidth="30%p" />
  333. <Key
  334. android:keyLabel="."
  335. android:keyIcon="@drawable/hint_popup"
  336. android:popupKeyboard="@xml/popup_punctuation" />
  337. <Key
  338. android:codes="@integer/key_return"
  339. android:keyIcon="@drawable/sym_bkeyboard_return"
  340. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  341. android:keyWidth="25%p"
  342. android:keyEdgeFlags="right" />
  343. </Row>
  344. <Row
  345. android:keyboardMode="@+id/mode_url_with_settings_key"
  346. android:keyWidth="10%p"
  347. android:rowEdgeFlags="bottom"
  348. >
  349. <Key
  350. android:codes="@integer/key_symbol"
  351. android:keyLabel="@string/label_symbol_key"
  352. android:keyWidth="15%p"
  353. android:keyEdgeFlags="left" />
  354. <Key
  355. android:codes="@integer/key_settings"
  356. android:keyIcon="@drawable/sym_bkeyboard_settings"
  357. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  358. <Key
  359. android:codes="@integer/key_f1" />
  360. <Key
  361. android:codes="@integer/key_space"
  362. android:keyIcon="@drawable/sym_bkeyboard_space"
  363. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  364. android:keyWidth="30%p" />
  365. <Key
  366. android:keyLabel="."
  367. android:keyIcon="@drawable/hint_popup"
  368. android:popupKeyboard="@xml/popup_punctuation" />
  369. <Key
  370. android:codes="@integer/key_return"
  371. android:keyIcon="@drawable/sym_bkeyboard_return"
  372. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  373. android:keyWidth="25%p"
  374. android:keyEdgeFlags="right" />
  375. </Row>
  376. <Row
  377. android:keyboardMode="@+id/mode_email_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:keyEdgeFlags="left" />
  386. <Key
  387. android:codes="@integer/key_settings"
  388. android:keyIcon="@drawable/sym_bkeyboard_settings"
  389. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  390. <Key
  391. android:codes="@integer/key_f1" />
  392. <Key
  393. android:codes="@integer/key_space"
  394. android:keyIcon="@drawable/sym_bkeyboard_space"
  395. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  396. android:keyWidth="30%p" />
  397. <Key
  398. android:keyLabel="."
  399. android:keyIcon="@drawable/hint_popup"
  400. android:popupKeyboard="@xml/popup_punctuation" />
  401. <Key
  402. android:codes="@integer/key_return"
  403. android:keyIcon="@drawable/sym_bkeyboard_return"
  404. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  405. android:keyWidth="25%p"
  406. android:keyEdgeFlags="right" />
  407. </Row>
  408. <Row
  409. android:keyboardMode="@+id/mode_im_with_settings_key"
  410. android:keyWidth="10%p"
  411. android:rowEdgeFlags="bottom"
  412. >
  413. <Key
  414. android:codes="@integer/key_symbol"
  415. android:keyLabel="@string/label_symbol_key"
  416. android:keyWidth="15%p"
  417. android:keyEdgeFlags="left" />
  418. <Key
  419. android:codes="@integer/key_settings"
  420. android:keyIcon="@drawable/sym_bkeyboard_settings"
  421. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  422. <Key
  423. android:codes="@integer/key_f1" />
  424. <Key
  425. android:codes="@integer/key_space"
  426. android:keyIcon="@drawable/sym_bkeyboard_space"
  427. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  428. android:keyWidth="30%p" />
  429. <Key
  430. android:keyLabel="."
  431. android:keyIcon="@drawable/hint_popup"
  432. android:popupKeyboard="@xml/popup_punctuation" />
  433. <Key
  434. android:keyLabel=":-)"
  435. android:keyOutputText=":-) "
  436. android:keyIcon="@drawable/hint_popup"
  437. android:popupKeyboard="@xml/popup_smileys"
  438. android:keyWidth="25%p"
  439. android:keyEdgeFlags="right" />
  440. </Row>
  441. <Row
  442. android:keyboardMode="@+id/mode_webentry_with_settings_key"
  443. android:keyWidth="10%p"
  444. android:rowEdgeFlags="bottom"
  445. >
  446. <Key
  447. android:codes="@integer/key_symbol"
  448. android:keyLabel="@string/label_symbol_key"
  449. android:keyWidth="15%p"
  450. android:keyEdgeFlags="left" />
  451. <Key
  452. android:codes="@integer/key_settings"
  453. android:keyIcon="@drawable/sym_bkeyboard_settings"
  454. android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
  455. <Key
  456. android:codes="@integer/key_f1" />
  457. <Key
  458. android:codes="@integer/key_space"
  459. android:keyIcon="@drawable/sym_bkeyboard_space"
  460. android:iconPreview="@drawable/sym_keyboard_feedback_space"
  461. android:keyWidth="30%p" />
  462. <Key
  463. android:codes="@integer/key_tab"
  464. android:keyIcon="@drawable/sym_bkeyboard_tab"
  465. android:iconPreview="@drawable/sym_keyboard_feedback_tab" />
  466. <Key
  467. android:keyLabel="."
  468. android:keyIcon="@drawable/hint_popup"
  469. android:popupKeyboard="@xml/popup_punctuation" />
  470. <Key
  471. android:codes="@integer/key_return"
  472. android:keyIcon="@drawable/sym_bkeyboard_return"
  473. android:iconPreview="@drawable/sym_keyboard_feedback_return"
  474. android:keyWidth="15%p"
  475. android:keyEdgeFlags="right" />
  476. </Row>
  477. </Keyboard>