1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** 5 ** Copyright 2011, 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:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" 23 latin:keyWidth="16.75%p" 24 > 25 <include 26 latin:keyboardLayout="@xml/kbd_key_styles" /> 27 <include 28 latin:keyboardLayout="@xml/kbd_numkey_styles" /> 29 <switch> 30 <case 31 latin:passwordInput="true" 32 > 33 <Row> 34 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. --> 35 <Spacer 36 latin:keyWidth="24.875%p" /> 37 <Key 38 latin:keyStyle="num1KeyStyle" /> 39 <Key 40 latin:keyStyle="num2KeyStyle" /> 41 <Key 42 latin:keyStyle="num3KeyStyle" /> 43 <Key 44 latin:keyStyle="deleteKeyStyle" 45 latin:keyXPos="-11.00%p" 46 latin:keyWidth="fillRight" /> 47 </Row> 48 <Row> 49 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. --> 50 <Spacer 51 latin:keyWidth="24.875%p" /> 52 <Key 53 latin:keyStyle="num4KeyStyle" /> 54 <Key 55 latin:keyStyle="num5KeyStyle" /> 56 <Key 57 latin:keyStyle="num6KeyStyle" /> 58 <Key 59 latin:keyStyle="returnKeyStyle" 60 latin:keyXPos="-11.00%p" 61 latin:keyWidth="fillRight" /> 62 </Row> 63 <Row> 64 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. --> 65 <Spacer 66 latin:keyWidth="24.875%p" /> 67 <Key 68 latin:keyStyle="num7KeyStyle" /> 69 <Key 70 latin:keyStyle="num8KeyStyle" /> 71 <Key 72 latin:keyStyle="num9KeyStyle" /> 73 <!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> 74 <Spacer 75 latin:keyWidth="0%p" /> 76 </Row> 77 <Row> 78 <Key 79 latin:keyStyle="tabKeyStyle" 80 latin:keyWidth="11.00%p" /> 81 <Spacer 82 latin:keyXPos="24.875%p" /> 83 <Key 84 latin:keyStyle="num0KeyStyle" /> 85 <Spacer 86 latin:keyXPos="-11.00%p" 87 latin:keyWidth="0%p" /> 88 <include 89 latin:keyboardLayout="@xml/kbd_qwerty_f2" /> 90 </Row> 91 </case> 92 <!-- latin:passwordInput="false" --> 93 <default> 94 <Row> 95 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. --> 96 <Spacer 97 latin:keyWidth="11.00%p" /> 98 <Key 99 latin:keyLabel="-" 100 latin:keyStyle="numKeyStyle" 101 latin:keyWidth="9.25%p" /> 102 <Key 103 latin:keyLabel="+" 104 latin:keyStyle="numKeyStyle" 105 latin:keyWidth="9.25%p" /> 106 <Key 107 latin:keyLabel="." 108 latin:keyStyle="numKeyStyle" 109 latin:keyWidth="9.25%p" /> 110 <Key 111 latin:keyLabel="1" 112 latin:keyStyle="numKeyStyle" 113 latin:keyXPos="38.75%p" /> 114 <Key 115 latin:keyLabel="2" 116 latin:keyStyle="numKeyStyle" /> 117 <Key 118 latin:keyLabel="3" 119 latin:keyStyle="numKeyStyle" /> 120 <Key 121 latin:keyStyle="deleteKeyStyle" 122 latin:keyXPos="-11.00%p" 123 latin:keyWidth="fillBoth" /> 124 </Row> 125 <Row> 126 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. --> 127 <Spacer 128 latin:keyWidth="11.00%p" /> 129 <Key 130 latin:keyStyle="numStarKeyStyle" 131 latin:keyWidth="9.25%p" /> 132 <Key 133 latin:keyLabel="/" 134 latin:keyStyle="numKeyStyle" 135 latin:keyWidth="9.25%p" /> 136 <Key 137 latin:keyLabel="," 138 latin:keyStyle="numKeyStyle" 139 latin:keyWidth="9.25%p" /> 140 <Key 141 latin:keyLabel="4" 142 latin:keyStyle="numKeyStyle" 143 latin:keyXPos="38.75%p" /> 144 <Key 145 latin:keyLabel="5" 146 latin:keyStyle="numKeyStyle" /> 147 <Key 148 latin:keyLabel="6" 149 latin:keyStyle="numKeyStyle" /> 150 <Key 151 latin:keyStyle="returnKeyStyle" 152 latin:keyXPos="-11.00%p" 153 latin:keyWidth="fillBoth" /> 154 </Row> 155 <Row> 156 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. --> 157 <Spacer 158 latin:keyWidth="11.00%p" /> 159 <Key 160 latin:keyLabel="(" 161 latin:keyStyle="numKeyStyle" 162 latin:keyWidth="9.25%p" /> 163 <Key 164 latin:keyLabel=")" 165 latin:keyStyle="numKeyStyle" 166 latin:keyWidth="9.25%p" /> 167 <Key 168 latin:keyLabel="=" 169 latin:keyStyle="numKeyStyle" 170 latin:keyWidth="9.25%p" /> 171 <Key 172 latin:keyLabel="7" 173 latin:keyStyle="numKeyStyle" 174 latin:keyXPos="38.75%p" /> 175 <Key 176 latin:keyLabel="8" 177 latin:keyStyle="numKeyStyle" /> 178 <Key 179 latin:keyLabel="9" 180 latin:keyStyle="numKeyStyle" /> 181 <!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> 182 <Spacer 183 latin:keyWidth="0%p" /> 184 </Row> 185 <Row> 186 <Key 187 latin:keyStyle="tabKeyStyle" 188 latin:keyWidth="11.00%p" /> 189 <Key 190 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" 191 latin:keyWidth="27.75%p" /> 192 <Key 193 latin:keyStyle="numStarKeyStyle" 194 latin:keyXPos="38.75%p" /> 195 <Key 196 latin:keyLabel="0" 197 latin:keyStyle="numKeyStyle" /> 198 <Key 199 latin:keyLabel="#" 200 latin:keyStyle="numKeyStyle" /> 201 <Spacer 202 latin:keyXPos="-11.00%p" 203 latin:keyWidth="0%p" /> 204 <include 205 latin:keyboardLayout="@xml/kbd_qwerty_f2" /> 206 </Row> 207 </default> 208 </switch> 209 </Keyboard> 210