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="26.67%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:codes="49" 33 android:keyIcon="@drawable/sym_keyboard_num1" 34 android:keyEdgeFlags="left" /> 35 <Key 36 android:codes="50" 37 android:keyIcon="@drawable/sym_keyboard_num2" /> 38 <Key 39 android:codes="51" 40 android:keyIcon="@drawable/sym_keyboard_num3" /> 41 <Key 42 android:keyLabel="-" 43 android:keyWidth="20%p" 44 android:isModifier="true" 45 android:keyEdgeFlags="right" /> 46 </Row> 47 <Row> 48 <Key 49 android:codes="52" 50 android:keyIcon="@drawable/sym_keyboard_num4" 51 android:keyEdgeFlags="left" /> 52 <Key 53 android:codes="53" 54 android:keyIcon="@drawable/sym_keyboard_num5" /> 55 <Key 56 android:codes="54" 57 android:keyIcon="@drawable/sym_keyboard_num6" /> 58 <Key 59 android:keyLabel="." 60 android:keyWidth="20%p" 61 android:isModifier="true" 62 android:keyEdgeFlags="right" /> 63 </Row> 64 <Row> 65 <Key 66 android:codes="55" 67 android:keyIcon="@drawable/sym_keyboard_num7" 68 android:keyEdgeFlags="left" /> 69 <Key 70 android:codes="56" 71 android:keyIcon="@drawable/sym_keyboard_num8" /> 72 <Key 73 android:codes="57" 74 android:keyIcon="@drawable/sym_keyboard_num9" /> 75 <Key 76 android:codes="@integer/key_delete" 77 android:keyIcon="@drawable/sym_keyboard_delete" 78 android:iconPreview="@drawable/sym_keyboard_feedback_delete" 79 android:keyWidth="20%p" 80 android:isModifier="true" 81 android:isRepeatable="true" 82 android:keyEdgeFlags="right" /> 83 </Row> 84 <Row 85 android:rowEdgeFlags="bottom" 86 > 87 <Key 88 android:codes="@integer/key_symbol" 89 android:keyIcon="@drawable/sym_keyboard_numalt" 90 android:iconPreview="@drawable/sym_keyboard_feedback_numalt" 91 android:keyEdgeFlags="left" /> 92 <Key 93 android:codes="48" 94 android:keyIcon="@drawable/sym_keyboard_num0" /> 95 <Key 96 android:codes="@integer/key_space" 97 android:keyIcon="@drawable/sym_keyboard_space" 98 android:iconPreview="@drawable/sym_keyboard_feedback_space" /> 99 <Key 100 android:codes="@integer/key_return" 101 android:keyIcon="@drawable/sym_keyboard_return" 102 android:keyWidth="20%p" 103 android:isModifier="true" 104 android:keyEdgeFlags="right" /> 105 </Row> 106 </Keyboard> 107