Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2010, 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 | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 23 | latin:keyWidth="13.250%p" |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 24 | > |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 25 | <include |
| 26 | latin:keyboardLayout="@xml/kbd_key_styles" /> |
Tadashi G. Takaoka | 6a75cd1 | 2011-03-08 17:48:18 -0800 | [diff] [blame] | 27 | <include |
| 28 | latin:keyboardLayout="@xml/kbd_numkey_styles" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 29 | <switch> |
| 30 | <case |
| 31 | latin:passwordInput="true" |
| 32 | > |
| 33 | <!-- This row is intentionally not marked as a top row --> |
| 34 | <Row> |
Tadashi G. Takaoka | 0f901aa | 2011-01-13 13:43:39 +0900 | [diff] [blame] | 35 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 36 | latin:keyStyle="tabKeyStyle" |
| 37 | latin:keyLabelOption="alignLeft" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 38 | latin:keyWidth="11.172%p" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 39 | latin:keyEdgeFlags="left" /> |
| 40 | <Key |
| 41 | latin:keyStyle="num1KeyStyle" |
| 42 | latin:keyXPos="32.076%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 43 | <Key |
Tadashi G. Takaoka | 6a75cd1 | 2011-03-08 17:48:18 -0800 | [diff] [blame] | 44 | latin:keyStyle="num2KeyStyle" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 45 | <Key |
Tadashi G. Takaoka | 6a75cd1 | 2011-03-08 17:48:18 -0800 | [diff] [blame] | 46 | latin:keyStyle="num3KeyStyle" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 47 | <Key |
| 48 | latin:keyStyle="deleteKeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 49 | latin:keyXPos="-11.172%p" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 50 | latin:keyWidth="fillRight" |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 51 | latin:keyEdgeFlags="right" /> |
| 52 | </Row> |
| 53 | <Row> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 54 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 55 | latin:keyStyle="num4KeyStyle" |
| 56 | latin:keyXPos="32.076%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 57 | <Key |
Tadashi G. Takaoka | 6a75cd1 | 2011-03-08 17:48:18 -0800 | [diff] [blame] | 58 | latin:keyStyle="num5KeyStyle" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 59 | <Key |
Tadashi G. Takaoka | 6a75cd1 | 2011-03-08 17:48:18 -0800 | [diff] [blame] | 60 | latin:keyStyle="num6KeyStyle" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 61 | <Key |
| 62 | latin:keyStyle="returnKeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 63 | latin:keyXPos="-11.172%p" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 64 | latin:keyWidth="fillRight" |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 65 | latin:keyEdgeFlags="right" /> |
| 66 | </Row> |
| 67 | <Row> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 68 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 69 | latin:keyStyle="num7KeyStyle" |
| 70 | latin:keyXPos="32.076%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 71 | <Key |
Tadashi G. Takaoka | 6a75cd1 | 2011-03-08 17:48:18 -0800 | [diff] [blame] | 72 | latin:keyStyle="num8KeyStyle" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 73 | <Key |
Tadashi G. Takaoka | 6a75cd1 | 2011-03-08 17:48:18 -0800 | [diff] [blame] | 74 | latin:keyStyle="num9KeyStyle" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 75 | <!-- There is an empty area below the "Enter" key and right of the "9" key. To |
| 76 | ignore the touch event on the area, "9" is intentionally not marked as a right |
| 77 | edge key. --> |
| 78 | </Row> |
| 79 | <!-- This row is intentionally not marked as a bottom row --> |
| 80 | <Row> |
| 81 | <Spacer |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 82 | latin:keyXPos="32.076%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 83 | <Key |
Tadashi G. Takaoka | 6a75cd1 | 2011-03-08 17:48:18 -0800 | [diff] [blame] | 84 | latin:keyStyle="num0KeyStyle" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 85 | <!-- There is an empty area below the "Enter" key and right of the "#" key. To |
| 86 | ignore the touch event on the area, "#" is intentionally not marked as a right |
| 87 | edge key. --> |
| 88 | </Row> |
| 89 | </case> |
| 90 | <!-- latin:passwordInput="false" --> |
| 91 | <default> |
| 92 | <!-- This row is intentionally not marked as a top row --> |
| 93 | <Row> |
| 94 | <Key |
| 95 | latin:keyStyle="tabKeyStyle" |
| 96 | latin:keyLabelOption="alignLeft" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 97 | latin:keyWidth="11.172%p" |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 98 | latin:keyEdgeFlags="left" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 99 | <Key |
| 100 | latin:keyLabel="-" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 101 | latin:keyXPos="13.829%p" |
| 102 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 103 | <Key |
| 104 | latin:keyLabel="+" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 105 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 106 | <Key |
| 107 | latin:keyLabel="." |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 108 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 109 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 110 | latin:keyLabel="1" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 111 | latin:keyXPos="43.125%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 112 | <Key |
| 113 | latin:keyLabel="2" /> |
| 114 | <Key |
| 115 | latin:keyLabel="3" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 116 | <Key |
| 117 | latin:keyStyle="deleteKeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 118 | latin:keyXPos="-11.172%p" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 119 | latin:keyWidth="fillRight" |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 120 | latin:keyEdgeFlags="right" /> |
| 121 | </Row> |
| 122 | <Row> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 123 | <Key |
| 124 | latin:keyLabel="*" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 125 | latin:keyXPos="13.829%p" |
| 126 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 127 | <Key |
| 128 | latin:keyLabel="/" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 129 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 130 | <Key |
| 131 | latin:keyLabel="," |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 132 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 133 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 134 | latin:keyLabel="4" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 135 | latin:keyXPos="43.125%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 136 | <Key |
| 137 | latin:keyLabel="5" /> |
| 138 | <Key |
| 139 | latin:keyLabel="6" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 140 | <Key |
| 141 | latin:keyStyle="returnKeyStyle" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 142 | latin:keyXPos="-11.172%p" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 143 | latin:keyWidth="fillRight" |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 144 | latin:keyEdgeFlags="right" /> |
| 145 | </Row> |
| 146 | <Row> |
| 147 | <!-- There is an empty area below the "More" key and left of the "(" key. To |
| 148 | ignore the touch event on the area, "(" is intentionally not marked as a left |
| 149 | edge key. --> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 150 | <Key |
| 151 | latin:keyLabel="(" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 152 | latin:keyXPos="13.829%p" |
| 153 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 154 | <Key |
| 155 | latin:keyLabel=")" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 156 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 157 | <Key |
| 158 | latin:keyLabel="=" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 159 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 160 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 161 | latin:keyLabel="7" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 162 | latin:keyXPos="43.125%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 163 | <Key |
| 164 | latin:keyLabel="8" /> |
| 165 | <Key |
| 166 | latin:keyLabel="9" /> |
| 167 | <!-- There is an empty area below the "Enter" key and right of the "9" key. To |
| 168 | ignore the touch event on the area, "9" is intentionally not marked as a right |
| 169 | edge key. --> |
| 170 | </Row> |
| 171 | <!-- This row is intentionally not marked as a bottom row --> |
| 172 | <Row> |
Tadashi G. Takaoka | 4199e29 | 2011-02-23 20:31:08 +0900 | [diff] [blame] | 173 | <switch> |
| 174 | <case latin:hasSettingsKey="true"> |
| 175 | <Key |
| 176 | latin:keyStyle="settingsKeyStyle" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 177 | latin:keyWidth="8.047%p" /> |
Tadashi G. Takaoka | 4199e29 | 2011-02-23 20:31:08 +0900 | [diff] [blame] | 178 | </case> |
Tadashi G. Takaoka | 4199e29 | 2011-02-23 20:31:08 +0900 | [diff] [blame] | 179 | </switch> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 180 | <Key |
| 181 | latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 182 | latin:keyXPos="13.829%p" |
| 183 | latin:keyWidth="24.140%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 184 | <Key |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 185 | latin:keyLabel="*" |
Tadashi G. Takaoka | abd7392 | 2011-06-02 21:11:45 +0900 | [diff] [blame] | 186 | latin:keyXPos="43.125%p" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 187 | <Key |
| 188 | latin:keyLabel="0" /> |
| 189 | <Key |
| 190 | latin:keyLabel="#" /> |
| 191 | <switch> |
| 192 | <case |
| 193 | latin:voiceKeyEnabled="true" |
| 194 | > |
| 195 | <Key |
Tadashi G. Takaoka | c2a2178 | 2011-06-21 23:38:42 +0900 | [diff] [blame^] | 196 | latin:keyStyle="shortcutKeyStyle" |
Tadashi G. Takaoka | 327763e | 2011-05-30 20:05:50 +0900 | [diff] [blame] | 197 | latin:keyXPos="-8.047%p" |
| 198 | latin:keyWidth="fillRight" /> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 199 | </case> |
| 200 | </switch> |
Tadashi G. Takaoka | 4b13b4f | 2011-02-20 12:54:14 +0900 | [diff] [blame] | 201 | </Row> |
| 202 | </default> |
| 203 | </switch> |
Tadashi G. Takaoka | 2c60d6e | 2010-11-23 17:55:22 -0800 | [diff] [blame] | 204 | </Keyboard> |