The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 3 | /* |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 4 | ** |
| 5 | ** Copyright 2008, The Android Open Source Project |
| 6 | ** |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 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 |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 10 | ** |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 12 | ** |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 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 |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 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> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 29 | <Key android:codes="97" android:keyLabel="a" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 30 | android:popupKeyboard="@xml/kbd_popup_template" |
| 31 | android:popupCharacters="@string/alternates_for_a" |
| 32 | android:keyEdgeFlags="left"/> |
| 33 | <Key android:codes="122" android:keyLabel="z"/> |
| 34 | <Key android:codes="101" android:keyLabel="e" |
| 35 | android:popupKeyboard="@xml/kbd_popup_template" |
| 36 | android:popupCharacters="@string/alternates_for_e" |
| 37 | /> |
| 38 | <Key android:codes="114" android:keyLabel="r"/> |
| 39 | <Key android:codes="116" android:keyLabel="t"/> |
| 40 | <Key android:codes="121" android:keyLabel="y" |
| 41 | android:popupKeyboard="@xml/kbd_popup_template" |
| 42 | android:popupCharacters="@string/alternates_for_y" |
| 43 | /> |
| 44 | <Key android:codes="117" android:keyLabel="u" |
| 45 | android:popupKeyboard="@xml/kbd_popup_template" |
| 46 | android:popupCharacters="@string/alternates_for_u" |
| 47 | /> |
| 48 | <Key android:codes="105" android:keyLabel="i" |
| 49 | android:popupKeyboard="@xml/kbd_popup_template" |
| 50 | android:popupCharacters="@string/alternates_for_i" |
| 51 | /> |
| 52 | <Key android:codes="111" android:keyLabel="o" |
| 53 | android:popupKeyboard="@xml/kbd_popup_template" |
| 54 | android:popupCharacters="@string/alternates_for_o" |
| 55 | /> |
| 56 | <Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/> |
| 57 | </Row> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 58 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 59 | <Row> |
| 60 | <Key android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/> |
| 61 | <Key android:codes="115" android:keyLabel="s" |
| 62 | android:popupKeyboard="@xml/kbd_popup_template" |
| 63 | android:popupCharacters="@string/alternates_for_s" |
| 64 | /> |
| 65 | <Key android:codes="100" android:keyLabel="d"/> |
| 66 | <Key android:codes="102" android:keyLabel="f"/> |
| 67 | <Key android:codes="103" android:keyLabel="g"/> |
| 68 | <Key android:codes="104" android:keyLabel="h"/> |
| 69 | <Key android:codes="106" android:keyLabel="j"/> |
| 70 | <Key android:codes="107" android:keyLabel="k"/> |
| 71 | <Key android:codes="108" android:keyLabel="l"/> |
| 72 | <Key android:codes="109" android:keyLabel="m" android:keyEdgeFlags="right"/> |
| 73 | </Row> |
| 74 | |
| 75 | <Row> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 76 | <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 77 | android:keyWidth="15%p" android:isModifier="true" |
| 78 | android:iconPreview="@drawable/sym_keyboard_feedback_shift" |
| 79 | android:isSticky="true" android:keyEdgeFlags="left"/> |
| 80 | <Key android:codes="119" android:keyLabel="w"/> |
| 81 | <Key android:codes="120" android:keyLabel="x"/> |
| 82 | <Key android:codes="99" android:keyLabel="c" |
| 83 | android:popupKeyboard="@xml/kbd_popup_template" |
| 84 | android:popupCharacters="@string/alternates_for_c" |
| 85 | /> |
| 86 | <Key android:codes="118" android:keyLabel="v"/> |
| 87 | <Key android:codes="98" android:keyLabel="b"/> |
| 88 | <Key android:codes="110" android:keyLabel="n" |
| 89 | android:popupKeyboard="@xml/kbd_popup_template" |
| 90 | android:popupCharacters="@string/alternates_for_n" |
| 91 | /> |
| 92 | <!--Key android:codes="233,224,232,234" android:keyLabel="é"/--> |
| 93 | <Key android:keyLabel="\'"/> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 94 | <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" |
| 95 | android:keyWidth="15%p" android:keyEdgeFlags="right" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 96 | android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 97 | android:isRepeatable="true" android:isModifier="true"/> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 98 | </Row> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 99 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 100 | <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom"> |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 101 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
| 102 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 103 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 104 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 105 | android:keyWidth="10%p" android:isModifier="true"/> |
| 106 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 107 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 108 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 109 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 110 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 111 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
| 112 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 113 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 114 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 115 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 116 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 117 | </Row> |
| 118 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 119 | <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom"> |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 120 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 121 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 122 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 123 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 124 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 125 | <Key android:keyLabel="/" android:keyWidth="10%p"/> |
| 126 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
Mike LeBeau | 466741d | 2010-01-16 12:21:23 -0800 | [diff] [blame] | 127 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 128 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 129 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 130 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 131 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
Mike LeBeau | 466741d | 2010-01-16 12:21:23 -0800 | [diff] [blame] | 132 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 133 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
Mike LeBeau | 466741d | 2010-01-16 12:21:23 -0800 | [diff] [blame] | 134 | </Row> |
| 135 | |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 136 | <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom"> |
| 137 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 138 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 139 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 140 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 141 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 142 | <Key android:keyLabel="\@"/> |
Mike LeBeau | 466741d | 2010-01-16 12:21:23 -0800 | [diff] [blame] | 143 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 144 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 145 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 146 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/> |
Mike LeBeau | 466741d | 2010-01-16 12:21:23 -0800 | [diff] [blame] | 147 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 148 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 149 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
Mike LeBeau | 466741d | 2010-01-16 12:21:23 -0800 | [diff] [blame] | 150 | </Row> |
| 151 | |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 152 | <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom"> |
| 153 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 154 | android:keyWidth="15%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 155 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 156 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 157 | android:keyWidth="10%p" android:isModifier="true"/> |
| 158 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 159 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 160 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 161 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 162 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 163 | android:keyWidth="30%p" android:isRepeatable="true" android:isModifier="true"/> |
| 164 | <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 165 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 166 | <Key android:keyLabel=":-)" android:keyOutputText=":-) " |
| 167 | android:popupKeyboard="@xml/popup_smileys" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 168 | android:keyWidth="25%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 169 | </Row> |
| 170 | |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 171 | <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom"> |
| 172 | <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 173 | android:keyWidth="10%p" android:keyEdgeFlags="left" android:isModifier="true"/> |
| 174 | <Key android:codes="@integer/key_settings" android:keyIcon="@drawable/sym_keyboard_settings" |
| 175 | android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| 176 | android:keyWidth="10%p" android:isModifier="true"/> |
| 177 | <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic" |
| 178 | android:iconPreview="@drawable/sym_keyboard_feedback_mic" |
| 179 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 180 | <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" |
| 181 | android:iconPreview="@drawable/sym_keyboard_feedback_space" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 182 | android:keyWidth="20%p" android:isRepeatable="true" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 183 | <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab" |
| 184 | android:iconPreview="@drawable/sym_keyboard_feedback_tab" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 185 | android:keyWidth="15%p" android:isModifier="true"/> |
| 186 | <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" |
| 187 | android:keyWidth="10%p" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 188 | <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" |
| 189 | android:iconPreview="@drawable/sym_keyboard_feedback_return" |
satok | d383364 | 2010-09-02 12:57:07 +0900 | [diff] [blame^] | 190 | android:keyWidth="15%p" android:keyEdgeFlags="right" android:isModifier="true"/> |
Amith Yamasani | cf02653 | 2010-01-26 21:25:29 -0800 | [diff] [blame] | 191 | </Row> |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 192 | </Keyboard> |