satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 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 | <!-- |
| 22 | Danish Keyboard Layout |
| 23 | |
| 24 | Just a copy of the Norwegian layout, with æ/ø switched. |
| 25 | --> |
| 26 | |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 27 | <Keyboard |
| 28 | xmlns:android="http://schemas.android.com/apk/res/android" |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 29 | android:keyWidth="9.09%p" |
| 30 | android:horizontalGap="0px" |
| 31 | android:verticalGap="0px" |
| 32 | android:keyHeight="@dimen/key_height" |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 33 | > |
| 34 | <Row> |
| 35 | <Key |
| 36 | android:codes="113" |
| 37 | android:keyLabel="q" |
| 38 | android:keyWidth="8.75%p" |
| 39 | android:keyEdgeFlags="left" /> |
| 40 | <Key |
| 41 | android:codes="119" |
| 42 | android:keyLabel="w" /> |
| 43 | <Key |
| 44 | android:codes="101" |
| 45 | android:keyLabel="e" |
| 46 | android:popupKeyboard="@xml/kbd_popup_template" |
| 47 | android:popupCharacters="éèêëę€" /> |
| 48 | <Key |
| 49 | android:codes="114" |
| 50 | android:keyLabel="r" |
| 51 | android:popupKeyboard="@xml/kbd_popup_template" |
| 52 | android:popupCharacters="ř" /> |
| 53 | <Key |
| 54 | android:codes="116" |
| 55 | android:keyLabel="t" |
| 56 | android:popupKeyboard="@xml/kbd_popup_template" |
| 57 | android:popupCharacters="ťþ" /> |
| 58 | <Key |
| 59 | android:codes="121" |
| 60 | android:keyLabel="y" |
| 61 | android:popupKeyboard="@xml/kbd_popup_template" |
| 62 | android:popupCharacters="ýÿü" /> |
| 63 | <Key |
| 64 | android:codes="117" |
| 65 | android:keyLabel="u" |
| 66 | android:popupKeyboard="@xml/kbd_popup_template" |
| 67 | android:popupCharacters="úùûū" /> |
| 68 | <Key |
| 69 | android:codes="105" |
| 70 | android:keyLabel="i" |
| 71 | android:popupKeyboard="@xml/kbd_popup_template" |
| 72 | android:popupCharacters="íìîï" /> |
| 73 | <Key |
| 74 | android:codes="111" |
| 75 | android:keyLabel="o" |
| 76 | android:popupKeyboard="@xml/kbd_popup_template" |
| 77 | android:popupCharacters="óòôõ" /> |
| 78 | <Key |
| 79 | android:codes="112" |
| 80 | android:keyLabel="p" /> |
| 81 | <Key |
| 82 | android:keyLabel="å" |
| 83 | android:keyWidth="8.75%p" |
| 84 | android:keyEdgeFlags="right" /> |
| 85 | </Row> |
| 86 | <Row> |
| 87 | <Key |
| 88 | android:codes="97" |
| 89 | android:keyLabel="a" |
| 90 | android:popupKeyboard="@xml/kbd_popup_template" |
| 91 | android:popupCharacters="áàâąã" |
| 92 | android:keyWidth="8.75%p" |
| 93 | android:keyEdgeFlags="left" /> |
| 94 | <Key |
| 95 | android:codes="115" |
| 96 | android:keyLabel="s" |
| 97 | android:popupKeyboard="@xml/kbd_popup_template" |
| 98 | android:popupCharacters="śšşß" /> |
| 99 | <Key |
| 100 | android:codes="100" |
| 101 | android:keyLabel="d" |
| 102 | android:popupKeyboard="@xml/kbd_popup_template" |
| 103 | android:popupCharacters="ðď" /> |
| 104 | <Key |
| 105 | android:codes="102" |
| 106 | android:keyLabel="f" /> |
| 107 | <Key |
| 108 | android:codes="103" |
| 109 | android:keyLabel="g" /> |
| 110 | <Key |
| 111 | android:codes="104" |
| 112 | android:keyLabel="h" /> |
| 113 | <Key |
| 114 | android:codes="106" |
| 115 | android:keyLabel="j" /> |
| 116 | <Key |
| 117 | android:codes="107" |
| 118 | android:keyLabel="k" /> |
| 119 | <Key |
| 120 | android:codes="108" |
| 121 | android:keyLabel="l" |
| 122 | android:popupKeyboard="@xml/kbd_popup_template" |
| 123 | android:popupCharacters="ł" /> |
| 124 | <Key |
| 125 | android:keyLabel="æ" |
| 126 | android:popupKeyboard="@xml/kbd_popup_template" |
| 127 | android:popupCharacters="ä" /> |
| 128 | <Key |
| 129 | android:keyLabel="ø" |
| 130 | android:popupKeyboard="@xml/kbd_popup_template" |
| 131 | android:popupCharacters="öœ" |
| 132 | android:keyWidth="8.75%p" |
| 133 | android:keyEdgeFlags="right" /> |
| 134 | </Row> |
| 135 | <Row |
| 136 | android:keyWidth="10%p" |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 137 | > |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 138 | <Key |
| 139 | android:codes="-1" |
| 140 | android:keyIcon="@drawable/sym_keyboard_shift" |
| 141 | android:keyWidth="15%p" |
| 142 | android:isModifier="true" |
| 143 | android:iconPreview="@drawable/sym_keyboard_feedback_shift" |
| 144 | android:isSticky="true" |
| 145 | android:keyEdgeFlags="left" /> |
| 146 | <Key |
| 147 | android:codes="122" |
| 148 | android:keyLabel="z" |
| 149 | android:popupKeyboard="@xml/kbd_popup_template" |
| 150 | android:popupCharacters="źžż" /> |
| 151 | <Key |
| 152 | android:codes="120" |
| 153 | android:keyLabel="x" /> |
| 154 | <Key |
| 155 | android:codes="99" |
| 156 | android:keyLabel="c" |
| 157 | android:popupKeyboard="@xml/kbd_popup_template" |
| 158 | android:popupCharacters="çćč" /> |
| 159 | <Key |
| 160 | android:codes="118" |
| 161 | android:keyLabel="v" |
| 162 | android:popupKeyboard="@xml/kbd_popup_template" |
| 163 | android:popupCharacters="w" /> |
| 164 | <Key |
| 165 | android:codes="98" |
| 166 | android:keyLabel="b" /> |
| 167 | <Key |
| 168 | android:codes="110" |
| 169 | android:keyLabel="n" |
| 170 | android:popupKeyboard="@xml/kbd_popup_template" |
| 171 | android:popupCharacters="ńñň" /> |
| 172 | <Key |
| 173 | android:codes="109" |
| 174 | android:keyLabel="m" /> |
| 175 | <Key |
| 176 | android:codes="-5" |
| 177 | android:keyIcon="@drawable/sym_keyboard_delete" |
| 178 | android:keyWidth="15%p" |
| 179 | android:keyEdgeFlags="right" |
| 180 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
| 181 | android:isRepeatable="true" |
| 182 | android:isModifier="true" /> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 183 | </Row> |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 184 | <Row |
| 185 | android:keyboardMode="@+id/mode_normal" |
| 186 | android:rowEdgeFlags="bottom" |
| 187 | > |
| 188 | <Key |
| 189 | android:codes="-2" |
| 190 | android:keyLabel="@string/label_symbol_key" |
| 191 | android:keyWidth="15%p" |
| 192 | android:keyEdgeFlags="left" |
| 193 | android:isModifier="true" /> |
| 194 | <Key |
| 195 | android:codes="@integer/key_settings" |
| 196 | android:keyIcon="@drawable/sym_keyboard_settings" |
| 197 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 198 | android:keyWidth="10%p" |
| 199 | android:isModifier="true" /> |
| 200 | <Key |
| 201 | android:codes="@integer/key_f1" |
| 202 | android:keyIcon="@drawable/sym_keyboard_mic" |
| 203 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 204 | android:keyWidth="10%p" |
| 205 | android:isModifier="true" /> |
| 206 | <Key |
| 207 | android:codes="32" |
| 208 | android:keyIcon="@drawable/sym_keyboard_space" |
| 209 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 210 | android:keyWidth="30%p" |
| 211 | android:isRepeatable="true" |
| 212 | android:isModifier="true" /> |
| 213 | <Key |
| 214 | android:codes="46" |
| 215 | android:keyLabel="." |
| 216 | android:popupKeyboard="@xml/popup_punctuation" |
| 217 | android:keyWidth="10%p" |
| 218 | android:isModifier="true" /> |
| 219 | <Key |
| 220 | android:codes="10" |
| 221 | android:keyIcon="@drawable/sym_keyboard_return" |
| 222 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 223 | android:keyWidth="25%p" |
| 224 | android:keyEdgeFlags="right" |
| 225 | android:isModifier="true" /> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 226 | </Row> |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 227 | <Row |
| 228 | android:keyboardMode="@+id/mode_url" |
| 229 | android:rowEdgeFlags="bottom" |
| 230 | > |
| 231 | <Key |
| 232 | android:codes="-2" |
| 233 | android:keyLabel="@string/label_symbol_key" |
| 234 | android:keyWidth="15%p" |
| 235 | android:keyEdgeFlags="left" |
| 236 | android:isModifier="true" /> |
| 237 | <Key |
| 238 | android:codes="@integer/key_settings" |
| 239 | android:keyIcon="@drawable/sym_keyboard_settings" |
| 240 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 241 | android:keyWidth="10%p" |
| 242 | android:isModifier="true" /> |
| 243 | <Key |
| 244 | android:keyLabel="/" |
satok | 007803c | 2010-09-08 17:24:16 +0900 | [diff] [blame] | 245 | android:keyWidth="10%p" |
| 246 | android:isModifier="true" /> |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 247 | <Key |
| 248 | android:codes="32" |
| 249 | android:keyIcon="@drawable/sym_keyboard_space" |
| 250 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 251 | android:keyWidth="30%p" |
| 252 | android:isRepeatable="true" |
| 253 | android:isModifier="true" /> |
| 254 | <Key |
| 255 | android:keyLabel="." |
| 256 | android:popupKeyboard="@xml/popup_punctuation" |
| 257 | android:keyWidth="10%p" |
| 258 | android:isModifier="true" /> |
| 259 | <Key |
| 260 | android:codes="10" |
| 261 | android:keyIcon="@drawable/sym_keyboard_return" |
| 262 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 263 | android:keyWidth="25%p" |
| 264 | android:keyEdgeFlags="right" |
| 265 | android:isModifier="true" /> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 266 | </Row> |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 267 | <Row |
| 268 | android:keyboardMode="@+id/mode_email" |
| 269 | android:rowEdgeFlags="bottom" |
| 270 | > |
| 271 | <Key |
| 272 | android:codes="-2" |
| 273 | android:keyLabel="@string/label_symbol_key" |
| 274 | android:keyWidth="15%p" |
| 275 | android:keyEdgeFlags="left" |
| 276 | android:isModifier="true" /> |
| 277 | <Key |
| 278 | android:codes="@integer/key_settings" |
| 279 | android:keyIcon="@drawable/sym_keyboard_settings" |
| 280 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 281 | android:keyWidth="10%p" |
| 282 | android:isModifier="true" /> |
| 283 | <Key |
| 284 | android:keyLabel="\@" |
| 285 | android:isModifier="true" /> |
| 286 | <Key |
| 287 | android:codes="32" |
| 288 | android:keyIcon="@drawable/sym_keyboard_space" |
| 289 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 290 | android:keyWidth="30%p" |
| 291 | android:isRepeatable="true" |
| 292 | android:isModifier="true" /> |
| 293 | <Key |
| 294 | android:keyLabel="." |
| 295 | android:popupKeyboard="@xml/popup_punctuation" |
| 296 | android:isModifier="true" /> |
| 297 | <Key |
| 298 | android:codes="10" |
| 299 | android:keyIcon="@drawable/sym_keyboard_return" |
| 300 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 301 | android:keyWidth="25%p" |
| 302 | android:keyEdgeFlags="right" |
| 303 | android:isModifier="true" /> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 304 | </Row> |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 305 | <Row |
| 306 | android:keyboardMode="@+id/mode_im" |
| 307 | android:rowEdgeFlags="bottom" |
| 308 | > |
| 309 | <Key |
| 310 | android:codes="-2" |
| 311 | android:keyLabel="@string/label_symbol_key" |
| 312 | android:keyWidth="15%p" |
| 313 | android:keyEdgeFlags="left" |
| 314 | android:isModifier="true" /> |
| 315 | <Key |
| 316 | android:codes="@integer/key_settings" |
| 317 | android:keyIcon="@drawable/sym_keyboard_settings" |
| 318 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 319 | android:keyWidth="10%p" |
| 320 | android:isModifier="true" /> |
| 321 | <Key |
| 322 | android:codes="@integer/key_f1" |
| 323 | android:keyIcon="@drawable/sym_keyboard_mic" |
| 324 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 325 | android:keyWidth="10%p" |
| 326 | android:isModifier="true" /> |
| 327 | <Key |
| 328 | android:codes="32" |
| 329 | android:keyIcon="@drawable/sym_keyboard_space" |
| 330 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 331 | android:keyWidth="30%p" |
| 332 | android:isRepeatable="true" |
| 333 | android:isModifier="true" /> |
| 334 | <Key |
| 335 | android:codes="46" |
| 336 | android:keyLabel="." |
| 337 | android:popupKeyboard="@xml/popup_punctuation" |
| 338 | android:keyWidth="10%p" |
| 339 | android:isModifier="true" /> |
| 340 | <Key |
| 341 | android:keyLabel=":-)" |
| 342 | android:keyOutputText=":-) " |
| 343 | android:popupKeyboard="@xml/popup_smileys" |
| 344 | android:keyWidth="25%p" |
| 345 | android:keyEdgeFlags="right" |
| 346 | android:isModifier="true" /> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 347 | </Row> |
Tadashi G. Takaoka | 232863a | 2010-09-08 15:12:51 +0900 | [diff] [blame] | 348 | <Row |
| 349 | android:keyboardMode="@+id/mode_webentry" |
| 350 | android:rowEdgeFlags="bottom" |
| 351 | > |
| 352 | <Key |
| 353 | android:codes="-2" |
| 354 | android:keyLabel="@string/label_symbol_key" |
| 355 | android:keyWidth="15%p" |
| 356 | android:keyEdgeFlags="left" |
| 357 | android:isModifier="true" /> |
| 358 | <Key |
| 359 | android:codes="@integer/key_settings" |
| 360 | android:keyIcon="@drawable/sym_keyboard_settings" |
| 361 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 362 | android:keyWidth="10%p" |
| 363 | android:isModifier="true" /> |
| 364 | <Key |
| 365 | android:codes="@integer/key_f1" |
| 366 | android:keyIcon="@drawable/sym_keyboard_mic" |
| 367 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 368 | android:keyWidth="10%p" |
| 369 | android:isModifier="true" /> |
| 370 | <Key |
| 371 | android:codes="32" |
| 372 | android:keyIcon="@drawable/sym_keyboard_space" |
| 373 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 374 | android:keyWidth="30%p" |
| 375 | android:isRepeatable="true" |
| 376 | android:isModifier="true" /> |
| 377 | <Key |
| 378 | android:codes="9" |
| 379 | android:keyIcon="@drawable/sym_keyboard_tab" |
| 380 | android:iconPreview="@drawable/sym_keyboard_feedback_tab" |
| 381 | android:keyWidth="10%p" |
| 382 | android:isModifier="true" /> |
| 383 | <Key |
| 384 | android:keyLabel="." |
| 385 | android:popupKeyboard="@xml/popup_punctuation" |
| 386 | android:keyWidth="10%p" |
| 387 | android:isModifier="true" /> |
| 388 | <Key |
| 389 | android:codes="10" |
| 390 | android:keyIcon="@drawable/sym_keyboard_return" |
| 391 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 392 | android:keyWidth="15%p" |
| 393 | android:keyEdgeFlags="right" |
| 394 | android:isModifier="true" /> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 395 | </Row> |
satok | 007803c | 2010-09-08 17:24:16 +0900 | [diff] [blame] | 396 | </Keyboard> |