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