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:android="http://schemas.android.com/apk/res/android" 23 android:keyWidth="9.09%p" 24 android:horizontalGap="0px" 25 android:verticalGap="@dimen/key_bottom_gap" 26 android:keyHeight="@dimen/key_height" 27 > 28 <Row 29 android:rowEdgeFlags="top" 30 > 31 <Key 32 android:keyLabel="" 33 android:popupKeyboard="@xml/kbd_popup_template" 34 android:popupCharacters="1" 35 android:keyWidth="8.75%p" 36 android:keyEdgeFlags="left" /> 37 <Key 38 android:keyLabel="" 39 android:popupKeyboard="@xml/kbd_popup_template" 40 android:popupCharacters="2" /> 41 <Key 42 android:keyLabel="" 43 android:popupKeyboard="@xml/kbd_popup_template" 44 android:popupCharacters="3" /> 45 <Key 46 android:keyLabel="" 47 android:popupKeyboard="@xml/kbd_popup_template" 48 android:popupCharacters="4" /> 49 <Key 50 android:keyLabel="" 51 android:popupKeyboard="@xml/kbd_popup_template" 52 android:popupCharacters="@string/alternates_for_cyrillic_e" /> 53 <Key 54 android:keyLabel="" 55 android:popupKeyboard="@xml/kbd_popup_template" 56 android:popupCharacters="6" /> 57 <Key 58 android:keyLabel="" 59 android:popupKeyboard="@xml/kbd_popup_template" 60 android:popupCharacters="7" /> 61 <Key 62 android:keyLabel="" 63 android:popupKeyboard="@xml/kbd_popup_template" 64 android:popupCharacters="8" /> 65 <Key 66 android:keyLabel="" 67 android:popupKeyboard="@xml/kbd_popup_template" 68 android:popupCharacters="9" /> 69 <Key 70 android:keyLabel="" 71 android:popupKeyboard="@xml/kbd_popup_template" 72 android:popupCharacters="0" /> 73 <Key 74 android:keyLabel="" 75 android:keyWidth="8.75%p" 76 android:keyEdgeFlags="right" /> 77 </Row> 78 <Row> 79 <Key 80 android:keyLabel="" 81 android:keyWidth="8.75%p" 82 android:keyEdgeFlags="left" /> 83 <Key 84 android:keyLabel="" /> 85 <Key 86 android:keyLabel="" /> 87 <Key 88 android:keyLabel="" /> 89 <Key 90 android:keyLabel="" /> 91 <Key 92 android:keyLabel="" /> 93 <Key 94 android:keyLabel="" /> 95 <Key 96 android:keyLabel="" /> 97 <Key 98 android:keyLabel="" /> 99 <Key 100 android:keyLabel="" /> 101 <Key 102 android:keyLabel="" 103 android:keyWidth="8.75%p" 104 android:keyEdgeFlags="right" /> 105 </Row> 106 <Row 107 android:keyWidth="8.5%p" 108 > 109 <Key 110 android:codes="@integer/key_shift" 111 android:keyIcon="@drawable/sym_bkeyboard_shift" 112 android:iconPreview="@drawable/sym_keyboard_feedback_shift" 113 android:keyWidth="11.75%p" 114 android:isModifier="true" 115 android:isSticky="true" 116 android:keyEdgeFlags="left" /> 117 <Key 118 android:keyLabel="" /> 119 <Key 120 android:keyLabel="" /> 121 <Key 122 android:keyLabel="" /> 123 <Key 124 android:keyLabel="" /> 125 <Key 126 android:keyLabel="" /> 127 <Key 128 android:keyLabel="" /> 129 <Key 130 android:keyLabel="" 131 android:popupKeyboard="@xml/kbd_popup_template" 132 android:popupCharacters="@string/alternates_for_cyrillic_soft_sign" /> 133 <Key 134 android:keyLabel="" /> 135 <Key 136 android:keyLabel="" /> 137 <Key 138 android:codes="@integer/key_delete" 139 android:keyIcon="@drawable/sym_bkeyboard_delete" 140 android:iconPreview="@drawable/sym_keyboard_feedback_delete" 141 android:keyWidth="11.75%p" 142 android:isRepeatable="true" 143 android:keyEdgeFlags="right" /> 144 </Row> 145 <Row 146 android:keyboardMode="@+id/mode_normal" 147 android:keyWidth="10%p" 148 android:rowEdgeFlags="bottom" 149 > 150 <Key 151 android:codes="@integer/key_symbol" 152 android:keyLabel="@string/label_symbol_key" 153 android:keyWidth="20%p" 154 android:keyEdgeFlags="left" /> 155 <Key 156 android:codes="@integer/key_f1" /> 157 <Key 158 android:codes="@integer/key_space" 159 android:keyIcon="@drawable/sym_bkeyboard_space" 160 android:iconPreview="@drawable/sym_keyboard_feedback_space" 161 android:keyWidth="40%p" /> 162 <Key 163 android:keyLabel="." 164 android:keyIcon="@drawable/hint_popup" 165 android:popupKeyboard="@xml/popup_punctuation" /> 166 <Key 167 android:codes="@integer/key_return" 168 android:keyIcon="@drawable/sym_bkeyboard_return" 169 android:iconPreview="@drawable/sym_keyboard_feedback_return" 170 android:keyWidth="20%p" 171 android:keyEdgeFlags="right" /> 172 </Row> 173 <Row 174 android:keyboardMode="@+id/mode_url" 175 android:keyWidth="10%p" 176 android:rowEdgeFlags="bottom" 177 > 178 <Key 179 android:codes="@integer/key_symbol" 180 android:keyLabel="@string/label_symbol_key" 181 android:keyWidth="20%p" 182 android:keyEdgeFlags="left" /> 183 <Key 184 android:codes="@integer/key_f1" /> 185 <Key 186 android:codes="@integer/key_space" 187 android:keyIcon="@drawable/sym_bkeyboard_space" 188 android:iconPreview="@drawable/sym_keyboard_feedback_space" 189 android:keyWidth="40%p" /> 190 <Key 191 android:keyLabel="." 192 android:keyIcon="@drawable/hint_popup" 193 android:popupKeyboard="@xml/popup_punctuation" /> 194 <Key 195 android:codes="@integer/key_return" 196 android:keyIcon="@drawable/sym_bkeyboard_return" 197 android:iconPreview="@drawable/sym_keyboard_feedback_return" 198 android:keyWidth="20%p" 199 android:keyEdgeFlags="right" /> 200 </Row> 201 <Row 202 android:keyboardMode="@+id/mode_email" 203 android:keyWidth="10%p" 204 android:rowEdgeFlags="bottom" 205 > 206 <Key 207 android:codes="@integer/key_symbol" 208 android:keyLabel="@string/label_symbol_key" 209 android:keyWidth="20%p" 210 android:keyEdgeFlags="left" /> 211 <Key 212 android:codes="@integer/key_f1" /> 213 <Key 214 android:codes="@integer/key_space" 215 android:keyIcon="@drawable/sym_bkeyboard_space" 216 android:iconPreview="@drawable/sym_keyboard_feedback_space" 217 android:keyWidth="40%p" /> 218 <Key 219 android:keyLabel="." 220 android:keyIcon="@drawable/hint_popup" 221 android:popupKeyboard="@xml/popup_punctuation" /> 222 <Key 223 android:codes="@integer/key_return" 224 android:keyIcon="@drawable/sym_bkeyboard_return" 225 android:iconPreview="@drawable/sym_keyboard_feedback_return" 226 android:keyWidth="20%p" 227 android:keyEdgeFlags="right" /> 228 </Row> 229 <Row 230 android:keyboardMode="@+id/mode_im" 231 android:keyWidth="10%p" 232 android:rowEdgeFlags="bottom" 233 > 234 <Key 235 android:codes="@integer/key_symbol" 236 android:keyLabel="@string/label_symbol_key" 237 android:keyWidth="20%p" 238 android:keyEdgeFlags="left" /> 239 <Key 240 android:codes="@integer/key_f1" /> 241 <Key 242 android:codes="@integer/key_space" 243 android:keyIcon="@drawable/sym_bkeyboard_space" 244 android:iconPreview="@drawable/sym_keyboard_feedback_space" 245 android:keyWidth="40%p" /> 246 <Key 247 android:keyLabel="." 248 android:keyIcon="@drawable/hint_popup" 249 android:popupKeyboard="@xml/popup_punctuation" /> 250 <Key 251 android:keyLabel=":-)" 252 android:keyOutputText=":-) " 253 android:keyIcon="@drawable/hint_popup" 254 android:popupKeyboard="@xml/popup_smileys" 255 android:keyWidth="20%p" 256 android:keyEdgeFlags="right" /> 257 </Row> 258 <Row 259 android:keyboardMode="@+id/mode_webentry" 260 android:keyWidth="10%p" 261 android:rowEdgeFlags="bottom" 262 > 263 <Key 264 android:codes="@integer/key_symbol" 265 android:keyLabel="@string/label_symbol_key" 266 android:keyWidth="20%p" 267 android:keyEdgeFlags="left" /> 268 <Key 269 android:codes="@integer/key_f1" /> 270 <Key 271 android:codes="@integer/key_space" 272 android:keyIcon="@drawable/sym_bkeyboard_space" 273 android:iconPreview="@drawable/sym_keyboard_feedback_space" 274 android:keyWidth="20%p" /> 275 <Key 276 android:codes="@integer/key_tab" 277 android:keyIcon="@drawable/sym_bkeyboard_tab" 278 android:iconPreview="@drawable/sym_keyboard_feedback_tab" 279 android:keyWidth="20%p" /> 280 <Key 281 android:keyLabel="." 282 android:keyIcon="@drawable/hint_popup" 283 android:popupKeyboard="@xml/popup_punctuation" /> 284 <Key 285 android:codes="@integer/key_return" 286 android:keyIcon="@drawable/sym_bkeyboard_return" 287 android:iconPreview="@drawable/sym_keyboard_feedback_return" 288 android:keyWidth="20%p" 289 android:keyEdgeFlags="right" /> 290 </Row> 291 <Row 292 android:keyboardMode="@+id/mode_normal_with_settings_key" 293 android:keyWidth="10%p" 294 android:rowEdgeFlags="bottom" 295 > 296 <Key 297 android:codes="@integer/key_symbol" 298 android:keyLabel="@string/label_symbol_key" 299 android:keyWidth="15%p" 300 android:keyEdgeFlags="left" /> 301 <Key 302 android:codes="@integer/key_settings" 303 android:keyIcon="@drawable/sym_bkeyboard_settings" 304 android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> 305 <Key 306 android:codes="@integer/key_f1" /> 307 <Key 308 android:codes="@integer/key_space" 309 android:keyIcon="@drawable/sym_bkeyboard_space" 310 android:iconPreview="@drawable/sym_keyboard_feedback_space" 311 android:keyWidth="30%p" /> 312 <Key 313 android:keyLabel="." 314 android:keyIcon="@drawable/hint_popup" 315 android:popupKeyboard="@xml/popup_punctuation" /> 316 <Key 317 android:codes="@integer/key_return" 318 android:keyIcon="@drawable/sym_bkeyboard_return" 319 android:iconPreview="@drawable/sym_keyboard_feedback_return" 320 android:keyWidth="25%p" 321 android:keyEdgeFlags="right" /> 322 </Row> 323 <Row 324 android:keyboardMode="@+id/mode_url_with_settings_key" 325 android:keyWidth="10%p" 326 android:rowEdgeFlags="bottom" 327 > 328 <Key 329 android:codes="@integer/key_symbol" 330 android:keyLabel="@string/label_symbol_key" 331 android:keyWidth="15%p" 332 android:keyEdgeFlags="left" /> 333 <Key 334 android:codes="@integer/key_settings" 335 android:keyIcon="@drawable/sym_bkeyboard_settings" 336 android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> 337 <Key 338 android:codes="@integer/key_f1" /> 339 <Key 340 android:codes="@integer/key_space" 341 android:keyIcon="@drawable/sym_bkeyboard_space" 342 android:iconPreview="@drawable/sym_keyboard_feedback_space" 343 android:keyWidth="30%p" /> 344 <Key 345 android:keyLabel="." 346 android:keyIcon="@drawable/hint_popup" 347 android:popupKeyboard="@xml/popup_punctuation" /> 348 <Key 349 android:codes="@integer/key_return" 350 android:keyIcon="@drawable/sym_bkeyboard_return" 351 android:iconPreview="@drawable/sym_keyboard_feedback_return" 352 android:keyWidth="25%p" 353 android:keyEdgeFlags="right" /> 354 </Row> 355 <Row 356 android:keyboardMode="@+id/mode_email_with_settings_key" 357 android:keyWidth="10%p" 358 android:rowEdgeFlags="bottom" 359 > 360 <Key 361 android:codes="@integer/key_symbol" 362 android:keyLabel="@string/label_symbol_key" 363 android:keyWidth="15%p" 364 android:keyEdgeFlags="left" /> 365 <Key 366 android:codes="@integer/key_settings" 367 android:keyIcon="@drawable/sym_bkeyboard_settings" 368 android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> 369 <Key 370 android:codes="@integer/key_f1" /> 371 <Key 372 android:codes="@integer/key_space" 373 android:keyIcon="@drawable/sym_bkeyboard_space" 374 android:iconPreview="@drawable/sym_keyboard_feedback_space" 375 android:keyWidth="30%p" /> 376 <Key 377 android:keyLabel="." 378 android:keyIcon="@drawable/hint_popup" 379 android:popupKeyboard="@xml/popup_punctuation" /> 380 <Key 381 android:codes="@integer/key_return" 382 android:keyIcon="@drawable/sym_bkeyboard_return" 383 android:iconPreview="@drawable/sym_keyboard_feedback_return" 384 android:keyWidth="25%p" 385 android:keyEdgeFlags="right" /> 386 </Row> 387 <Row 388 android:keyboardMode="@+id/mode_im_with_settings_key" 389 android:keyWidth="10%p" 390 android:rowEdgeFlags="bottom" 391 > 392 <Key 393 android:codes="@integer/key_symbol" 394 android:keyLabel="@string/label_symbol_key" 395 android:keyWidth="15%p" 396 android:keyEdgeFlags="left" /> 397 <Key 398 android:codes="@integer/key_settings" 399 android:keyIcon="@drawable/sym_bkeyboard_settings" 400 android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> 401 <Key 402 android:codes="@integer/key_f1" /> 403 <Key 404 android:codes="@integer/key_space" 405 android:keyIcon="@drawable/sym_bkeyboard_space" 406 android:iconPreview="@drawable/sym_keyboard_feedback_space" 407 android:keyWidth="30%p" /> 408 <Key 409 android:keyLabel="." 410 android:keyIcon="@drawable/hint_popup" 411 android:popupKeyboard="@xml/popup_punctuation" /> 412 <Key 413 android:keyLabel=":-)" 414 android:keyOutputText=":-) " 415 android:keyIcon="@drawable/hint_popup" 416 android:popupKeyboard="@xml/popup_smileys" 417 android:keyWidth="25%p" 418 android:keyEdgeFlags="right" /> 419 </Row> 420 <Row 421 android:keyboardMode="@+id/mode_webentry_with_settings_key" 422 android:keyWidth="10%p" 423 android:rowEdgeFlags="bottom" 424 > 425 <Key 426 android:codes="@integer/key_symbol" 427 android:keyLabel="@string/label_symbol_key" 428 android:keyWidth="15%p" 429 android:keyEdgeFlags="left" /> 430 <Key 431 android:codes="@integer/key_settings" 432 android:keyIcon="@drawable/sym_bkeyboard_settings" 433 android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> 434 <Key 435 android:codes="@integer/key_f1" /> 436 <Key 437 android:codes="@integer/key_space" 438 android:keyIcon="@drawable/sym_bkeyboard_space" 439 android:iconPreview="@drawable/sym_keyboard_feedback_space" 440 android:keyWidth="30%p" /> 441 <Key 442 android:codes="@integer/key_tab" 443 android:keyIcon="@drawable/sym_bkeyboard_tab" 444 android:iconPreview="@drawable/sym_keyboard_feedback_tab" /> 445 <Key 446 android:keyLabel="." 447 android:keyIcon="@drawable/hint_popup" 448 android:popupKeyboard="@xml/popup_punctuation" /> 449 <Key 450 android:codes="@integer/key_return" 451 android:keyIcon="@drawable/sym_bkeyboard_return" 452 android:iconPreview="@drawable/sym_keyboard_feedback_return" 453 android:keyWidth="15%p" 454 android:keyEdgeFlags="right" /> 455 </Row> 456 </Keyboard> 457