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 | /> |
Amith Yamasani | 56f96fe | 2009-08-03 18:16:19 -0700 | [diff] [blame] | 49 | <Key android:keyLabel="@string/key_i" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 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"/> |
Amith Yamasani | 56f96fe | 2009-08-03 18:16:19 -0700 | [diff] [blame] | 73 | <Key android:codes="103" android:keyLabel="g" |
| 74 | android:popupKeyboard="@xml/kbd_popup_template" |
| 75 | android:popupCharacters="@string/alternates_for_g"/> |
| 76 | /> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 77 | <Key android:codes="104" android:keyLabel="h"/> |
| 78 | <Key android:codes="106" android:keyLabel="j"/> |
| 79 | <Key android:codes="107" android:keyLabel="k"/> |
Amith Yamasani | 864fcbd | 2009-04-13 15:35:08 -0700 | [diff] [blame] | 80 | <Key android:codes="108" android:keyLabel="l" |
| 81 | android:popupKeyboard="@xml/kbd_popup_template" |
| 82 | android:popupCharacters="@string/alternates_for_l" |
| 83 | android:keyEdgeFlags="right"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 84 | </Row> |
| 85 | |
| 86 | <Row> |
| 87 | <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" |
| 88 | android:keyWidth="15%p" android:isModifier="true" |
| 89 | android:iconPreview="@drawable/sym_keyboard_feedback_shift" |
| 90 | android:isSticky="true" android:keyEdgeFlags="left"/> |
Amith Yamasani | 4cc3a58 | 2009-03-24 18:05:24 -0700 | [diff] [blame] | 91 | <Key android:codes="122" android:keyLabel="z" |
| 92 | android:popupKeyboard="@xml/kbd_popup_template" |
| 93 | android:popupCharacters="@string/alternates_for_z"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 94 | <Key android:codes="120" android:keyLabel="x"/> |
| 95 | <Key android:codes="99" android:keyLabel="c" |
| 96 | android:popupKeyboard="@xml/kbd_popup_template" |
| 97 | android:popupCharacters="@string/alternates_for_c" |
| 98 | /> |
| 99 | <Key android:codes="118" android:keyLabel="v"/> |
| 100 | <Key android:codes="98" android:keyLabel="b"/> |
| 101 | <Key android:codes="110" android:keyLabel="n" |
| 102 | android:popupKeyboard="@xml/kbd_popup_template" |
| 103 | android:popupCharacters="@string/alternates_for_n" |
| 104 | /> |
| 105 | <Key android:codes="109" android:keyLabel="m"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 106 | <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" |
| 107 | android:keyWidth="15%p" android:keyEdgeFlags="right" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 108 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
| 109 | android:isRepeatable="true"/> |
| 110 | </Row> |
| 111 | |
| 112 | <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom"> |
| 113 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
| 114 | android:popupKeyboard="@xml/kbd_popup_template" |
Amith Yamasani | 4a7ff90 | 2009-07-23 12:17:48 -0700 | [diff] [blame] | 115 | android:popupCharacters="_" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 116 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame^] | 117 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe" |
| 118 | android:keyWidth="10%p"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 119 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 120 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 121 | android:keyWidth="40%p" android:isRepeatable="true"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 122 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 123 | android:keyWidth="10%p"/> |
| 124 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 125 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 126 | android:keyWidth="20%p" android:keyEdgeFlags="right"/> |
| 127 | </Row> |
| 128 | |
| 129 | <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom"> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 130 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 131 | android:popupKeyboard="@xml/kbd_popup_template" |
Amith Yamasani | 4a7ff90 | 2009-07-23 12:17:48 -0700 | [diff] [blame] | 132 | android:popupCharacters="_" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 133 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame^] | 134 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe" |
| 135 | android:keyWidth="15%p"/> |
| 136 | <!--Key android:keyLabel="@string/popular_domain_0" |
Amith Yamasani | d9688c7 | 2009-09-04 15:30:43 -0700 | [diff] [blame] | 137 | android:keyOutputText="@string/popular_domain_0" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 138 | android:popupKeyboard="@xml/popup_domains" |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame^] | 139 | android:keyWidth="15%p"/--> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 140 | <Key android:keyLabel="/" android:keyWidth="15%p"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 141 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 142 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| 143 | android:keyWidth="15%p" android:isRepeatable="true"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 144 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 145 | android:keyWidth="15%p"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 146 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 147 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 148 | android:keyWidth="20%p" android:keyEdgeFlags="right"/> |
| 149 | </Row> |
| 150 | |
| 151 | <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom"> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 152 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 153 | android:popupKeyboard="@xml/kbd_popup_template" |
Amith Yamasani | 4a7ff90 | 2009-07-23 12:17:48 -0700 | [diff] [blame] | 154 | android:popupCharacters="_" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 155 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame^] | 156 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe" |
| 157 | android:keyWidth="15%p"/> |
Amith Yamasani | d9688c7 | 2009-09-04 15:30:43 -0700 | [diff] [blame] | 158 | <Key android:keyLabel="\@" android:keyWidth="15%p"/> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame^] | 159 | <!--Key android:keyLabel="@string/popular_domain_0" |
Amith Yamasani | d9688c7 | 2009-09-04 15:30:43 -0700 | [diff] [blame] | 160 | android:keyOutputText="@string/popular_domain_0" |
| 161 | android:popupKeyboard="@xml/popup_domains" |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame^] | 162 | android:keyWidth="15%p"/--> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 163 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 164 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
Amith Yamasani | d9688c7 | 2009-09-04 15:30:43 -0700 | [diff] [blame] | 165 | android:keyWidth="15%p" android:isRepeatable="true"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 166 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
Amith Yamasani | d9688c7 | 2009-09-04 15:30:43 -0700 | [diff] [blame] | 167 | android:keyWidth="15%p"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 168 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 169 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| 170 | android:keyWidth="20%p" android:keyEdgeFlags="right"/> |
| 171 | </Row> |
| 172 | |
| 173 | <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom"> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 174 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 175 | android:popupKeyboard="@xml/kbd_popup_template" |
Amith Yamasani | 4a7ff90 | 2009-07-23 12:17:48 -0700 | [diff] [blame] | 176 | android:popupCharacters="_" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 177 | android:keyWidth="20%p" android:keyEdgeFlags="left"/> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame^] | 178 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe" |
| 179 | android:keyWidth="10%p"/> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 180 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 181 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 182 | android:keyWidth="40%p" android:isRepeatable="true"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 183 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 184 | android:keyWidth="10%p"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 185 | <Key android:keyLabel=":-)" android:keyOutputText=":-) " |
| 186 | android:popupKeyboard="@xml/popup_smileys" |
| 187 | android:keyWidth="20%p" android:keyEdgeFlags="right"/> |
| 188 | </Row> |
| 189 | </Keyboard> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame^] | 190 | |