Home | History | Annotate | Download | only in xml-sr
      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 <!-- Serbian keyboard layout, based on the X11 layout for Serbian -->
     22 <Keyboard
     23     xmlns:android="http://schemas.android.com/apk/res/android"
     24     android:keyWidth="9.09%p"
     25     android:horizontalGap="0px"
     26     android:verticalGap="@dimen/key_bottom_gap"
     27     android:keyHeight="@dimen/key_height"
     28 >
     29     <Row
     30         android:rowEdgeFlags="top"
     31     >
     32         <Key
     33             android:keyLabel=""
     34             android:popupKeyboard="@xml/kbd_popup_template"
     35             android:popupCharacters="1"
     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="5" />
     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:keyEdgeFlags="right" />
     76     </Row>
     77     <Row>
     78         <Key
     79             android:keyLabel=""
     80             android:keyEdgeFlags="left" />
     81         <Key
     82             android:keyLabel="" />
     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:keyEdgeFlags="right" />
    104     </Row>
    105     <Row
    106         android:keyWidth="8.5%p"
    107     >
    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="11.75%p"
    113             android:isModifier="true"
    114             android:isSticky="true"
    115             android:keyEdgeFlags="left" />
    116         <Key
    117             android:keyLabel="" />
    118         <Key
    119             android:keyLabel="" />
    120         <Key
    121             android:keyLabel="" />
    122         <Key
    123             android:keyLabel="" />
    124         <Key
    125             android:keyLabel="" />
    126         <Key
    127             android:keyLabel="" />
    128         <Key
    129             android:keyLabel="" />
    130         <Key
    131             android:codes="@integer/key_delete"
    132             android:keyIcon="@drawable/sym_keyboard_delete"
    133             android:iconPreview="@drawable/sym_keyboard_feedback_delete"
    134             android:keyWidth="11.75%p"
    135             android:isModifier="true"
    136             android:isRepeatable="true"
    137             android:keyEdgeFlags="right" />
    138     </Row>
    139     <Row
    140         android:keyboardMode="@+id/mode_normal"
    141         android:keyWidth="10%p"
    142         android:rowEdgeFlags="bottom"
    143     >
    144         <Key
    145             android:codes="@integer/key_symbol"
    146             android:keyLabel="@string/label_symbol_key"
    147             android:keyWidth="20%p"
    148             android:isModifier="true"
    149             android:keyEdgeFlags="left" />
    150         <Key
    151             android:codes="@integer/key_f1"
    152             android:isModifier="true" />
    153         <Key
    154             android:codes="@integer/key_space"
    155             android:keyIcon="@drawable/sym_keyboard_space"
    156             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    157             android:keyWidth="40%p"
    158             android:isModifier="true" />
    159         <Key
    160             android:keyLabel="."
    161             android:keyIcon="@drawable/hint_popup"
    162             android:popupKeyboard="@xml/popup_punctuation"
    163             android:isModifier="true" />
    164         <Key
    165             android:codes="@integer/key_return"
    166             android:keyIcon="@drawable/sym_keyboard_return"
    167             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    168             android:keyWidth="20%p"
    169             android:isModifier="true"
    170             android:keyEdgeFlags="right" />
    171     </Row>
    172     <Row
    173         android:keyboardMode="@+id/mode_url"
    174         android:keyWidth="10%p"
    175         android:rowEdgeFlags="bottom"
    176     >
    177         <Key
    178             android:codes="@integer/key_symbol"
    179             android:keyLabel="@string/label_symbol_key"
    180             android:keyWidth="20%p"
    181             android:isModifier="true"
    182             android:keyEdgeFlags="left" />
    183         <Key
    184             android:codes="@integer/key_f1"
    185             android:isModifier="true" />
    186         <Key
    187             android:codes="@integer/key_space"
    188             android:keyIcon="@drawable/sym_keyboard_space"
    189             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    190             android:keyWidth="40%p"
    191             android:isModifier="true" />
    192         <Key
    193             android:keyLabel="."
    194             android:keyIcon="@drawable/hint_popup"
    195             android:popupKeyboard="@xml/popup_punctuation"
    196             android:isModifier="true" />
    197         <Key
    198             android:codes="@integer/key_return"
    199             android:keyIcon="@drawable/sym_keyboard_return"
    200             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    201             android:keyWidth="20%p"
    202             android:isModifier="true"
    203             android:keyEdgeFlags="right" />
    204     </Row>
    205     <Row
    206         android:keyboardMode="@+id/mode_email"
    207         android:keyWidth="10%p"
    208         android:rowEdgeFlags="bottom"
    209     >
    210         <Key
    211             android:codes="@integer/key_symbol"
    212             android:keyLabel="@string/label_symbol_key"
    213             android:keyWidth="20%p"
    214             android:isModifier="true"
    215             android:keyEdgeFlags="left" />
    216         <Key
    217             android:codes="@integer/key_f1"
    218             android:isModifier="true" />
    219         <Key
    220             android:codes="@integer/key_space"
    221             android:keyIcon="@drawable/sym_keyboard_space"
    222             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    223             android:keyWidth="40%p"
    224             android:isModifier="true" />
    225         <Key
    226             android:keyLabel="."
    227             android:keyIcon="@drawable/hint_popup"
    228             android:popupKeyboard="@xml/popup_punctuation"
    229             android:isModifier="true" />
    230         <Key
    231             android:codes="@integer/key_return"
    232             android:keyIcon="@drawable/sym_keyboard_return"
    233             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    234             android:keyWidth="20%p"
    235             android:isModifier="true"
    236             android:keyEdgeFlags="right" />
    237     </Row>
    238     <Row
    239         android:keyboardMode="@+id/mode_im"
    240         android:keyWidth="10%p"
    241         android:rowEdgeFlags="bottom"
    242     >
    243         <Key
    244             android:codes="@integer/key_symbol"
    245             android:keyLabel="@string/label_symbol_key"
    246             android:keyWidth="20%p"
    247             android:isModifier="true"
    248             android:keyEdgeFlags="left" />
    249         <Key
    250             android:codes="@integer/key_f1"
    251             android:isModifier="true" />
    252         <Key
    253             android:codes="@integer/key_space"
    254             android:keyIcon="@drawable/sym_keyboard_space"
    255             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    256             android:keyWidth="40%p"
    257             android:isModifier="true" />
    258         <Key
    259             android:keyLabel="."
    260             android:keyIcon="@drawable/hint_popup"
    261             android:popupKeyboard="@xml/popup_punctuation"
    262             android:isModifier="true" />
    263         <Key
    264             android:keyLabel=":-)"
    265             android:keyOutputText=":-) "
    266             android:keyIcon="@drawable/hint_popup"
    267             android:popupKeyboard="@xml/popup_smileys"
    268             android:keyWidth="20%p"
    269             android:isModifier="true"
    270             android:keyEdgeFlags="right" />
    271     </Row>
    272     <Row
    273         android:keyboardMode="@+id/mode_webentry"
    274         android:keyWidth="10%p"
    275         android:rowEdgeFlags="bottom"
    276     >
    277         <Key
    278             android:codes="@integer/key_symbol"
    279             android:keyLabel="@string/label_symbol_key"
    280             android:keyWidth="20%p"
    281             android:isModifier="true"
    282             android:keyEdgeFlags="left" />
    283         <Key
    284             android:codes="@integer/key_f1"
    285             android:isModifier="true" />
    286         <Key
    287             android:codes="@integer/key_space"
    288             android:keyIcon="@drawable/sym_keyboard_space"
    289             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    290             android:keyWidth="20%p"
    291             android:isModifier="true" />
    292         <Key
    293             android:codes="@integer/key_tab"
    294             android:keyIcon="@drawable/sym_keyboard_tab"
    295             android:iconPreview="@drawable/sym_keyboard_feedback_tab"
    296             android:keyWidth="20%p"
    297             android:isModifier="true" />
    298         <Key
    299             android:keyLabel="."
    300             android:keyIcon="@drawable/hint_popup"
    301             android:popupKeyboard="@xml/popup_punctuation"
    302             android:isModifier="true" />
    303         <Key
    304             android:codes="@integer/key_return"
    305             android:keyIcon="@drawable/sym_keyboard_return"
    306             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    307             android:keyWidth="20%p"
    308             android:isModifier="true"
    309             android:keyEdgeFlags="right" />
    310     </Row>
    311     <Row
    312         android:keyboardMode="@+id/mode_normal_with_settings_key"
    313         android:keyWidth="10%p"
    314         android:rowEdgeFlags="bottom"
    315     >
    316         <Key
    317             android:codes="@integer/key_symbol"
    318             android:keyLabel="@string/label_symbol_key"
    319             android:keyWidth="15%p"
    320             android:isModifier="true"
    321             android:keyEdgeFlags="left" />
    322         <Key
    323             android:codes="@integer/key_settings"
    324             android:keyIcon="@drawable/sym_keyboard_settings"
    325             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    326             android:isModifier="true" />
    327         <Key
    328             android:codes="@integer/key_f1"
    329             android:isModifier="true" />
    330         <Key
    331             android:codes="@integer/key_space"
    332             android:keyIcon="@drawable/sym_keyboard_space"
    333             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    334             android:keyWidth="30%p"
    335             android:isModifier="true" />
    336         <Key
    337             android:keyLabel="."
    338             android:keyIcon="@drawable/hint_popup"
    339             android:popupKeyboard="@xml/popup_punctuation"
    340             android:isModifier="true" />
    341         <Key
    342             android:codes="@integer/key_return"
    343             android:keyIcon="@drawable/sym_keyboard_return"
    344             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    345             android:keyWidth="25%p"
    346             android:isModifier="true"
    347             android:keyEdgeFlags="right" />
    348     </Row>
    349     <Row
    350         android:keyboardMode="@+id/mode_url_with_settings_key"
    351         android:keyWidth="10%p"
    352         android:rowEdgeFlags="bottom"
    353     >
    354         <Key
    355             android:codes="@integer/key_symbol"
    356             android:keyLabel="@string/label_symbol_key"
    357             android:keyWidth="15%p"
    358             android:isModifier="true"
    359             android:keyEdgeFlags="left" />
    360         <Key
    361             android:codes="@integer/key_settings"
    362             android:keyIcon="@drawable/sym_keyboard_settings"
    363             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    364             android:isModifier="true" />
    365         <Key
    366             android:codes="@integer/key_f1"
    367             android:isModifier="true" />
    368         <Key
    369             android:codes="@integer/key_space"
    370             android:keyIcon="@drawable/sym_keyboard_space"
    371             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    372             android:keyWidth="30%p"
    373             android:isModifier="true" />
    374         <Key
    375             android:keyLabel="."
    376             android:keyIcon="@drawable/hint_popup"
    377             android:popupKeyboard="@xml/popup_punctuation"
    378             android:isModifier="true" />
    379         <Key
    380             android:codes="@integer/key_return"
    381             android:keyIcon="@drawable/sym_keyboard_return"
    382             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    383             android:keyWidth="25%p"
    384             android:isModifier="true"
    385             android:keyEdgeFlags="right" />
    386     </Row>
    387     <Row
    388         android:keyboardMode="@+id/mode_email_with_settings_key"
    389         android:keyWidth="10%p"
    390         android:rowEdgeFlags="bottom"
    391     >
    392         <Key
    393             android:codes="@integer/key_symbol"
    394             android:keyLabel="@string/label_symbol_key"
    395             android:keyWidth="15%p"
    396             android:isModifier="true"
    397             android:keyEdgeFlags="left" />
    398         <Key
    399             android:codes="@integer/key_settings"
    400             android:keyIcon="@drawable/sym_keyboard_settings"
    401             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    402             android:isModifier="true" />
    403         <Key
    404             android:codes="@integer/key_f1"
    405             android:isModifier="true" />
    406         <Key
    407             android:codes="@integer/key_space"
    408             android:keyIcon="@drawable/sym_keyboard_space"
    409             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    410             android:keyWidth="30%p"
    411             android:isModifier="true" />
    412         <Key
    413             android:keyLabel="."
    414             android:keyIcon="@drawable/hint_popup"
    415             android:popupKeyboard="@xml/popup_punctuation"
    416             android:isModifier="true" />
    417         <Key
    418             android:codes="@integer/key_return"
    419             android:keyIcon="@drawable/sym_keyboard_return"
    420             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    421             android:keyWidth="25%p"
    422             android:isModifier="true"
    423             android:keyEdgeFlags="right" />
    424     </Row>
    425     <Row
    426         android:keyboardMode="@+id/mode_im_with_settings_key"
    427         android:keyWidth="10%p"
    428         android:rowEdgeFlags="bottom"
    429     >
    430         <Key
    431             android:codes="@integer/key_symbol"
    432             android:keyLabel="@string/label_symbol_key"
    433             android:keyWidth="15%p"
    434             android:isModifier="true"
    435             android:keyEdgeFlags="left" />
    436         <Key
    437             android:codes="@integer/key_settings"
    438             android:keyIcon="@drawable/sym_keyboard_settings"
    439             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    440             android:isModifier="true" />
    441         <Key
    442             android:codes="@integer/key_f1"
    443             android:isModifier="true" />
    444         <Key
    445             android:codes="@integer/key_space"
    446             android:keyIcon="@drawable/sym_keyboard_space"
    447             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    448             android:keyWidth="30%p"
    449             android:isModifier="true" />
    450         <Key
    451             android:keyLabel="."
    452             android:keyIcon="@drawable/hint_popup"
    453             android:popupKeyboard="@xml/popup_punctuation"
    454             android:isModifier="true" />
    455         <Key
    456             android:keyLabel=":-)"
    457             android:keyOutputText=":-) "
    458             android:keyIcon="@drawable/hint_popup"
    459             android:popupKeyboard="@xml/popup_smileys"
    460             android:keyWidth="25%p"
    461             android:isModifier="true"
    462             android:keyEdgeFlags="right" />
    463     </Row>
    464     <Row
    465         android:keyboardMode="@+id/mode_webentry_with_settings_key"
    466         android:keyWidth="10%p"
    467         android:rowEdgeFlags="bottom"
    468     >
    469         <Key
    470             android:codes="@integer/key_symbol"
    471             android:keyLabel="@string/label_symbol_key"
    472             android:keyWidth="15%p"
    473             android:isModifier="true"
    474             android:keyEdgeFlags="left" />
    475         <Key
    476             android:codes="@integer/key_settings"
    477             android:keyIcon="@drawable/sym_keyboard_settings"
    478             android:iconPreview="@drawable/sym_keyboard_feedback_settings"
    479             android:isModifier="true" />
    480         <Key
    481             android:codes="@integer/key_f1"
    482             android:isModifier="true" />
    483         <Key
    484             android:codes="@integer/key_space"
    485             android:keyIcon="@drawable/sym_keyboard_space"
    486             android:iconPreview="@drawable/sym_keyboard_feedback_space"
    487             android:keyWidth="30%p"
    488             android:isModifier="true" />
    489         <Key
    490             android:codes="@integer/key_tab"
    491             android:keyIcon="@drawable/sym_keyboard_tab"
    492             android:iconPreview="@drawable/sym_keyboard_feedback_tab"
    493             android:isModifier="true" />
    494         <Key
    495             android:keyLabel="."
    496             android:keyIcon="@drawable/hint_popup"
    497             android:popupKeyboard="@xml/popup_punctuation"
    498             android:isModifier="true" />
    499         <Key
    500             android:codes="@integer/key_return"
    501             android:keyIcon="@drawable/sym_keyboard_return"
    502             android:iconPreview="@drawable/sym_keyboard_feedback_return"
    503             android:keyWidth="15%p"
    504             android:isModifier="true"
    505             android:keyEdgeFlags="right" />
    506     </Row>
    507 </Keyboard>
    508