• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2008, 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="a"
33            android:popupKeyboard="@xml/kbd_popup_template"
34            android:popupCharacters="@string/alternates_for_a"
35            android:keyEdgeFlags="left" />
36        <Key
37            android:keyLabel="z"
38            android:popupKeyboard="@xml/kbd_popup_template"
39            android:popupCharacters="@string/alternates_for_z" />
40        <Key
41            android:keyLabel="e"
42            android:popupKeyboard="@xml/kbd_popup_template"
43            android:popupCharacters="@string/alternates_for_e" />
44        <Key
45            android:keyLabel="r"
46            android:popupKeyboard="@xml/kbd_popup_template"
47            android:popupCharacters="@string/alternates_for_r" />
48        <Key
49            android:keyLabel="t"
50            android:popupKeyboard="@xml/kbd_popup_template"
51            android:popupCharacters="@string/alternates_for_t" />
52        <Key
53            android:keyLabel="y"
54            android:popupKeyboard="@xml/kbd_popup_template"
55            android:popupCharacters="@string/alternates_for_y" />
56        <Key
57            android:keyLabel="u"
58            android:popupKeyboard="@xml/kbd_popup_template"
59            android:popupCharacters="@string/alternates_for_u" />
60        <Key
61            android:keyLabel="i"
62            android:popupKeyboard="@xml/kbd_popup_template"
63            android:popupCharacters="@string/alternates_for_i" />
64        <Key
65            android:keyLabel="o"
66            android:popupKeyboard="@xml/kbd_popup_template"
67            android:popupCharacters="@string/alternates_for_o" />
68        <Key
69            android:keyLabel="p"
70            android:popupKeyboard="@xml/kbd_popup_template"
71            android:popupCharacters="@string/alternates_for_p"
72            android:keyEdgeFlags="right" />
73    </Row>
74    <Row>
75        <Key
76            android:keyLabel="q"
77            android:popupKeyboard="@xml/kbd_popup_template"
78            android:popupCharacters="@string/alternates_for_q"
79            android:keyEdgeFlags="left" />
80        <Key
81            android:keyLabel="s"
82            android:popupKeyboard="@xml/kbd_popup_template"
83            android:popupCharacters="@string/alternates_for_s" />
84        <Key
85            android:keyLabel="d"
86            android:popupKeyboard="@xml/kbd_popup_template"
87            android:popupCharacters="@string/alternates_for_d" />
88        <Key
89            android:keyLabel="f" />
90        <Key
91            android:keyLabel="g"
92            android:popupKeyboard="@xml/kbd_popup_template"
93            android:popupCharacters="@string/alternates_for_g" />
94        <Key
95            android:keyLabel="h" />
96        <Key
97            android:keyLabel="j" />
98        <Key
99            android:keyLabel="k" />
100        <Key
101            android:keyLabel="l"
102            android:popupKeyboard="@xml/kbd_popup_template"
103            android:popupCharacters="@string/alternates_for_l" />
104        <Key
105            android:keyLabel="m"
106            android:keyEdgeFlags="right" />
107    </Row>
108    <Row>
109        <Key
110            android:codes="@integer/key_shift"
111            android:keyIcon="@drawable/sym_keyboard_shift"
112            android:iconPreview="@drawable/sym_keyboard_feedback_shift"
113            android:keyWidth="15%p"
114            android:isModifier="true"
115            android:isSticky="true"
116            android:keyEdgeFlags="left" />
117        <Key
118            android:keyLabel="w"
119            android:popupKeyboard="@xml/kbd_popup_template"
120            android:popupCharacters="@string/alternates_for_w" />
121        <Key
122            android:keyLabel="x" />
123        <Key
124            android:keyLabel="c"
125            android:popupKeyboard="@xml/kbd_popup_template"
126            android:popupCharacters="@string/alternates_for_c" />
127        <Key
128            android:keyLabel="v"
129            android:popupKeyboard="@xml/kbd_popup_template"
130            android:popupCharacters="@string/alternates_for_v" />
131        <Key
132            android:keyLabel="b" />
133        <Key
134            android:keyLabel="n"
135            android:popupKeyboard="@xml/kbd_popup_template"
136            android:popupCharacters="@string/alternates_for_n" />
137        <Key
138            android:keyLabel="\'" />
139        <Key
140            android:codes="@integer/key_delete"
141            android:keyIcon="@drawable/sym_keyboard_delete"
142            android:iconPreview="@drawable/sym_keyboard_feedback_delete"
143            android:keyWidth="15%p"
144            android:isModifier="true"
145            android:isRepeatable="true"
146            android:keyEdgeFlags="right" />
147    </Row>
148    <Row
149        android:keyboardMode="@+id/mode_normal"
150        android:keyWidth="10%p"
151        android:rowEdgeFlags="bottom"
152    >
153        <Key
154            android:codes="@integer/key_symbol"
155            android:keyLabel="@string/label_symbol_key"
156            android:keyWidth="20%p"
157            android:isModifier="true"
158            android:keyEdgeFlags="left" />
159        <Key
160            android:codes="@integer/key_f1"
161            android:isModifier="true" />
162        <Key
163            android:codes="@integer/key_space"
164            android:keyIcon="@drawable/sym_keyboard_space"
165            android:iconPreview="@drawable/sym_keyboard_feedback_space"
166            android:keyWidth="40%p"
167            android:isModifier="true" />
168        <Key
169            android:keyLabel="."
170            android:keyIcon="@drawable/hint_popup"
171            android:popupKeyboard="@xml/popup_punctuation"
172            android:isModifier="true" />
173        <Key
174            android:codes="@integer/key_return"
175            android:keyIcon="@drawable/sym_keyboard_return"
176            android:iconPreview="@drawable/sym_keyboard_feedback_return"
177            android:keyWidth="20%p"
178            android:isModifier="true"
179            android:keyEdgeFlags="right" />
180    </Row>
181    <Row
182        android:keyboardMode="@+id/mode_url"
183        android:keyWidth="10%p"
184        android:rowEdgeFlags="bottom"
185    >
186        <Key
187            android:codes="@integer/key_symbol"
188            android:keyLabel="@string/label_symbol_key"
189            android:keyWidth="20%p"
190            android:isModifier="true"
191            android:keyEdgeFlags="left" />
192        <Key
193            android:codes="@integer/key_f1"
194            android:isModifier="true" />
195        <Key
196            android:codes="@integer/key_space"
197            android:keyIcon="@drawable/sym_keyboard_space"
198            android:iconPreview="@drawable/sym_keyboard_feedback_space"
199            android:keyWidth="40%p"
200            android:isModifier="true" />
201        <Key
202            android:keyLabel="."
203            android:keyIcon="@drawable/hint_popup"
204            android:popupKeyboard="@xml/popup_punctuation"
205            android:isModifier="true" />
206        <Key
207            android:codes="@integer/key_return"
208            android:keyIcon="@drawable/sym_keyboard_return"
209            android:iconPreview="@drawable/sym_keyboard_feedback_return"
210            android:keyWidth="20%p"
211            android:isModifier="true"
212            android:keyEdgeFlags="right" />
213    </Row>
214    <Row
215        android:keyboardMode="@+id/mode_email"
216        android:keyWidth="10%p"
217        android:rowEdgeFlags="bottom"
218    >
219        <Key
220            android:codes="@integer/key_symbol"
221            android:keyLabel="@string/label_symbol_key"
222            android:keyWidth="20%p"
223            android:isModifier="true"
224            android:keyEdgeFlags="left" />
225        <Key
226            android:codes="@integer/key_f1"
227            android:isModifier="true" />
228        <Key
229            android:codes="@integer/key_space"
230            android:keyIcon="@drawable/sym_keyboard_space"
231            android:iconPreview="@drawable/sym_keyboard_feedback_space"
232            android:keyWidth="40%p"
233            android:isModifier="true" />
234        <Key
235            android:keyLabel="."
236            android:keyIcon="@drawable/hint_popup"
237            android:popupKeyboard="@xml/popup_punctuation"
238            android:isModifier="true" />
239        <Key
240            android:codes="@integer/key_return"
241            android:keyIcon="@drawable/sym_keyboard_return"
242            android:iconPreview="@drawable/sym_keyboard_feedback_return"
243            android:keyWidth="20%p"
244            android:isModifier="true"
245            android:keyEdgeFlags="right" />
246    </Row>
247    <Row
248        android:keyboardMode="@+id/mode_im"
249        android:keyWidth="10%p"
250        android:rowEdgeFlags="bottom"
251    >
252        <Key
253            android:codes="@integer/key_symbol"
254            android:keyLabel="@string/label_symbol_key"
255            android:keyWidth="20%p"
256            android:isModifier="true"
257            android:keyEdgeFlags="left" />
258        <Key
259            android:codes="@integer/key_f1"
260            android:isModifier="true" />
261        <Key
262            android:codes="@integer/key_space"
263            android:keyIcon="@drawable/sym_keyboard_space"
264            android:iconPreview="@drawable/sym_keyboard_feedback_space"
265            android:keyWidth="40%p"
266            android:isModifier="true" />
267        <Key
268            android:keyLabel="."
269            android:keyIcon="@drawable/hint_popup"
270            android:popupKeyboard="@xml/popup_punctuation"
271            android:isModifier="true" />
272        <Key
273            android:keyLabel=":-)"
274            android:keyOutputText=":-) "
275            android:keyIcon="@drawable/hint_popup"
276            android:popupKeyboard="@xml/popup_smileys"
277            android:keyWidth="20%p"
278            android:isModifier="true"
279            android:keyEdgeFlags="right" />
280    </Row>
281    <Row
282        android:keyboardMode="@+id/mode_webentry"
283        android:keyWidth="10%p"
284        android:rowEdgeFlags="bottom"
285    >
286        <Key
287            android:codes="@integer/key_symbol"
288            android:keyLabel="@string/label_symbol_key"
289            android:keyWidth="20%p"
290            android:isModifier="true"
291            android:keyEdgeFlags="left" />
292        <Key
293            android:codes="@integer/key_f1"
294            android:isModifier="true" />
295        <Key
296            android:codes="@integer/key_space"
297            android:keyIcon="@drawable/sym_keyboard_space"
298            android:iconPreview="@drawable/sym_keyboard_feedback_space"
299            android:keyWidth="20%p"
300            android:isModifier="true" />
301        <Key
302            android:codes="@integer/key_tab"
303            android:keyIcon="@drawable/sym_keyboard_tab"
304            android:iconPreview="@drawable/sym_keyboard_feedback_tab"
305            android:keyWidth="20%p"
306            android:isModifier="true" />
307        <Key
308            android:keyLabel="."
309            android:keyIcon="@drawable/hint_popup"
310            android:popupKeyboard="@xml/popup_punctuation"
311            android:isModifier="true" />
312        <Key
313            android:codes="@integer/key_return"
314            android:keyIcon="@drawable/sym_keyboard_return"
315            android:iconPreview="@drawable/sym_keyboard_feedback_return"
316            android:keyWidth="20%p"
317            android:isModifier="true"
318            android:keyEdgeFlags="right" />
319    </Row>
320    <Row
321        android:keyboardMode="@+id/mode_normal_with_settings_key"
322        android:keyWidth="10%p"
323        android:rowEdgeFlags="bottom"
324    >
325        <Key
326            android:codes="@integer/key_symbol"
327            android:keyLabel="@string/label_symbol_key"
328            android:keyWidth="15%p"
329            android:isModifier="true"
330            android:keyEdgeFlags="left" />
331        <Key
332            android:codes="@integer/key_settings"
333            android:keyIcon="@drawable/sym_keyboard_settings"
334            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
335            android:isModifier="true" />
336        <Key
337            android:codes="@integer/key_f1"
338            android:isModifier="true" />
339        <Key
340            android:codes="@integer/key_space"
341            android:keyIcon="@drawable/sym_keyboard_space"
342            android:iconPreview="@drawable/sym_keyboard_feedback_space"
343            android:keyWidth="30%p"
344            android:isModifier="true" />
345        <Key
346            android:keyLabel="."
347            android:keyIcon="@drawable/hint_popup"
348            android:popupKeyboard="@xml/popup_punctuation"
349            android:isModifier="true" />
350        <Key
351            android:codes="@integer/key_return"
352            android:keyIcon="@drawable/sym_keyboard_return"
353            android:iconPreview="@drawable/sym_keyboard_feedback_return"
354            android:keyWidth="25%p"
355            android:isModifier="true"
356            android:keyEdgeFlags="right" />
357    </Row>
358    <Row
359        android:keyboardMode="@+id/mode_url_with_settings_key"
360        android:keyWidth="10%p"
361        android:rowEdgeFlags="bottom"
362    >
363        <Key
364            android:codes="@integer/key_symbol"
365            android:keyLabel="@string/label_symbol_key"
366            android:keyWidth="15%p"
367            android:isModifier="true"
368            android:keyEdgeFlags="left" />
369        <Key
370            android:codes="@integer/key_settings"
371            android:keyIcon="@drawable/sym_keyboard_settings"
372            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
373            android:isModifier="true" />
374        <Key
375            android:codes="@integer/key_f1"
376            android:isModifier="true" />
377        <Key
378            android:codes="@integer/key_space"
379            android:keyIcon="@drawable/sym_keyboard_space"
380            android:iconPreview="@drawable/sym_keyboard_feedback_space"
381            android:keyWidth="30%p"
382            android:isModifier="true" />
383        <Key
384            android:keyLabel="."
385            android:keyIcon="@drawable/hint_popup"
386            android:popupKeyboard="@xml/popup_punctuation"
387            android:isModifier="true" />
388        <Key
389            android:codes="@integer/key_return"
390            android:keyIcon="@drawable/sym_keyboard_return"
391            android:iconPreview="@drawable/sym_keyboard_feedback_return"
392            android:keyWidth="25%p"
393            android:isModifier="true"
394            android:keyEdgeFlags="right" />
395    </Row>
396    <Row
397        android:keyboardMode="@+id/mode_email_with_settings_key"
398        android:keyWidth="10%p"
399        android:rowEdgeFlags="bottom"
400    >
401        <Key
402            android:codes="@integer/key_symbol"
403            android:keyLabel="@string/label_symbol_key"
404            android:keyWidth="15%p"
405            android:isModifier="true"
406            android:keyEdgeFlags="left" />
407        <Key
408            android:codes="@integer/key_settings"
409            android:keyIcon="@drawable/sym_keyboard_settings"
410            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
411            android:isModifier="true" />
412        <Key
413            android:codes="@integer/key_f1"
414            android:isModifier="true" />
415        <Key
416            android:codes="@integer/key_space"
417            android:keyIcon="@drawable/sym_keyboard_space"
418            android:iconPreview="@drawable/sym_keyboard_feedback_space"
419            android:keyWidth="30%p"
420            android:isModifier="true" />
421        <Key
422            android:keyLabel="."
423            android:keyIcon="@drawable/hint_popup"
424            android:popupKeyboard="@xml/popup_punctuation"
425            android:isModifier="true" />
426        <Key
427            android:codes="@integer/key_return"
428            android:keyIcon="@drawable/sym_keyboard_return"
429            android:iconPreview="@drawable/sym_keyboard_feedback_return"
430            android:keyWidth="25%p"
431            android:isModifier="true"
432            android:keyEdgeFlags="right" />
433    </Row>
434    <Row
435        android:keyboardMode="@+id/mode_im_with_settings_key"
436        android:keyWidth="10%p"
437        android:rowEdgeFlags="bottom"
438    >
439        <Key
440            android:codes="@integer/key_symbol"
441            android:keyLabel="@string/label_symbol_key"
442            android:keyWidth="15%p"
443            android:isModifier="true"
444            android:keyEdgeFlags="left" />
445        <Key
446            android:codes="@integer/key_settings"
447            android:keyIcon="@drawable/sym_keyboard_settings"
448            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
449            android:isModifier="true" />
450        <Key
451            android:codes="@integer/key_f1"
452            android:isModifier="true" />
453        <Key
454            android:codes="@integer/key_space"
455            android:keyIcon="@drawable/sym_keyboard_space"
456            android:iconPreview="@drawable/sym_keyboard_feedback_space"
457            android:keyWidth="30%p"
458            android:isModifier="true" />
459        <Key
460            android:keyLabel="."
461            android:keyIcon="@drawable/hint_popup"
462            android:popupKeyboard="@xml/popup_punctuation"
463            android:isModifier="true" />
464        <Key
465            android:keyLabel=":-)"
466            android:keyOutputText=":-) "
467            android:keyIcon="@drawable/hint_popup"
468            android:popupKeyboard="@xml/popup_smileys"
469            android:keyWidth="25%p"
470            android:isModifier="true"
471            android:keyEdgeFlags="right" />
472    </Row>
473    <Row
474        android:keyboardMode="@+id/mode_webentry_with_settings_key"
475        android:keyWidth="10%p"
476        android:rowEdgeFlags="bottom"
477    >
478        <Key
479            android:codes="@integer/key_symbol"
480            android:keyLabel="@string/label_symbol_key"
481            android:keyWidth="15%p"
482            android:isModifier="true"
483            android:keyEdgeFlags="left" />
484        <Key
485            android:codes="@integer/key_settings"
486            android:keyIcon="@drawable/sym_keyboard_settings"
487            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
488            android:isModifier="true" />
489        <Key
490            android:codes="@integer/key_f1"
491            android:isModifier="true" />
492        <Key
493            android:codes="@integer/key_space"
494            android:keyIcon="@drawable/sym_keyboard_space"
495            android:iconPreview="@drawable/sym_keyboard_feedback_space"
496            android:keyWidth="30%p"
497            android:isModifier="true" />
498        <Key
499            android:codes="@integer/key_tab"
500            android:keyIcon="@drawable/sym_keyboard_tab"
501            android:iconPreview="@drawable/sym_keyboard_feedback_tab"
502            android:isModifier="true" />
503        <Key
504            android:keyLabel="."
505            android:keyIcon="@drawable/hint_popup"
506            android:popupKeyboard="@xml/popup_punctuation"
507            android:isModifier="true" />
508        <Key
509            android:codes="@integer/key_return"
510            android:keyIcon="@drawable/sym_keyboard_return"
511            android:iconPreview="@drawable/sym_keyboard_feedback_return"
512            android:keyWidth="15%p"
513            android:isModifier="true"
514            android:keyEdgeFlags="right" />
515    </Row>
516</Keyboard>
517