1<!-- 2 Copyright 2019 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<Keyboard xmlns:android="http://schemas.android.com/apk/res/android" 18 android:keyHeight="@dimen/key_height" 19 android:keyWidth="@dimen/key_width" 20 android:verticalGap="@dimen/keyboard_vertical_gap" 21 android:horizontalGap="@dimen/keyboard_horizontal_gap" > 22 23 <Row> 24 <Key 25 android:codes="33" 26 android:keyEdgeFlags="left" 27 android:keyLabel="!" /> 28 <Key 29 android:codes="64" 30 android:keyLabel="\@" /> 31 <Key 32 android:codes="35" 33 android:keyLabel="\#" /> 34 <Key 35 android:codes="163" 36 android:keyLabel="£" /> 37 <Key 38 android:codes="37" 39 android:keyLabel="%" /> 40 <Key 41 android:codes="94" 42 android:keyLabel="^" /> 43 <Key 44 android:codes="38" 45 android:keyLabel="&" /> 46 <Key 47 android:codes="42" 48 android:keyLabel="*" /> 49 <Key 50 android:codes="40" 51 android:keyLabel="(" /> 52 <Key 53 android:codes="41" 54 android:keyLabel=")" /> 55 <Key 56 android:codes="-5" 57 android:keyEdgeFlags="right" 58 android:keyIcon="@drawable/ic_ime_delete" 59 android:keyLabel="@string/keyboardview_keycode_delete" /> 60 </Row> 61 <Row> 62 <Key 63 android:codes="126" 64 android:keyEdgeFlags="left" 65 android:keyLabel="~" /> 66 <Key 67 android:codes="96" 68 android:keyLabel="`" /> 69 <Key 70 android:codes="91" 71 android:keyLabel="[" /> 72 <Key 73 android:codes="93" 74 android:keyLabel="]" /> 75 <Key 76 android:codes="123" 77 android:keyLabel="{" /> 78 <Key 79 android:codes="125" 80 android:keyLabel="}" /> 81 <Key 82 android:codes="124" 83 android:keyLabel="|" /> 84 <Key 85 android:codes="43" 86 android:keyLabel="+" /> 87 <Key 88 android:codes="61" 89 android:keyLabel="=" /> 90 <Key 91 android:codes="47" 92 android:keyLabel="/" /> 93 <Key 94 android:codes="92" 95 android:keyEdgeFlags="right" 96 android:keyLabel="\\" /> 97 </Row> 98 <Row> 99 <Key 100 android:codes="176" 101 android:keyEdgeFlags="left" 102 android:keyLabel="°" /> 103 <Key 104 android:codes="191" 105 android:keyLabel="¿" /> 106 <Key 107 android:codes="161" 108 android:keyLabel="¡" /> 109 <Key 110 android:codes="247" 111 android:keyLabel="÷" /> 112 <Key 113 android:codes="215" 114 android:keyLabel="×" /> 115 <Key 116 android:codes="59" 117 android:keyLabel=";" /> 118 <Key 119 android:codes="58" 120 android:keyLabel=":" /> 121 <Key 122 android:codes="34" 123 android:keyLabel=""" /> 124 <Key 125 android:codes="39" 126 android:keyLabel="\'" /> 127 <Key 128 android:codes="95" 129 android:keyLabel="_" /> 130 <Key 131 android:codes="38" 132 android:keyEdgeFlags="right" 133 android:keyLabel="&" /> 134 </Row> 135 <Row android:rowEdgeFlags="bottom" > 136 <Key 137 android:codes="8364" 138 android:keyEdgeFlags="left" 139 android:keyLabel="€" /> 140 <Key 141 android:codes="165" 142 android:keyLabel="¥" /> 143 <Key 144 android:codes="162" 145 android:keyLabel="¢" /> 146 <Key 147 android:codes="36" 148 android:keyLabel="$" /> 149 <Key 150 android:codes="60" 151 android:keyLabel="<" /> 152 <Key 153 android:codes="62" 154 android:keyLabel=">" /> 155 <Key 156 android:codes="8226" 157 android:keyLabel="•" /> 158 <Key 159 android:codes="44" 160 android:keyLabel="," /> 161 <Key 162 android:codes="46" 163 android:keyLabel="." /> 164 <Key 165 android:codes="45" 166 android:keyLabel="-" /> 167 <Key 168 android:codes="63" 169 android:keyEdgeFlags="right" 170 android:keyLabel="\?" /> 171 </Row> 172 <Row android:rowEdgeFlags="bottom" > 173 <Key 174 android:codes="-2" 175 android:keyEdgeFlags="left" 176 android:keyLabel="@string/keyboardview_keycode_mode_change" 177 android:keyIcon="@drawable/ic_ime_alphabet" /> 178 <Key 179 android:codes="-1" 180 android:keyLabel="@string/keyboardview_keycode_shift" 181 android:keyIcon="@drawable/ic_ime_shift_off" /> 182 <Key 183 android:codes="32" 184 android:keyIcon="@drawable/ic_ime_space" 185 android:keyLabel="@string/keyboardview_keycode_space" 186 android:keyWidth="@dimen/space_key_width" /> 187 <Key 188 android:codes="-3" 189 android:keyLabel="@string/keyboardview_keycode_left" 190 android:keyIcon="@drawable/ic_ime_left_arrow" /> 191 <Key 192 android:codes="-4" 193 android:keyEdgeFlags="right" 194 android:keyLabel="@string/keyboardview_keycode_right" 195 android:keyIcon="@drawable/ic_ime_right_arrow" /> 196 </Row> 197</Keyboard> 198