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