Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [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 |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 22 | xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" |
Tadashi G. Takaoka | 9f01ed5 | 2010-12-08 14:36:41 +0900 | [diff] [blame] | 23 | latin:keyboardHeight="@dimen/keyboardHeight" |
| 24 | latin:maxKeyboardHeight="50%p" |
| 25 | latin:rowHeight="25%p" |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 26 | latin:horizontalGap="@dimen/key_horizontal_gap" |
| 27 | latin:verticalGap="@dimen/key_bottom_gap" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 28 | latin:popupKeyboardTemplate="@xml/kbd_popup_template" |
| 29 | latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column" |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 30 | > |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 31 | <include |
| 32 | latin:keyboardLayout="@xml/kbd_key_styles" /> |
Tadashi G. Takaoka | 6135142 | 2011-02-24 14:49:27 +0900 | [diff] [blame] | 33 | <include |
| 34 | latin:keyboardLayout="@xml/kbd_currency_key_styles" /> |
Tadashi G. Takaoka | b514d3f | 2010-09-28 09:39:19 +0900 | [diff] [blame] | 35 | <!-- This row is intentionally not marked as a top row --> |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 36 | <Row |
| 37 | latin:keyWidth="8.272%p" |
| 38 | > |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 39 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 40 | latin:keyStyle="tabKeyStyle" |
| 41 | latin:keyLabelOption="alignLeft" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 42 | latin:keyWidth="7.949%p" |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 43 | latin:keyEdgeFlags="left" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 44 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 45 | latin:keyLabel="1" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 46 | latin:popupCharacters="¹,½,⅓,¼,⅛" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 47 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 48 | latin:keyLabel="2" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 49 | latin:popupCharacters="²,⅔" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 50 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 51 | latin:keyLabel="3" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 52 | latin:popupCharacters="³,¾,⅜" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 53 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 54 | latin:keyLabel="4" |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 55 | latin:popupCharacters="⁴" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 56 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 57 | latin:keyLabel="5" |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 58 | latin:popupCharacters="⅝" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 59 | <Key |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 60 | latin:keyLabel="6" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 61 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 62 | latin:keyLabel="7" |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 63 | latin:popupCharacters="⅞" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 64 | <Key |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 65 | latin:keyLabel="8" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 66 | <Key |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 67 | latin:keyLabel="9" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 68 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 69 | latin:keyLabel="0" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 70 | latin:popupCharacters="ⁿ,∅" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 71 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 72 | latin:keyStyle="deleteKeyStyle" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 73 | latin:keyWidth="9.331%p" |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 74 | latin:keyEdgeFlags="right" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 75 | </Row> |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 76 | <Row |
| 77 | latin:keyWidth="8.157%p" |
| 78 | > |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 79 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 80 | latin:keyStyle="toAlphaKeyStyle" |
| 81 | latin:keyLabelOption="alignLeft" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 82 | latin:keyWidth="11.167%p" |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 83 | latin:keyEdgeFlags="left" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 84 | <Key |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 85 | latin:keyLabel="#" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 86 | <Key |
Tadashi G. Takaoka | 6135142 | 2011-02-24 14:49:27 +0900 | [diff] [blame] | 87 | latin:keyStyle="currencyKeyStyle" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 88 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 89 | latin:keyLabel="%" |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 90 | latin:popupCharacters="‰" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 91 | <Key |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 92 | latin:keyLabel="&" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 93 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 94 | latin:keyLabel="*" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 95 | latin:popupCharacters="†,‡,★" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 96 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 97 | latin:keyLabel="-" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 98 | latin:popupCharacters="_,–,—" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 99 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 100 | latin:keyLabel="+" |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 101 | latin:popupCharacters="±" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 102 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 103 | latin:keyLabel="(" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 104 | latin:popupCharacters="[,{,<" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 105 | <Key |
Tadashi G. Takaoka | f12023c | 2010-11-12 09:50:19 -0800 | [diff] [blame] | 106 | latin:keyLabel=")" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 107 | latin:popupCharacters="],},>" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 108 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 109 | latin:keyStyle="returnKeyStyle" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 110 | latin:keyWidth="15.750%p" |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 111 | latin:keyEdgeFlags="right" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 112 | </Row> |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 113 | <Row |
| 114 | latin:keyWidth="8.042%p" |
| 115 | > |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 116 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 117 | latin:keyStyle="moreKeyStyle" |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 118 | latin:keyWidth="15.192%p" |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 119 | latin:keyEdgeFlags="left" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 120 | <Key |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 121 | latin:keyLabel="<" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 122 | latin:popupCharacters="≤,«,‹" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 123 | <Key |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 124 | latin:keyLabel=">" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 125 | latin:popupCharacters="≥,»,›" /> |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 126 | <Key |
Tadashi G. Takaoka | 560497c | 2010-12-02 11:47:09 +0900 | [diff] [blame] | 127 | latin:keyLabel="=" |
Tadashi G. Takaoka | 9b6d1d5 | 2010-12-14 15:31:47 +0900 | [diff] [blame] | 128 | latin:popupCharacters="≠,≈" /> |
Tadashi G. Takaoka | dd0ac4a | 2011-03-01 11:58:41 -0800 | [diff] [blame^] | 129 | <switch> |
| 130 | <case |
| 131 | latin:languageCode="ru" |
| 132 | > |
| 133 | <Key |
| 134 | latin:keyLabel=":" /> |
| 135 | </case> |
| 136 | <case |
| 137 | latin:mode="url" |
| 138 | > |
| 139 | <Key |
| 140 | latin:keyLabel="\'" /> |
| 141 | </case> |
| 142 | <default> |
| 143 | <Key |
| 144 | latin:keyLabel=":" /> |
| 145 | </default> |
| 146 | </switch> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 147 | <Key |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 148 | latin:keyLabel=";" /> |
Tadashi G. Takaoka | ec2ef40 | 2011-02-20 00:41:07 +0900 | [diff] [blame] | 149 | <switch> |
| 150 | <case |
| 151 | latin:languageCode="ru" |
| 152 | > |
| 153 | <Key |
| 154 | latin:keyLabel="\'" /> |
| 155 | <Key |
| 156 | latin:keyLabel=""" |
| 157 | latin:popupCharacters="“,”,«,»,˝" /> |
| 158 | <Key |
| 159 | latin:keyLabel="." /> |
| 160 | <Key |
| 161 | latin:keyLabel="," /> |
| 162 | </case> |
| 163 | <default> |
| 164 | <Key |
| 165 | latin:keyLabel="," /> |
| 166 | <Key |
| 167 | latin:keyLabel="." /> |
| 168 | <Key |
| 169 | latin:keyLabel="!" |
| 170 | latin:popupCharacters="¡" /> |
| 171 | <Key |
| 172 | latin:keyLabel="\?" |
| 173 | latin:popupCharacters="¿" /> |
| 174 | </default> |
| 175 | </switch> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 176 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 177 | latin:keyStyle="moreKeyStyle" |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 178 | latin:keyWidth="12.530%p" |
satok | 4fc510a | 2010-10-01 19:40:44 +0900 | [diff] [blame] | 179 | latin:keyEdgeFlags="right" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 180 | </Row> |
Tadashi G. Takaoka | b514d3f | 2010-09-28 09:39:19 +0900 | [diff] [blame] | 181 | <!-- This row is intentionally not marked as a bottom row --> |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 182 | <Row |
| 183 | latin:keyWidth="8.042%p" |
| 184 | > |
Tadashi G. Takaoka | 58bfa35 | 2010-10-19 17:08:54 +0900 | [diff] [blame] | 185 | <Spacer |
Tadashi G. Takaoka | 7ab9f60 | 2011-01-18 14:08:40 +0900 | [diff] [blame] | 186 | latin:horizontalGap="8.362%p" /> |
Tadashi G. Takaoka | 4199e29 | 2011-02-23 20:31:08 +0900 | [diff] [blame] | 187 | <switch> |
| 188 | <case latin:hasSettingsKey="true"> |
| 189 | <Key |
| 190 | latin:keyStyle="settingsKeyStyle" /> |
| 191 | </case> |
| 192 | <default> |
| 193 | <Spacer |
| 194 | latin:horizontalGap="8.042%p" /> |
| 195 | </default> |
| 196 | </switch> |
Tadashi G. Takaoka | 7c25ad4 | 2010-11-20 16:17:04 -0800 | [diff] [blame] | 197 | <Key |
| 198 | latin:keyLabel="/" /> |
| 199 | <Key |
| 200 | latin:keyLabel="\@" /> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 201 | <Key |
Tadashi G. Takaoka | 7f0befe | 2010-11-23 23:59:56 -0800 | [diff] [blame] | 202 | latin:keyStyle="spaceKeyStyle" |
| 203 | latin:keyWidth="37.454%p" /> |
Tadashi G. Takaoka | ec2ef40 | 2011-02-20 00:41:07 +0900 | [diff] [blame] | 204 | <switch> |
| 205 | <case |
| 206 | latin:languageCode="ru" |
| 207 | > |
| 208 | <Key |
| 209 | latin:keyLabel="_" /> |
| 210 | <Key |
| 211 | latin:keyLabel="-" /> |
| 212 | </case> |
| 213 | <default> |
| 214 | <Key |
| 215 | latin:keyLabel=""" |
| 216 | latin:popupCharacters="“,”,«,»,˝" /> |
| 217 | <Key |
| 218 | latin:keyLabel="_" /> |
| 219 | </default> |
| 220 | </switch> |
Tadashi G. Takaoka | 0f901aa | 2011-01-13 13:43:39 +0900 | [diff] [blame] | 221 | <switch> |
| 222 | <case |
| 223 | latin:voiceKeyEnabled="true" |
| 224 | > |
| 225 | <Key |
| 226 | latin:keyStyle="micKeyStyle" /> |
| 227 | </case> |
| 228 | </switch> |
Tadashi G. Takaoka | b1fcbec | 2010-09-27 17:07:09 +0900 | [diff] [blame] | 229 | </Row> |
| 230 | </Keyboard> |