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="49" android:keyLabel="1" android:keyEdgeFlags="left"/> 30 <Key android:codes="50" android:keyLabel="2"/> 31 <Key android:codes="51" android:keyLabel="3"/> 32 <Key android:codes="52" android:keyLabel="4"/> 33 <Key android:codes="53" android:keyLabel="5"/> 34 <Key android:codes="54" android:keyLabel="6"/> 35 <Key android:codes="55" android:keyLabel="7"/> 36 <Key android:codes="56" android:keyLabel="8"/> 37 <Key android:codes="57" android:keyLabel="9"/> 38 <Key android:codes="48" android:keyLabel="0" android:keyEdgeFlags="right"/> 39 </Row> 40 41 <Row> 42 <Key android:codes="64" android:keyLabel="\@" android:keyEdgeFlags="left"/> 43 <Key android:codes="35" android:keyLabel="\#"/> 44 <Key android:codes="36" android:keyLabel="$"/> 45 <Key android:codes="37" android:keyLabel="%"/> 46 <Key android:codes="38" android:keyLabel="&"/> 47 <Key android:codes="42" android:keyLabel="*"/> 48 <Key android:codes="45" android:keyLabel="-"/> 49 <Key android:codes="61" android:keyLabel="="/> 50 <Key android:codes="40" android:keyLabel="("/> 51 <Key android:codes="41" 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="33" android:keyLabel="!" /> 59 <Key android:codes="34" android:keyLabel="""/> 60 <Key android:codes="39" android:keyLabel="\'"/> 61 <Key android:codes="58" android:keyLabel=":"/> 62 <Key android:codes="59" android:keyLabel=";"/> 63 <Key android:codes="47" android:keyLabel="/" /> 64 <Key android:codes="63" 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="44" 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 /> 86 </Row> 87</Keyboard>