The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [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 | <Keyboard xmlns:android="http://schemas.android.com/apk/res/android" |
| 22 | android:keyWidth="10%p" |
| 23 | android:horizontalGap="0px" |
| 24 | android:verticalGap="0px" |
| 25 | android:keyHeight="@dimen/key_height" |
| 26 | > |
| 27 | |
| 28 | <Row> |
| 29 | <Key android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/> |
| 30 | <Key android:codes="119" android:keyLabel="w"/> |
| 31 | <Key android:codes="101" android:keyLabel="e" |
| 32 | android:popupKeyboard="@xml/kbd_popup_template" |
| 33 | android:popupCharacters="@string/alternates_for_e" |
| 34 | /> |
Amith Yamasani | 4cc3a58 | 2009-03-24 18:05:24 -0700 | [diff] [blame^] | 35 | <Key android:codes="114" android:keyLabel="r" |
| 36 | android:popupKeyboard="@xml/kbd_popup_template" |
| 37 | android:popupCharacters="@string/alternates_for_r"/> |
| 38 | <Key android:codes="116" android:keyLabel="t" |
| 39 | android:popupKeyboard="@xml/kbd_popup_template" |
| 40 | android:popupCharacters="@string/alternates_for_t"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 41 | <Key android:codes="121" android:keyLabel="y" |
| 42 | android:popupKeyboard="@xml/kbd_popup_template" |
| 43 | android:popupCharacters="@string/alternates_for_y" |
| 44 | /> |
| 45 | <Key android:codes="117" android:keyLabel="u" |
| 46 | android:popupKeyboard="@xml/kbd_popup_template" |
| 47 | android:popupCharacters="@string/alternates_for_u" |
| 48 | /> |
| 49 | <Key android:codes="105" android:keyLabel="i" |
| 50 | android:popupKeyboard="@xml/kbd_popup_template" |
| 51 | android:popupCharacters="@string/alternates_for_i" |
| 52 | /> |
| 53 | <Key android:codes="111" android:keyLabel="o" |
| 54 | android:popupKeyboard="@xml/kbd_popup_template" |
| 55 | android:popupCharacters="@string/alternates_for_o" |
| 56 | /> |
| 57 | <Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/> |
| 58 | </Row> |
| 59 | |
| 60 | <Row> |
| 61 | <Key android:codes="97" android:keyLabel="a" android:horizontalGap="5%p" |
| 62 | android:popupKeyboard="@xml/kbd_popup_template" |
| 63 | android:popupCharacters="@string/alternates_for_a" |
| 64 | android:keyEdgeFlags="left"/> |
| 65 | <Key android:codes="115" android:keyLabel="s" |
| 66 | android:popupKeyboard="@xml/kbd_popup_template" |
| 67 | android:popupCharacters="@string/alternates_for_s" |
| 68 | /> |
Amith Yamasani | 4cc3a58 | 2009-03-24 18:05:24 -0700 | [diff] [blame^] | 69 | <Key android:codes="100" android:keyLabel="d" |
| 70 | android:popupKeyboard="@xml/kbd_popup_template" |
| 71 | android:popupCharacters="@string/alternates_for_d"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 72 | <Key android:codes="102" android:keyLabel="f"/> |
| 73 | <Key android:codes="103" android:keyLabel="g"/> |
| 74 | <Key android:codes="104" android:keyLabel="h"/> |
| 75 | <Key android:codes="106" android:keyLabel="j"/> |
| 76 | <Key android:codes="107" android:keyLabel="k"/> |
| 77 | <Key android:codes="108" android:keyLabel="l" android:keyEdgeFlags="right"/> |
| 78 | </Row> |
| 79 | |
| 80 | <Row> |
| 81 | <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" |
| 82 | android:keyWidth="15%p" android:isModifier="true" |
| 83 | android:iconPreview="@drawable/sym_keyboard_feedback_shift" |
| 84 | android:isSticky="true" android:keyEdgeFlags="left"/> |
Amith Yamasani | 4cc3a58 | 2009-03-24 18:05:24 -0700 | [diff] [blame^] | 85 | <Key android:codes="122" android:keyLabel="z" |
| 86 | android:popupKeyboard="@xml/kbd_popup_template" |
| 87 | android:popupCharacters="@string/alternates_for_z"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 88 | <Key android:codes="120" android:keyLabel="x"/> |
| 89 | <Key android:codes="99" android:keyLabel="c" |
| 90 | android:popupKeyboard="@xml/kbd_popup_template" |
| 91 | android:popupCharacters="@string/alternates_for_c" |
| 92 | /> |
| 93 | <Key android:codes="118" android:keyLabel="v"/> |
| 94 | <Key android:codes="98" android:keyLabel="b"/> |
| 95 | <Key android:codes="110" android:keyLabel="n" |
| 96 | android:popupKeyboard="@xml/kbd_popup_template" |
| 97 | android:popupCharacters="@string/alternates_for_n" |
| 98 | /> |
| 99 | <Key android:codes="109" android:keyLabel="m"/> |
| 100 | <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" |
| 101 | android:keyWidth="15%p" android:keyEdgeFlags="right" |
| 102 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
| 103 | android:isRepeatable="true"/> |
| 104 | </Row> |
| 105 | |
| 106 | <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom"> |
| 107 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
| 108 | android:popupKeyboard="@xml/kbd_popup_template" |
| 109 | android:popupCharacters="" |
| 110 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
| 111 | <Key android:keyLabel="," android:keyWidth="15%p" /> |
| 112 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 113 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 114 | android:keyWidth="30%p" android:isRepeatable="true"/> |
| 115 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 116 | android:keyWidth="15%p"/> |
| 117 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 118 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 119 | android:keyWidth="20%p" android:keyEdgeFlags="right"/> |
| 120 | </Row> |
| 121 | |
| 122 | <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom"> |
| 123 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
| 124 | android:popupKeyboard="@xml/kbd_popup_template" |
| 125 | android:popupCharacters="" |
| 126 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
| 127 | <Key android:keyLabel=".com" android:keyOutputText=".com" |
| 128 | android:popupKeyboard="@xml/popup_domains" |
| 129 | android:keyWidth="15%p"/> |
| 130 | <Key android:keyLabel="/" android:keyWidth="15%p"/> |
| 131 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 132 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 133 | android:keyWidth="15%p" android:isRepeatable="true"/> |
| 134 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 135 | android:keyWidth="15%p"/> |
| 136 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 137 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 138 | android:keyWidth="20%p" android:keyEdgeFlags="right"/> |
| 139 | </Row> |
| 140 | |
| 141 | <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom"> |
| 142 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
| 143 | android:popupKeyboard="@xml/kbd_popup_template" |
| 144 | android:popupCharacters="" |
| 145 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
| 146 | <Key android:keyLabel="," android:keyWidth="15%p" /> |
| 147 | <Key android:keyLabel="\@" android:keyWidth="15%p"/> |
| 148 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 149 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 150 | android:keyWidth="15%p" android:isRepeatable="true"/> |
| 151 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 152 | android:keyWidth="15%p"/> |
| 153 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 154 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 155 | android:keyWidth="20%p" android:keyEdgeFlags="right"/> |
| 156 | </Row> |
| 157 | |
| 158 | <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom"> |
| 159 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
| 160 | android:popupKeyboard="@xml/kbd_popup_template" |
| 161 | android:popupCharacters="" |
| 162 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
| 163 | <Key android:keyLabel="," android:keyWidth="15%p"/> |
| 164 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 165 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 166 | android:keyWidth="30%p" android:isRepeatable="true"/> |
| 167 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 168 | android:keyWidth="15%p"/> |
| 169 | <Key android:keyLabel=":-)" android:keyOutputText=":-) " |
| 170 | android:popupKeyboard="@xml/popup_smileys" |
| 171 | android:keyWidth="20%p" android:keyEdgeFlags="right"/> |
| 172 | </Row> |
| 173 | </Keyboard> |
| 174 | |