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 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:keyWidth="10%p" 24 android:horizontalGap="0px" 25 android:verticalGap="@dimen/key_bottom_gap" 26 android:keyHeight="@dimen/key_height" 27 > 28 <Row 29 android:rowEdgeFlags="top" 30 > 31 <Key 32 android:keyLabel="~" 33 android:keyEdgeFlags="left" /> 34 <Key 35 android:keyLabel="`" /> 36 <Key 37 android:keyLabel="|" /> 38 <Key 39 android:keyLabel="" 40 android:popupKeyboard="@xml/kbd_popup_template" 41 android:popupCharacters="" /> 42 <Key 43 android:keyLabel="" /> 44 <Key 45 android:keyLabel="" 46 android:popupKeyboard="@xml/kbd_popup_template" 47 android:popupCharacters="" /> 48 <Key 49 android:keyLabel="" /> 50 <Key 51 android:keyLabel="" /> 52 <Key 53 android:keyLabel="{" /> 54 <Key 55 android:keyLabel="}" 56 android:keyEdgeFlags="right" /> 57 </Row> 58 <Row> 59 <Key 60 android:codes="@integer/key_tab" 61 android:keyLabel="\u21E5" 62 android:keyEdgeFlags="left" /> 63 <Key 64 android:keyLabel="" /> 65 <Key 66 android:keyLabel="" /> 67 <Key 68 android:keyLabel="" /> 69 <Key 70 android:keyLabel="" /> 71 <Key 72 android:keyLabel="^" 73 android:popupKeyboard="@xml/kbd_popup_template" 74 android:popupCharacters="" /> 75 <Key 76 android:keyLabel="_" /> 77 <Key 78 android:keyLabel="=" 79 android:popupKeyboard="@xml/kbd_popup_template" 80 android:popupCharacters="" /> 81 <Key 82 android:keyLabel="[" /> 83 <Key 84 android:keyLabel="]" 85 android:keyEdgeFlags="right" /> 86 </Row> 87 <Row> 88 <Key 89 android:codes="@integer/key_shift" 90 android:keyLabel="@string/label_alt_key" 91 android:keyWidth="15%p" 92 android:isModifier="true" 93 android:isSticky="true" 94 android:keyEdgeFlags="left" /> 95 <Key 96 android:keyLabel="" /> 97 <Key 98 android:keyLabel="" /> 99 <Key 100 android:keyLabel="" /> 101 <Key 102 android:keyLabel="" 103 android:popupKeyboard="@xml/kbd_popup_template" 104 android:popupCharacters="" /> 105 <Key 106 android:keyLabel="\\" /> 107 <Key 108 android:keyLabel="<" 109 android:popupKeyboard="@xml/kbd_popup_template" 110 android:popupCharacters="" /> 111 <Key 112 android:keyLabel=">" 113 android:popupKeyboard="@xml/kbd_popup_template" 114 android:popupCharacters="" /> 115 <Key 116 android:codes="@integer/key_delete" 117 android:keyIcon="@drawable/sym_keyboard_delete" 118 android:iconPreview="@drawable/sym_keyboard_feedback_delete" 119 android:keyWidth="15%p" 120 android:isModifier="true" 121 android:isRepeatable="true" 122 android:keyEdgeFlags="right" /> 123 </Row> 124 <Row 125 android:keyboardMode="@+id/mode_symbols" 126 android:rowEdgeFlags="bottom" 127 > 128 <Key 129 android:codes="@integer/key_symbol" 130 android:keyLabel="@string/label_alpha_key" 131 android:keyWidth="20%p" 132 android:isModifier="true" 133 android:keyEdgeFlags="left" /> 134 <Key 135 android:keyLabel="" 136 android:isModifier="true" /> 137 <Key 138 android:codes="@integer/key_space" 139 android:keyIcon="@drawable/sym_keyboard_space" 140 android:iconPreview="@drawable/sym_keyboard_feedback_space" 141 android:keyWidth="40%p" 142 android:isModifier="true" /> 143 <Key 144 android:keyLabel="" 145 android:isModifier="true" /> 146 <Key 147 android:codes="@integer/key_return" 148 android:keyIcon="@drawable/sym_keyboard_return" 149 android:iconPreview="@drawable/sym_keyboard_feedback_return" 150 android:keyWidth="20%p" 151 android:isModifier="true" 152 android:keyEdgeFlags="right" /> 153 </Row> 154 <Row 155 android:keyboardMode="@+id/mode_symbols_with_settings_key" 156 android:rowEdgeFlags="bottom" 157 > 158 <Key 159 android:codes="@integer/key_symbol" 160 android:keyLabel="@string/label_alpha_key" 161 android:keyWidth="15%p" 162 android:isModifier="true" 163 android:keyEdgeFlags="left" /> 164 <Key 165 android:codes="@integer/key_settings" 166 android:keyIcon="@drawable/sym_keyboard_settings" 167 android:iconPreview="@drawable/sym_keyboard_feedback_settings" 168 android:isModifier="true" /> 169 <Key 170 android:keyLabel="" 171 android:isModifier="true" /> 172 <Key 173 android:codes="@integer/key_space" 174 android:keyIcon="@drawable/sym_keyboard_space" 175 android:iconPreview="@drawable/sym_keyboard_feedback_space" 176 android:keyWidth="30%p" 177 android:isModifier="true" /> 178 <Key 179 android:keyLabel="" 180 android:isModifier="true" /> 181 <Key 182 android:codes="@integer/key_return" 183 android:keyIcon="@drawable/sym_keyboard_return" 184 android:iconPreview="@drawable/sym_keyboard_feedback_return" 185 android:keyWidth="25%p" 186 android:isModifier="true" 187 android:keyEdgeFlags="right" /> 188 </Row> 189 </Keyboard> 190