satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 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 xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | android:keyWidth="9.09%p" |
| 24 | android:horizontalGap="0px" |
| 25 | android:verticalGap="0px" |
| 26 | android:keyHeight="@dimen/key_height" |
| 27 | > |
| 28 | |
| 29 | <Row> |
| 30 | <Key android:keyLabel="љ" |
| 31 | android:keyEdgeFlags="left" /> |
| 32 | <Key android:keyLabel="њ" /> |
| 33 | <Key android:keyLabel="е" /> |
| 34 | <Key android:keyLabel="р" /> |
| 35 | <Key android:keyLabel="т" /> |
| 36 | <Key android:keyLabel="з" /> |
| 37 | <Key android:keyLabel="у" /> |
| 38 | <Key android:keyLabel="и" /> |
| 39 | <Key android:keyLabel="о" /> |
| 40 | <Key android:keyLabel="п" /> |
| 41 | <Key android:keyLabel="ш" |
| 42 | android:keyEdgeFlags="right" /> |
| 43 | </Row> |
| 44 | |
| 45 | <Row> |
| 46 | <Key android:keyLabel="а" |
| 47 | android:keyEdgeFlags="left" /> |
| 48 | <Key android:keyLabel="с" /> |
| 49 | <Key android:keyLabel="д" /> |
| 50 | <Key android:keyLabel="ф" /> |
| 51 | <Key android:keyLabel="г" /> |
| 52 | <Key android:keyLabel="х" /> |
| 53 | <Key android:keyLabel="ј" /> |
| 54 | <Key android:keyLabel="к" /> |
| 55 | <Key android:keyLabel="л" /> |
| 56 | <Key android:keyLabel="ч" /> |
| 57 | <Key android:keyLabel="ћ" /> |
| 58 | <Key android:keyLabel="ђ" |
| 59 | android:keyEdgeFlags="right" /> |
| 60 | </Row> |
| 61 | |
| 62 | <Row android:keyWidth="8.5%p"> |
| 63 | <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" |
| 64 | android:keyWidth="11.75%p" android:isModifier="true" |
| 65 | android:iconPreview="@drawable/sym_keyboard_feedback_shift" |
| 66 | android:isSticky="true" android:keyEdgeFlags="left"/> |
| 67 | <Key android:keyLabel="ж" /> |
| 68 | <Key android:keyLabel="џ" /> |
| 69 | <Key android:keyLabel="ц" /> |
| 70 | <Key android:keyLabel="в" /> |
| 71 | <Key android:keyLabel="б" /> |
| 72 | <Key android:keyLabel="н" /> |
| 73 | <Key android:keyLabel="м" /> |
| 74 | <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" |
| 75 | android:keyWidth="11.75%p" android:keyEdgeFlags="right" |
| 76 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 77 | android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 78 | </Row> |
| 79 | |
| 80 | <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom"> |
| 81 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 82 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 83 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 84 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 85 | android:keyWidth="10%p" android:isModifier="true"/> |
| 86 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 87 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 88 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 89 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 90 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 91 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 92 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 93 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 94 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 95 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 96 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 97 | </Row> |
| 98 | |
| 99 | <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom"> |
| 100 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 101 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 102 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 103 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 104 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 105 | <Key android:keyLabel="/" android:keyWidth="10%p"/> |
| 106 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 107 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 108 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 109 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 110 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 111 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 112 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 113 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 114 | </Row> |
| 115 | |
| 116 | <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom"> |
| 117 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 118 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 119 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 120 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 121 | android:keyWidth="10%p" android:isModifier="true"/> |
| 122 | <Key android:keyLabel="\@"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 123 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 124 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 125 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 126 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/> |
| 127 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 128 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 129 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 130 | </Row> |
| 131 | |
| 132 | <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom"> |
| 133 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 134 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 135 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 136 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 137 | android:keyWidth="10%p" android:isModifier="true"/> |
| 138 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 139 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 140 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 141 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 142 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 143 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 144 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 145 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 146 | <Key android:keyLabel=":-)" android:keyOutputText=":-) " |
| 147 | android:popupKeyboard="@xml/popup_smileys" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 148 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 149 | </Row> |
| 150 | |
| 151 | <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom"> |
| 152 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
Ken Wakasa | a8d9702 | 2010-09-05 21:59:43 +0900 | [diff] [blame] | 153 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 154 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 155 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 156 | android:keyWidth="10%p" android:isModifier="true"/> |
| 157 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 158 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 159 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 160 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 161 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
Ken Wakasa | a8d9702 | 2010-09-05 21:59:43 +0900 | [diff] [blame] | 162 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 163 | <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab" |
| 164 | android:iconPreview="@drawable/sym_keyboard_feedback_tab" |
Ken Wakasa | a8d9702 | 2010-09-05 21:59:43 +0900 | [diff] [blame] | 165 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 166 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 167 | android:keyWidth="10%p" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 168 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 169 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame] | 170 | android:keyWidth="15%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
satok | 979f869 | 2010-08-20 14:35:02 +0900 | [diff] [blame] | 171 | </Row> |
| 172 | </Keyboard> |