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 | > |
| 24 | <include |
| 25 | latin:keyboardLayout="@xml/kbd_key_styles" /> |
| 26 | <include |
| 27 | latin:keyboardLayout="@xml/kbd_currency_key_styles" /> |
| 28 | <!-- This row is intentionally not marked as a top row --> |
| 29 | <Row |
| 30 | latin:keyWidth="9.0%p" |
| 31 | > |
| 32 | <Key |
| 33 | latin:keyLabel="1" |
| 34 | latin:popupCharacters="¹,½,⅓,¼,⅛" /> |
| 35 | <Key |
| 36 | latin:keyLabel="2" |
| 37 | latin:popupCharacters="²,⅔" /> |
| 38 | <Key |
| 39 | latin:keyLabel="3" |
| 40 | latin:popupCharacters="³,¾,⅜" /> |
| 41 | <Key |
| 42 | latin:keyLabel="4" |
| 43 | latin:popupCharacters="⁴" /> |
| 44 | <Key |
| 45 | latin:keyLabel="5" |
| 46 | latin:popupCharacters="⅝" /> |
| 47 | <Key |
| 48 | latin:keyLabel="6" /> |
| 49 | <Key |
| 50 | latin:keyLabel="7" |
| 51 | latin:popupCharacters="⅞" /> |
| 52 | <Key |
| 53 | latin:keyLabel="8" /> |
| 54 | <Key |
| 55 | latin:keyLabel="9" /> |
| 56 | <Key |
| 57 | latin:keyLabel="0" |
| 58 | latin:popupCharacters="ⁿ,∅" /> |
| 59 | <Key |
| 60 | latin:keyStyle="deleteKeyStyle" |
| 61 | latin:keyXPos="-10.0%p" |
| 62 | latin:keyWidth="fillBoth" |
| 63 | latin:keyEdgeFlags="right" /> |
| 64 | </Row> |
| 65 | <Row |
| 66 | latin:keyWidth="9.0%p" |
| 67 | > |
| 68 | <Key |
| 69 | latin:keyLabel="#" |
| 70 | latin:keyXPos="4.5%p" /> |
| 71 | <Key |
| 72 | latin:keyStyle="currencyKeyStyle" /> |
| 73 | <Key |
| 74 | latin:keyLabel="%" |
| 75 | latin:popupCharacters="‰" /> |
| 76 | <Key |
| 77 | latin:keyLabel="&" /> |
| 78 | <Key |
| 79 | latin:keyLabel="*" |
| 80 | latin:popupCharacters="†,‡,★" /> |
| 81 | <Key |
| 82 | latin:keyLabel="-" |
| 83 | latin:popupCharacters="_,–,—" /> |
| 84 | <Key |
| 85 | latin:keyLabel="+" |
| 86 | latin:popupCharacters="±" /> |
| 87 | <Key |
| 88 | latin:keyLabel="(" |
| 89 | latin:popupCharacters="[,{,<" /> |
| 90 | <Key |
| 91 | latin:keyLabel=")" |
| 92 | latin:popupCharacters="],},>" /> |
| 93 | <Key |
| 94 | latin:keyStyle="returnKeyStyle" |
| 95 | latin:keyXPos="-14.6%p" |
| 96 | latin:keyWidth="fillBoth" |
| 97 | latin:keyEdgeFlags="right" /> |
| 98 | </Row> |
| 99 | <Row |
| 100 | latin:keyWidth="8.9%p" |
| 101 | > |
| 102 | <Key |
| 103 | latin:keyStyle="moreKeyStyle" |
| 104 | latin:keyWidth="10.0%p" |
| 105 | latin:keyEdgeFlags="left" /> |
| 106 | <Key |
| 107 | latin:keyLabel="<" |
| 108 | latin:popupCharacters="≤,«,‹" /> |
| 109 | <Key |
| 110 | latin:keyLabel=">" |
| 111 | latin:popupCharacters="≥,»,›" /> |
| 112 | <Key |
| 113 | latin:keyLabel="=" |
| 114 | latin:popupCharacters="≠,≈" /> |
| 115 | <switch> |
| 116 | <case |
| 117 | latin:languageCode="ru" |
| 118 | > |
| 119 | <Key |
| 120 | latin:keyLabel=":" /> |
| 121 | </case> |
| 122 | <case |
| 123 | latin:mode="url" |
| 124 | > |
| 125 | <Key |
| 126 | latin:keyLabel="\'" |
| 127 | latin:popupCharacters="‘,’,‚,‛" /> |
| 128 | </case> |
| 129 | <default> |
| 130 | <Key |
| 131 | latin:keyLabel=":" /> |
| 132 | </default> |
| 133 | </switch> |
| 134 | <Key |
| 135 | latin:keyLabel=";" /> |
| 136 | <switch> |
| 137 | <case |
| 138 | latin:languageCode="ru" |
| 139 | > |
| 140 | <Key |
| 141 | latin:keyLabel="\'" |
| 142 | latin:popupCharacters="‘,’,‚,‛" /> |
| 143 | <!-- Note: DroidSans doesn't have double-high-reversed-quotation |
| 144 | '\u201f' glyph. --> |
| 145 | <!-- latin:popupCharacters="“,”,„,‟,«,»" --> |
| 146 | <Key |
| 147 | latin:keyLabel=""" |
| 148 | latin:popupCharacters="“,”,«,»" /> |
| 149 | <Key |
| 150 | latin:keyLabel="." /> |
| 151 | <Key |
| 152 | latin:keyLabel="," /> |
| 153 | </case> |
| 154 | <default> |
| 155 | <Key |
| 156 | latin:keyLabel="," /> |
| 157 | <Key |
| 158 | latin:keyLabel="." /> |
| 159 | <Key |
| 160 | latin:keyLabel="!" |
| 161 | latin:popupCharacters="¡" /> |
| 162 | <Key |
| 163 | latin:keyLabel="\?" |
| 164 | latin:popupCharacters="¿" /> |
| 165 | </default> |
| 166 | </switch> |
| 167 | <Key |
| 168 | latin:keyLabel="/" |
| 169 | latin:keyWidth="fillRight" /> |
| 170 | </Row> |
| 171 | <!-- This row is intentionally not marked as a bottom row --> |
| 172 | <Row |
| 173 | latin:keyWidth="8.9%p" |
| 174 | > |
| 175 | <Key |
| 176 | latin:keyStyle="toAlphaKeyStyle" |
| 177 | latin:keyLabelOption="alignLeft" |
| 178 | latin:keyWidth="13.0%p" |
| 179 | latin:keyEdgeFlags="left" /> |
| 180 | <Key |
| 181 | latin:keyStyle="tabKeyStyle" /> |
| 182 | <Key |
| 183 | latin:keyLabel="\@" /> |
| 184 | <Key |
| 185 | latin:keyStyle="spaceKeyStyle" |
| 186 | latin:keyXPos="30.750%p" |
| 187 | latin:keyWidth="39.750%p" /> |
| 188 | <switch> |
| 189 | <case |
| 190 | latin:languageCode="ru" |
| 191 | > |
| 192 | <Key |
| 193 | latin:keyLabel="_" |
| 194 | latin:keyWidth="9.750%p" /> |
| 195 | <Key |
| 196 | latin:keyLabel="-" |
| 197 | latin:keyWidth="9.750%p" /> |
| 198 | </case> |
| 199 | <default> |
| 200 | <!-- Note: DroidSans doesn't have double-high-reversed-quotation |
| 201 | '\u201f' glyph. --> |
| 202 | <!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" --> |
| 203 | <Key |
| 204 | latin:keyLabel=""" |
| 205 | latin:popupCharacters="“,”,«,»,‘,’,‚,‛" |
| 206 | latin:keyWidth="9.750%p" /> |
| 207 | <Key |
| 208 | latin:keyLabel="_" |
| 209 | latin:keyWidth="9.750%p" /> |
| 210 | </default> |
| 211 | </switch> |
Tadashi G. Takaoka | cd96a69 | 2011-06-23 21:55:56 +0900 | [diff] [blame^] | 212 | <Spacer |
| 213 | latin:keyXPos="-10.00%p" |
| 214 | latin:keyWidth="0%p" /> |
| 215 | <include |
| 216 | latin:keyboardLayout="@xml/kbd_qwerty_f2" /> |
Tadashi G. Takaoka | 0d22fc4 | 2011-05-30 20:12:04 +0900 | [diff] [blame] | 217 | </Row> |
| 218 | </Keyboard> |