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="126" android:keyLabel="~" android:keyEdgeFlags="left"/> 30 <Key android:codes="177" android:keyLabel=""/> 31 <Key android:codes="215" android:keyLabel=""/> 32 <Key android:codes="247" android:keyLabel=""/> 33 <Key android:codes="8226" android:keyLabel=""/> 34 <Key android:codes="176" android:keyLabel=""/> 35 <Key android:codes="96" android:keyLabel="`"/> 36 <Key android:codes="180" android:keyLabel=""/> 37 <Key android:codes="123" android:keyLabel="{"/> 38 <Key android:codes="125" android:keyLabel="}" android:keyEdgeFlags="right"/> 39 </Row> 40 41 <Row> 42 <Key android:codes="169" android:keyLabel="" android:keyEdgeFlags="left"/> 43 <Key android:codes="163" android:keyLabel=""/> 44 <Key android:codes="8364" android:keyLabel=""/> 45 <Key android:codes="94" android:keyLabel="^"/> 46 <Key android:codes="174" android:keyLabel=""/> 47 <Key android:codes="165" android:keyLabel=""/> 48 <Key android:codes="95" android:keyLabel="_"/> 49 <Key android:codes="43" android:keyLabel="+"/> 50 <Key android:codes="91" android:keyLabel="["/> 51 <Key android:codes="93" android:keyLabel="]" android:keyEdgeFlags="right"/> 52 </Row> 53 54 <Row> 55 <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" 56 android:keyWidth="15%p" android:isModifier="true" 57 android:isSticky="true" android:keyEdgeFlags="left"/> 58 <Key android:codes="161" android:keyLabel="" /> 59 <Key android:codes="60" android:keyLabel="<"/> 60 <Key android:codes="62" android:keyLabel=">"/> 61 <Key android:codes="162" android:keyLabel=""/> 62 <Key android:codes="124" android:keyLabel="|"/> 63 <Key android:codes="92" android:keyLabel="\\" /> 64 <Key android:codes="191" android:keyLabel=""/> 65 <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" 66 android:keyWidth="15%p" android:keyEdgeFlags="right" 67 android:isRepeatable="true"/> 68 </Row> 69 70 <Row android:rowEdgeFlags="bottom"> 71 <Key android:codes="-3" android:keyIcon="@drawable/sym_keyboard_done" 72 android:keyWidth="15%p" android:keyEdgeFlags="left" /> 73 <Key android:codes="-2" android:keyLabel="ABC" android:keyWidth="10%p" /> 74 <!-- 75 android:codes: -101 is not a framework-defined key code but a key code that is 76 privately defined in com.example.android.softkeyboard.LatinKeyboardView. 77 --> 78 <Key android:codes="-101" android:keyIcon="@drawable/sym_keyboard_language_switch" 79 android:keyWidth="10%p" /> 80 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" android:keyWidth="30%p" 81 android:isRepeatable="true"/> 82 <Key android:codes="8230" android:keyLabel="" android:keyWidth="15%p" /> 83 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" 84 android:keyWidth="20%p" android:keyEdgeFlags="right" /> 85 </Row> 86 </Keyboard> 87