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