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="49" 26 android:keyEdgeFlags="left" 27 android:keyLabel="1" /> 28 <Key 29 android:codes="50" 30 android:keyLabel="2" /> 31 <Key 32 android:codes="51" 33 android:keyLabel="3" /> 34 <Key 35 android:codes="95" 36 android:keyEdgeFlags="right" 37 android:keyLabel="_" /> 38 </Row> 39 <Row> 40 <Key 41 android:codes="52" 42 android:keyEdgeFlags="left" 43 android:keyLabel="4" /> 44 <Key 45 android:codes="53" 46 android:keyLabel="5" /> 47 <Key 48 android:codes="54" 49 android:keyLabel="6" /> 50 <Key 51 android:codes="46" 52 android:keyEdgeFlags="right" 53 android:keyLabel="." /> 54 </Row> 55 <Row> 56 <Key 57 android:codes="55" 58 android:keyEdgeFlags="left" 59 android:keyLabel="7" /> 60 <Key 61 android:codes="56" 62 android:keyLabel="8" /> 63 <Key 64 android:codes="57" 65 android:keyLabel="9" /> 66 <Key 67 android:codes="-5" 68 android:keyEdgeFlags="right" 69 android:keyIcon="@drawable/ic_ime_delete" 70 android:keyLabel="@string/keyboardview_keycode_delete" /> 71 </Row> 72 <Row android:rowEdgeFlags="bottom" > 73 <Key 74 android:codes="42" 75 android:keyEdgeFlags="left" 76 android:keyLabel="*" /> 77 <Key 78 android:codes="48" 79 android:keyLabel="0" /> 80 <Key 81 android:codes="35" 82 android:keyLabel="\#" /> 83 <Key 84 android:codes="63" 85 android:keyEdgeFlags="right" 86 android:keyLabel="\?" /> 87 </Row> 88 89</Keyboard> 90