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