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 | |
| 27 | <Keyboard xmlns:android="http://schemas.android.com/apk/res/android" |
| 28 | android:keyWidth="9.09%p" |
| 29 | android:horizontalGap="0px" |
| 30 | android:verticalGap="0px" |
| 31 | android:keyHeight="@dimen/key_height" |
| 32 | > |
| 33 | |
| 34 | <Row> |
| 35 | <Key android:codes="113" android:keyLabel="q" |
| 36 | android:keyWidth="8.75%p" android:keyEdgeFlags="left"/> |
| 37 | <Key android:codes="119" android:keyLabel="w"/> |
| 38 | <Key android:codes="101" android:keyLabel="e" |
| 39 | android:popupKeyboard="@xml/kbd_popup_template" |
| 40 | android:popupCharacters="éèêëę€"/> |
| 41 | <Key android:codes="114" android:keyLabel="r" |
| 42 | android:popupKeyboard="@xml/kbd_popup_template" |
| 43 | android:popupCharacters="ř"/> |
| 44 | <Key android:codes="116" android:keyLabel="t" |
| 45 | android:popupKeyboard="@xml/kbd_popup_template" |
| 46 | android:popupCharacters="ťþ"/> |
| 47 | <Key android:codes="121" android:keyLabel="y" |
| 48 | android:popupKeyboard="@xml/kbd_popup_template" |
| 49 | android:popupCharacters="ýÿü"/> |
| 50 | <Key android:codes="117" android:keyLabel="u" |
| 51 | android:popupKeyboard="@xml/kbd_popup_template" |
| 52 | android:popupCharacters="úùûū"/> |
| 53 | <Key android:codes="105" android:keyLabel="i" |
| 54 | android:popupKeyboard="@xml/kbd_popup_template" |
| 55 | android:popupCharacters="íìîï"/> |
| 56 | <Key android:codes="111" android:keyLabel="o" |
| 57 | android:popupKeyboard="@xml/kbd_popup_template" |
| 58 | android:popupCharacters="óòôõ"/> |
| 59 | <Key android:codes="112" android:keyLabel="p"/> |
| 60 | <Key android:keyLabel="å" |
| 61 | android:keyWidth="8.75%p" android:keyEdgeFlags="right"/> |
| 62 | </Row> |
| 63 | |
| 64 | <Row> |
| 65 | <Key android:codes="97" android:keyLabel="a" |
| 66 | android:popupKeyboard="@xml/kbd_popup_template" |
| 67 | android:popupCharacters="áàâąã" |
| 68 | android:keyWidth="8.75%p" android:keyEdgeFlags="left"/> |
| 69 | <Key android:codes="115" android:keyLabel="s" |
| 70 | android:popupKeyboard="@xml/kbd_popup_template" |
| 71 | android:popupCharacters="śšşß"/> |
| 72 | <Key android:codes="100" android:keyLabel="d" |
| 73 | android:popupKeyboard="@xml/kbd_popup_template" |
| 74 | android:popupCharacters="ðď"/> |
| 75 | <Key android:codes="102" android:keyLabel="f"/> |
| 76 | <Key android:codes="103" android:keyLabel="g"/> |
| 77 | <Key android:codes="104" android:keyLabel="h"/> |
| 78 | <Key android:codes="106" android:keyLabel="j"/> |
| 79 | <Key android:codes="107" android:keyLabel="k"/> |
| 80 | <Key android:codes="108" android:keyLabel="l" |
| 81 | android:popupKeyboard="@xml/kbd_popup_template" |
| 82 | android:popupCharacters="ł"/> |
| 83 | <Key android:keyLabel="æ" |
| 84 | android:popupKeyboard="@xml/kbd_popup_template" |
| 85 | android:popupCharacters="ä"/> |
| 86 | <Key android:keyLabel="ø" |
| 87 | android:popupKeyboard="@xml/kbd_popup_template" |
| 88 | android:popupCharacters="öœ" |
| 89 | android:keyWidth="8.75%p" android:keyEdgeFlags="right"/> |
| 90 | </Row> |
| 91 | |
| 92 | <Row android:keyWidth="10%p"> |
| 93 | <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" |
| 94 | android:keyWidth="15%p" android:isModifier="true" |
| 95 | android:iconPreview="@drawable/sym_keyboard_feedback_shift" |
| 96 | android:isSticky="true" android:keyEdgeFlags="left"/> |
| 97 | <Key android:codes="122" android:keyLabel="z" |
| 98 | android:popupKeyboard="@xml/kbd_popup_template" |
| 99 | android:popupCharacters="źžż"/> |
| 100 | <Key android:codes="120" android:keyLabel="x"/> |
| 101 | <Key android:codes="99" android:keyLabel="c" |
| 102 | android:popupKeyboard="@xml/kbd_popup_template" |
| 103 | android:popupCharacters="çćč"/> |
| 104 | <Key android:codes="118" android:keyLabel="v" |
| 105 | android:popupKeyboard="@xml/kbd_popup_template" |
| 106 | android:popupCharacters="w"/> |
| 107 | <Key android:codes="98" android:keyLabel="b"/> |
| 108 | <Key android:codes="110" android:keyLabel="n" |
| 109 | android:popupKeyboard="@xml/kbd_popup_template" |
| 110 | android:popupCharacters="ńñň"/> |
| 111 | <Key android:codes="109" android:keyLabel="m"/> |
| 112 | <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" |
| 113 | android:keyWidth="15%p" android:keyEdgeFlags="right" |
| 114 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 115 | android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 116 | </Row> |
| 117 | |
| 118 | <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom"> |
| 119 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 120 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 121 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 122 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 123 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 124 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 125 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 126 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 127 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 128 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 129 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 130 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 131 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 132 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 133 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 134 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 135 | </Row> |
| 136 | |
| 137 | <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom"> |
| 138 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 139 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 140 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 141 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 142 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 143 | <Key android:keyLabel="/" android:keyWidth="10%p"/> |
| 144 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 145 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 146 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 147 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 148 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 149 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 150 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 151 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 152 | </Row> |
| 153 | |
| 154 | <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom"> |
| 155 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 156 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 157 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 158 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 159 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | d27c7ae | 2010-09-06 20:18:25 +0900 | [diff] [blame] | 160 | <Key android:keyLabel="\@" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 161 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 162 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 163 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | d27c7ae | 2010-09-06 20:18:25 +0900 | [diff] [blame] | 164 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 165 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 166 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 167 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 168 | </Row> |
| 169 | |
| 170 | <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom"> |
| 171 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 172 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 173 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 174 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 175 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 176 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 177 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 178 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 179 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 180 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 181 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 182 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 183 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 184 | <Key android:keyLabel=":-)" android:keyOutputText=":-) " |
| 185 | android:popupKeyboard="@xml/popup_smileys" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 186 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 187 | </Row> |
| 188 | |
| 189 | <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom"> |
| 190 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
Ken Wakasa | a8d9702 | 2010-09-05 21:59:43 +0900 | [diff] [blame] | 191 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 192 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 193 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 194 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 195 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 196 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 197 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 198 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 199 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
Ken Wakasa | a8d9702 | 2010-09-05 21:59:43 +0900 | [diff] [blame] | 200 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 201 | <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab" |
| 202 | android:iconPreview="@drawable/sym_keyboard_feedback_tab" |
Ken Wakasa | a8d9702 | 2010-09-05 21:59:43 +0900 | [diff] [blame] | 203 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 204 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 205 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 206 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 207 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 208 | android:keyWidth="15%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 209 | </Row> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 210 | </Keyboard> |