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

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