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