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