Home | History | Annotate | Download | only in xml-de
      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 <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_bkeyboard_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_bkeyboard_delete"
    141             android:iconPreview="@drawable/sym_keyboard_feedback_delete"
    142             android:keyWidth="15%p"
    143             android:isRepeatable="true"
    144             android:keyEdgeFlags="right" />
    145     </Row>
    146     <Row
    147         android:keyboardMode="@+id/mode_normal"
    148         android:keyWidth="10%p"
    149         android:rowEdgeFlags="bottom"
    150     >
    151         <Key
    152             android:codes="@integer/key_symbol"
    153             android:keyLabel="@string/label_symbol_key"
    154             android:keyWidth="20%p"
    155             android:keyEdgeFlags="left" />
    156         <Key
    157             android:codes="@integer/key_f1" />
    158         <Key
    159             android:codes="@integer/key_space"
    160             android:keyIcon="@drawable/sym_bkeyboard_space"
    161             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    162             android:keyWidth="40%p" />
    163         <Key
    164             android:keyLabel="."
    165             android:keyIcon="@drawable/hint_popup"
    166             android:popupKeyboard="@xml/popup_punctuation" />
    167         <Key
    168             android:codes="@integer/key_return"
    169             android:keyIcon="@drawable/sym_bkeyboard_return"
    170             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    171             android:keyWidth="20%p"
    172             android:keyEdgeFlags="right" />
    173     </Row>
    174     <Row
    175         android:keyboardMode="@+id/mode_url"
    176         android:keyWidth="10%p"
    177         android:rowEdgeFlags="bottom"
    178     >
    179         <Key
    180             android:codes="@integer/key_symbol"
    181             android:keyLabel="@string/label_symbol_key"
    182             android:keyWidth="20%p"
    183             android:keyEdgeFlags="left" />
    184         <Key
    185             android:keyLabel="/" />
    186         <Key
    187             android:codes="@integer/key_space"
    188             android:keyIcon="@drawable/sym_bkeyboard_space"
    189             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    190             android:keyWidth="40%p" />
    191         <Key
    192             android:keyLabel="."
    193             android:keyIcon="@drawable/hint_popup"
    194             android:popupKeyboard="@xml/popup_punctuation" />
    195         <Key
    196             android:codes="@integer/key_return"
    197             android:keyIcon="@drawable/sym_bkeyboard_return"
    198             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    199             android:keyWidth="20%p"
    200             android:keyEdgeFlags="right" />
    201     </Row>
    202     <Row
    203         android:keyboardMode="@+id/mode_email"
    204         android:keyWidth="10%p"
    205         android:rowEdgeFlags="bottom"
    206     >
    207         <Key
    208             android:codes="@integer/key_symbol"
    209             android:keyLabel="@string/label_symbol_key"
    210             android:keyWidth="20%p"
    211             android:keyEdgeFlags="left" />
    212         <Key
    213             android:keyLabel="\@" />
    214         <Key
    215             android:codes="@integer/key_space"
    216             android:keyIcon="@drawable/sym_bkeyboard_space"
    217             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    218             android:keyWidth="40%p" />
    219         <Key
    220             android:keyLabel="."
    221             android:keyIcon="@drawable/hint_popup"
    222             android:popupKeyboard="@xml/popup_punctuation" />
    223         <Key
    224             android:codes="@integer/key_return"
    225             android:keyIcon="@drawable/sym_bkeyboard_return"
    226             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    227             android:keyWidth="20%p"
    228             android:keyEdgeFlags="right" />
    229     </Row>
    230     <Row
    231         android:keyboardMode="@+id/mode_im"
    232         android:keyWidth="10%p"
    233         android:rowEdgeFlags="bottom"
    234     >
    235         <Key
    236             android:codes="@integer/key_symbol"
    237             android:keyLabel="@string/label_symbol_key"
    238             android:keyWidth="20%p"
    239             android:keyEdgeFlags="left" />
    240         <Key
    241             android:codes="@integer/key_f1" />
    242         <Key
    243             android:codes="@integer/key_space"
    244             android:keyIcon="@drawable/sym_bkeyboard_space"
    245             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    246             android:keyWidth="40%p" />
    247         <Key
    248             android:keyLabel="."
    249             android:keyIcon="@drawable/hint_popup"
    250             android:popupKeyboard="@xml/popup_punctuation" />
    251         <Key
    252             android:keyLabel=":-)"
    253             android:keyOutputText=":-) "
    254             android:keyIcon="@drawable/hint_popup"
    255             android:popupKeyboard="@xml/popup_smileys"
    256             android:keyWidth="20%p"
    257             android:keyEdgeFlags="right" />
    258     </Row>
    259     <Row
    260         android:keyboardMode="@+id/mode_webentry"
    261         android:keyWidth="10%p"
    262         android:rowEdgeFlags="bottom"
    263     >
    264         <Key
    265             android:codes="@integer/key_symbol"
    266             android:keyLabel="@string/label_symbol_key"
    267             android:keyWidth="20%p"
    268             android:keyEdgeFlags="left" />
    269         <Key
    270             android:codes="@integer/key_f1" />
    271         <Key
    272             android:codes="@integer/key_space"
    273             android:keyIcon="@drawable/sym_bkeyboard_space"
    274             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    275             android:keyWidth="20%p" />
    276         <Key
    277             android:codes="@integer/key_tab"
    278             android:keyIcon="@drawable/sym_bkeyboard_tab"
    279             android:iconPreview="@drawable/sym_keyboard_feedback_tab"
    280             android:keyWidth="20%p" />
    281         <Key
    282             android:keyLabel="."
    283             android:keyIcon="@drawable/hint_popup"
    284             android:popupKeyboard="@xml/popup_punctuation" />
    285         <Key
    286             android:codes="@integer/key_return"
    287             android:keyIcon="@drawable/sym_bkeyboard_return"
    288             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    289             android:keyWidth="20%p"
    290             android:keyEdgeFlags="right" />
    291     </Row>
    292     <Row
    293         android:keyboardMode="@+id/mode_normal_with_settings_key"
    294         android:keyWidth="10%p"
    295         android:rowEdgeFlags="bottom"
    296     >
    297         <Key
    298             android:codes="@integer/key_symbol"
    299             android:keyLabel="@string/label_symbol_key"
    300             android:keyWidth="15%p"
    301             android:keyEdgeFlags="left" />
    302         <Key
    303             android:codes="@integer/key_settings"
    304             android:keyIcon="@drawable/sym_bkeyboard_settings"
    305             android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
    306         <Key
    307             android:codes="@integer/key_f1" />
    308         <Key
    309             android:codes="@integer/key_space"
    310             android:keyIcon="@drawable/sym_bkeyboard_space"
    311             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    312             android:keyWidth="30%p" />
    313         <Key
    314             android:keyLabel="."
    315             android:keyIcon="@drawable/hint_popup"
    316             android:popupKeyboard="@xml/popup_punctuation" />
    317         <Key
    318             android:codes="@integer/key_return"
    319             android:keyIcon="@drawable/sym_bkeyboard_return"
    320             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    321             android:keyWidth="25%p"
    322             android:keyEdgeFlags="right" />
    323     </Row>
    324     <Row
    325         android:keyboardMode="@+id/mode_url_with_settings_key"
    326         android:keyWidth="10%p"
    327         android:rowEdgeFlags="bottom"
    328     >
    329         <Key
    330             android:codes="@integer/key_symbol"
    331             android:keyLabel="@string/label_symbol_key"
    332             android:keyWidth="15%p"
    333             android:keyEdgeFlags="left" />
    334         <Key
    335             android:codes="@integer/key_settings"
    336             android:keyIcon="@drawable/sym_bkeyboard_settings"
    337             android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
    338         <Key
    339             android:keyLabel="/" />
    340         <Key
    341             android:codes="@integer/key_space"
    342             android:keyIcon="@drawable/sym_bkeyboard_space"
    343             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    344             android:keyWidth="30%p" />
    345         <Key
    346             android:keyLabel="."
    347             android:keyIcon="@drawable/hint_popup"
    348             android:popupKeyboard="@xml/popup_punctuation" />
    349         <Key
    350             android:codes="@integer/key_return"
    351             android:keyIcon="@drawable/sym_bkeyboard_return"
    352             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    353             android:keyWidth="25%p"
    354             android:keyEdgeFlags="right" />
    355     </Row>
    356     <Row
    357         android:keyboardMode="@+id/mode_email_with_settings_key"
    358         android:keyWidth="10%p"
    359         android:rowEdgeFlags="bottom"
    360     >
    361         <Key
    362             android:codes="@integer/key_symbol"
    363             android:keyLabel="@string/label_symbol_key"
    364             android:keyWidth="15%p"
    365             android:keyEdgeFlags="left" />
    366         <Key
    367             android:codes="@integer/key_settings"
    368             android:keyIcon="@drawable/sym_bkeyboard_settings"
    369             android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
    370         <Key
    371             android:keyLabel="\@" />
    372         <Key
    373             android:codes="@integer/key_space"
    374             android:keyIcon="@drawable/sym_bkeyboard_space"
    375             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    376             android:keyWidth="30%p" />
    377         <Key
    378             android:keyLabel="."
    379             android:keyIcon="@drawable/hint_popup"
    380             android:popupKeyboard="@xml/popup_punctuation" />
    381         <Key
    382             android:codes="@integer/key_return"
    383             android:keyIcon="@drawable/sym_bkeyboard_return"
    384             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    385             android:keyWidth="25%p"
    386             android:keyEdgeFlags="right" />
    387     </Row>
    388     <Row
    389         android:keyboardMode="@+id/mode_im_with_settings_key"
    390         android:keyWidth="10%p"
    391         android:rowEdgeFlags="bottom"
    392     >
    393         <Key
    394             android:codes="@integer/key_symbol"
    395             android:keyLabel="@string/label_symbol_key"
    396             android:keyWidth="15%p"
    397             android:keyEdgeFlags="left" />
    398         <Key
    399             android:codes="@integer/key_settings"
    400             android:keyIcon="@drawable/sym_bkeyboard_settings"
    401             android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
    402         <Key
    403             android:codes="@integer/key_f1" />
    404         <Key
    405             android:codes="@integer/key_space"
    406             android:keyIcon="@drawable/sym_bkeyboard_space"
    407             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    408             android:keyWidth="30%p" />
    409         <Key
    410             android:keyLabel="."
    411             android:keyIcon="@drawable/hint_popup"
    412             android:popupKeyboard="@xml/popup_punctuation" />
    413         <Key
    414             android:keyLabel=":-)"
    415             android:keyOutputText=":-) "
    416             android:keyIcon="@drawable/hint_popup"
    417             android:popupKeyboard="@xml/popup_smileys"
    418             android:keyWidth="25%p"
    419             android:keyEdgeFlags="right" />
    420     </Row>
    421     <Row
    422         android:keyboardMode="@+id/mode_webentry_with_settings_key"
    423         android:keyWidth="10%p"
    424         android:rowEdgeFlags="bottom"
    425     >
    426         <Key
    427             android:codes="@integer/key_symbol"
    428             android:keyLabel="@string/label_symbol_key"
    429             android:keyWidth="15%p"
    430             android:keyEdgeFlags="left" />
    431         <Key
    432             android:codes="@integer/key_settings"
    433             android:keyIcon="@drawable/sym_bkeyboard_settings"
    434             android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
    435         <Key
    436             android:codes="@integer/key_f1" />
    437         <Key
    438             android:codes="@integer/key_space"
    439             android:keyIcon="@drawable/sym_bkeyboard_space"
    440             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    441             android:keyWidth="30%p" />
    442         <Key
    443             android:codes="@integer/key_tab"
    444             android:keyIcon="@drawable/sym_bkeyboard_tab"
    445             android:iconPreview="@drawable/sym_keyboard_feedback_tab" />
    446         <Key
    447             android:keyLabel="."
    448             android:keyIcon="@drawable/hint_popup"
    449             android:popupKeyboard="@xml/popup_punctuation" />
    450         <Key
    451             android:codes="@integer/key_return"
    452             android:keyIcon="@drawable/sym_bkeyboard_return"
    453             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    454             android:keyWidth="15%p"
    455             android:keyEdgeFlags="right" />
    456     </Row>
    457 </Keyboard>
    458