Home | History | Annotate | Download | only in xml-da
      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_keyboard_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_keyboard_delete"
    162             android:iconPreview="@drawable/sym_keyboard_feedback_delete"
    163             android:keyWidth="15%p"
    164             android:isModifier="true"
    165             android:isRepeatable="true"
    166             android:keyEdgeFlags="right" />
    167     </Row>
    168     <Row
    169         android:keyboardMode="@+id/mode_normal"
    170         android:keyWidth="10%p"
    171         android:rowEdgeFlags="bottom"
    172     >
    173         <Key
    174             android:codes="@integer/key_symbol"
    175             android:keyLabel="@string/label_symbol_key"
    176             android:keyWidth="20%p"
    177             android:isModifier="true"
    178             android:keyEdgeFlags="left" />
    179         <Key
    180             android:codes="@integer/key_f1"
    181             android:isModifier="true" />
    182         <Key
    183             android:codes="@integer/key_space"
    184             android:keyIcon="@drawable/sym_keyboard_space"
    185             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    186             android:keyWidth="40%p"
    187             android:isModifier="true" />
    188         <Key
    189             android:keyLabel="."
    190             android:keyIcon="@drawable/hint_popup"
    191             android:popupKeyboard="@xml/popup_punctuation"
    192             android:isModifier="true" />
    193         <Key
    194             android:codes="@integer/key_return"
    195             android:keyIcon="@drawable/sym_keyboard_return"
    196             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    197             android:keyWidth="20%p"
    198             android:isModifier="true"
    199             android:keyEdgeFlags="right" />
    200     </Row>
    201     <Row
    202         android:keyboardMode="@+id/mode_url"
    203         android:keyWidth="10%p"
    204         android:rowEdgeFlags="bottom"
    205     >
    206         <Key
    207             android:codes="@integer/key_symbol"
    208             android:keyLabel="@string/label_symbol_key"
    209             android:keyWidth="20%p"
    210             android:isModifier="true"
    211             android:keyEdgeFlags="left" />
    212         <Key
    213             android:codes="@integer/key_f1"
    214             android:isModifier="true" />
    215         <Key
    216             android:codes="@integer/key_space"
    217             android:keyIcon="@drawable/sym_keyboard_space"
    218             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    219             android:keyWidth="40%p"
    220             android:isModifier="true" />
    221         <Key
    222             android:keyLabel="."
    223             android:keyIcon="@drawable/hint_popup"
    224             android:popupKeyboard="@xml/popup_punctuation"
    225             android:isModifier="true" />
    226         <Key
    227             android:codes="@integer/key_return"
    228             android:keyIcon="@drawable/sym_keyboard_return"
    229             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    230             android:keyWidth="20%p"
    231             android:isModifier="true"
    232             android:keyEdgeFlags="right" />
    233     </Row>
    234     <Row
    235         android:keyboardMode="@+id/mode_email"
    236         android:keyWidth="10%p"
    237         android:rowEdgeFlags="bottom"
    238     >
    239         <Key
    240             android:codes="@integer/key_symbol"
    241             android:keyLabel="@string/label_symbol_key"
    242             android:keyWidth="20%p"
    243             android:isModifier="true"
    244             android:keyEdgeFlags="left" />
    245         <Key
    246             android:codes="@integer/key_f1"
    247             android:isModifier="true" />
    248         <Key
    249             android:codes="@integer/key_space"
    250             android:keyIcon="@drawable/sym_keyboard_space"
    251             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    252             android:keyWidth="40%p"
    253             android:isModifier="true" />
    254         <Key
    255             android:keyLabel="."
    256             android:keyIcon="@drawable/hint_popup"
    257             android:popupKeyboard="@xml/popup_punctuation"
    258             android:isModifier="true" />
    259         <Key
    260             android:codes="@integer/key_return"
    261             android:keyIcon="@drawable/sym_keyboard_return"
    262             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    263             android:keyWidth="20%p"
    264             android:isModifier="true"
    265             android:keyEdgeFlags="right" />
    266     </Row>
    267     <Row
    268         android:keyboardMode="@+id/mode_im"
    269         android:keyWidth="10%p"
    270         android:rowEdgeFlags="bottom"
    271     >
    272         <Key
    273             android:codes="@integer/key_symbol"
    274             android:keyLabel="@string/label_symbol_key"
    275             android:keyWidth="20%p"
    276             android:isModifier="true"
    277             android:keyEdgeFlags="left" />
    278         <Key
    279             android:codes="@integer/key_f1"
    280             android:isModifier="true" />
    281         <Key
    282             android:codes="@integer/key_space"
    283             android:keyIcon="@drawable/sym_keyboard_space"
    284             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    285             android:keyWidth="40%p"
    286             android:isModifier="true" />
    287         <Key
    288             android:keyLabel="."
    289             android:keyIcon="@drawable/hint_popup"
    290             android:popupKeyboard="@xml/popup_punctuation"
    291             android:isModifier="true" />
    292         <Key
    293             android:keyLabel=":-)"
    294             android:keyOutputText=":-) "
    295             android:keyIcon="@drawable/hint_popup"
    296             android:popupKeyboard="@xml/popup_smileys"
    297             android:keyWidth="20%p"
    298             android:isModifier="true"
    299             android:keyEdgeFlags="right" />
    300     </Row>
    301     <Row
    302         android:keyboardMode="@+id/mode_webentry"
    303         android:keyWidth="10%p"
    304         android:rowEdgeFlags="bottom"
    305     >
    306         <Key
    307             android:codes="@integer/key_symbol"
    308             android:keyLabel="@string/label_symbol_key"
    309             android:keyWidth="20%p"
    310             android:isModifier="true"
    311             android:keyEdgeFlags="left" />
    312         <Key
    313             android:codes="@integer/key_f1"
    314             android:isModifier="true" />
    315         <Key
    316             android:codes="@integer/key_space"
    317             android:keyIcon="@drawable/sym_keyboard_space"
    318             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    319             android:keyWidth="20%p"
    320             android:isModifier="true" />
    321         <Key
    322             android:codes="@integer/key_tab"
    323             android:keyIcon="@drawable/sym_keyboard_tab"
    324             android:iconPreview="@drawable/sym_keyboard_feedback_tab"
    325             android:keyWidth="20%p"
    326             android:isModifier="true" />
    327         <Key
    328             android:keyLabel="."
    329             android:keyIcon="@drawable/hint_popup"
    330             android:popupKeyboard="@xml/popup_punctuation"
    331             android:isModifier="true" />
    332         <Key
    333             android:codes="@integer/key_return"
    334             android:keyIcon="@drawable/sym_keyboard_return"
    335             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    336             android:keyWidth="20%p"
    337             android:isModifier="true"
    338             android:keyEdgeFlags="right" />
    339     </Row>
    340     <Row
    341         android:keyboardMode="@+id/mode_normal_with_settings_key"
    342         android:keyWidth="10%p"
    343         android:rowEdgeFlags="bottom"
    344     >
    345         <Key
    346             android:codes="@integer/key_symbol"
    347             android:keyLabel="@string/label_symbol_key"
    348             android:keyWidth="15%p"
    349             android:isModifier="true"
    350             android:keyEdgeFlags="left" />
    351         <Key
    352             android:codes="@integer/key_settings"
    353             android:keyIcon="@drawable/sym_keyboard_settings"
    354             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    355             android:isModifier="true" />
    356         <Key
    357             android:codes="@integer/key_f1"
    358             android:isModifier="true" />
    359         <Key
    360             android:codes="@integer/key_space"
    361             android:keyIcon="@drawable/sym_keyboard_space"
    362             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    363             android:keyWidth="30%p"
    364             android:isModifier="true" />
    365         <Key
    366             android:keyLabel="."
    367             android:keyIcon="@drawable/hint_popup"
    368             android:popupKeyboard="@xml/popup_punctuation"
    369             android:isModifier="true" />
    370         <Key
    371             android:codes="@integer/key_return"
    372             android:keyIcon="@drawable/sym_keyboard_return"
    373             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    374             android:keyWidth="25%p"
    375             android:isModifier="true"
    376             android:keyEdgeFlags="right" />
    377     </Row>
    378     <Row
    379         android:keyboardMode="@+id/mode_url_with_settings_key"
    380         android:keyWidth="10%p"
    381         android:rowEdgeFlags="bottom"
    382     >
    383         <Key
    384             android:codes="@integer/key_symbol"
    385             android:keyLabel="@string/label_symbol_key"
    386             android:keyWidth="15%p"
    387             android:isModifier="true"
    388             android:keyEdgeFlags="left" />
    389         <Key
    390             android:codes="@integer/key_settings"
    391             android:keyIcon="@drawable/sym_keyboard_settings"
    392             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    393             android:isModifier="true" />
    394         <Key
    395             android:codes="@integer/key_f1"
    396             android:isModifier="true" />
    397         <Key
    398             android:codes="@integer/key_space"
    399             android:keyIcon="@drawable/sym_keyboard_space"
    400             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    401             android:keyWidth="30%p"
    402             android:isModifier="true" />
    403         <Key
    404             android:keyLabel="."
    405             android:keyIcon="@drawable/hint_popup"
    406             android:popupKeyboard="@xml/popup_punctuation"
    407             android:isModifier="true" />
    408         <Key
    409             android:codes="@integer/key_return"
    410             android:keyIcon="@drawable/sym_keyboard_return"
    411             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    412             android:keyWidth="25%p"
    413             android:isModifier="true"
    414             android:keyEdgeFlags="right" />
    415     </Row>
    416     <Row
    417         android:keyboardMode="@+id/mode_email_with_settings_key"
    418         android:keyWidth="10%p"
    419         android:rowEdgeFlags="bottom"
    420     >
    421         <Key
    422             android:codes="@integer/key_symbol"
    423             android:keyLabel="@string/label_symbol_key"
    424             android:keyWidth="15%p"
    425             android:isModifier="true"
    426             android:keyEdgeFlags="left" />
    427         <Key
    428             android:codes="@integer/key_settings"
    429             android:keyIcon="@drawable/sym_keyboard_settings"
    430             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    431             android:isModifier="true" />
    432         <Key
    433             android:codes="@integer/key_f1"
    434             android:isModifier="true" />
    435         <Key
    436             android:codes="@integer/key_space"
    437             android:keyIcon="@drawable/sym_keyboard_space"
    438             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    439             android:keyWidth="30%p"
    440             android:isModifier="true" />
    441         <Key
    442             android:keyLabel="."
    443             android:keyIcon="@drawable/hint_popup"
    444             android:popupKeyboard="@xml/popup_punctuation"
    445             android:isModifier="true" />
    446         <Key
    447             android:codes="@integer/key_return"
    448             android:keyIcon="@drawable/sym_keyboard_return"
    449             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    450             android:keyWidth="25%p"
    451             android:isModifier="true"
    452             android:keyEdgeFlags="right" />
    453     </Row>
    454     <Row
    455         android:keyboardMode="@+id/mode_im_with_settings_key"
    456         android:keyWidth="10%p"
    457         android:rowEdgeFlags="bottom"
    458     >
    459         <Key
    460             android:codes="@integer/key_symbol"
    461             android:keyLabel="@string/label_symbol_key"
    462             android:keyWidth="15%p"
    463             android:isModifier="true"
    464             android:keyEdgeFlags="left" />
    465         <Key
    466             android:codes="@integer/key_settings"
    467             android:keyIcon="@drawable/sym_keyboard_settings"
    468             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    469             android:isModifier="true" />
    470         <Key
    471             android:codes="@integer/key_f1"
    472             android:isModifier="true" />
    473         <Key
    474             android:codes="@integer/key_space"
    475             android:keyIcon="@drawable/sym_keyboard_space"
    476             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    477             android:keyWidth="30%p"
    478             android:isModifier="true" />
    479         <Key
    480             android:keyLabel="."
    481             android:keyIcon="@drawable/hint_popup"
    482             android:popupKeyboard="@xml/popup_punctuation"
    483             android:isModifier="true" />
    484         <Key
    485             android:keyLabel=":-)"
    486             android:keyOutputText=":-) "
    487             android:keyIcon="@drawable/hint_popup"
    488             android:popupKeyboard="@xml/popup_smileys"
    489             android:keyWidth="25%p"
    490             android:isModifier="true"
    491             android:keyEdgeFlags="right" />
    492     </Row>
    493     <Row
    494         android:keyboardMode="@+id/mode_webentry_with_settings_key"
    495         android:keyWidth="10%p"
    496         android:rowEdgeFlags="bottom"
    497     >
    498         <Key
    499             android:codes="@integer/key_symbol"
    500             android:keyLabel="@string/label_symbol_key"
    501             android:keyWidth="15%p"
    502             android:isModifier="true"
    503             android:keyEdgeFlags="left" />
    504         <Key
    505             android:codes="@integer/key_settings"
    506             android:keyIcon="@drawable/sym_keyboard_settings"
    507             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    508             android:isModifier="true" />
    509         <Key
    510             android:codes="@integer/key_f1"
    511             android:isModifier="true" />
    512         <Key
    513             android:codes="@integer/key_space"
    514             android:keyIcon="@drawable/sym_keyboard_space"
    515             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    516             android:keyWidth="30%p"
    517             android:isModifier="true" />
    518         <Key
    519             android:codes="@integer/key_tab"
    520             android:keyIcon="@drawable/sym_keyboard_tab"
    521             android:iconPreview="@drawable/sym_keyboard_feedback_tab"
    522             android:isModifier="true" />
    523         <Key
    524             android:keyLabel="."
    525             android:keyIcon="@drawable/hint_popup"
    526             android:popupKeyboard="@xml/popup_punctuation"
    527             android:isModifier="true" />
    528         <Key
    529             android:codes="@integer/key_return"
    530             android:keyIcon="@drawable/sym_keyboard_return"
    531             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    532             android:keyWidth="15%p"
    533             android:isModifier="true"
    534             android:keyEdgeFlags="right" />
    535     </Row>
    536 </Keyboard>
    537