• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="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_bkeyboard_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_bkeyboard_delete"
142            android:iconPreview="@drawable/sym_keyboard_feedback_delete"
143            android:keyWidth="15%p"
144            android:isRepeatable="true"
145            android:keyEdgeFlags="right" />
146    </Row>
147    <Row
148        android:keyboardMode="@+id/mode_normal"
149        android:keyWidth="10%p"
150        android:rowEdgeFlags="bottom"
151    >
152        <Key
153            android:codes="@integer/key_symbol"
154            android:keyLabel="@string/label_symbol_key"
155            android:keyWidth="20%p"
156            android:keyEdgeFlags="left" />
157        <Key
158            android:codes="@integer/key_f1" />
159        <Key
160            android:codes="@integer/key_space"
161            android:keyIcon="@drawable/sym_bkeyboard_space"
162            android:iconPreview="@drawable/sym_keyboard_feedback_space"
163            android:keyWidth="40%p" />
164        <Key
165            android:keyLabel="."
166            android:keyIcon="@drawable/hint_popup"
167            android:popupKeyboard="@xml/popup_punctuation" />
168        <Key
169            android:codes="@integer/key_return"
170            android:keyIcon="@drawable/sym_bkeyboard_return"
171            android:iconPreview="@drawable/sym_keyboard_feedback_return"
172            android:keyWidth="20%p"
173            android:keyEdgeFlags="right" />
174    </Row>
175    <Row
176        android:keyboardMode="@+id/mode_url"
177        android:keyWidth="10%p"
178        android:rowEdgeFlags="bottom"
179    >
180        <Key
181            android:codes="@integer/key_symbol"
182            android:keyLabel="@string/label_symbol_key"
183            android:keyWidth="20%p"
184            android:keyEdgeFlags="left" />
185        <Key
186            android:codes="@integer/key_f1" />
187        <Key
188            android:codes="@integer/key_space"
189            android:keyIcon="@drawable/sym_bkeyboard_space"
190            android:iconPreview="@drawable/sym_keyboard_feedback_space"
191            android:keyWidth="40%p" />
192        <Key
193            android:keyLabel="."
194            android:keyIcon="@drawable/hint_popup"
195            android:popupKeyboard="@xml/popup_punctuation" />
196        <Key
197            android:codes="@integer/key_return"
198            android:keyIcon="@drawable/sym_bkeyboard_return"
199            android:iconPreview="@drawable/sym_keyboard_feedback_return"
200            android:keyWidth="20%p"
201            android:keyEdgeFlags="right" />
202    </Row>
203    <Row
204        android:keyboardMode="@+id/mode_email"
205        android:keyWidth="10%p"
206        android:rowEdgeFlags="bottom"
207    >
208        <Key
209            android:codes="@integer/key_symbol"
210            android:keyLabel="@string/label_symbol_key"
211            android:keyWidth="20%p"
212            android:keyEdgeFlags="left" />
213        <Key
214            android:codes="@integer/key_f1" />
215        <Key
216            android:codes="@integer/key_space"
217            android:keyIcon="@drawable/sym_bkeyboard_space"
218            android:iconPreview="@drawable/sym_keyboard_feedback_space"
219            android:keyWidth="40%p" />
220        <Key
221            android:keyLabel="."
222            android:keyIcon="@drawable/hint_popup"
223            android:popupKeyboard="@xml/popup_punctuation" />
224        <Key
225            android:codes="@integer/key_return"
226            android:keyIcon="@drawable/sym_bkeyboard_return"
227            android:iconPreview="@drawable/sym_keyboard_feedback_return"
228            android:keyWidth="20%p"
229            android:keyEdgeFlags="right" />
230    </Row>
231    <Row
232        android:keyboardMode="@+id/mode_im"
233        android:keyWidth="10%p"
234        android:rowEdgeFlags="bottom"
235    >
236        <Key
237            android:codes="@integer/key_symbol"
238            android:keyLabel="@string/label_symbol_key"
239            android:keyWidth="20%p"
240            android:keyEdgeFlags="left" />
241        <Key
242            android:codes="@integer/key_f1" />
243        <Key
244            android:codes="@integer/key_space"
245            android:keyIcon="@drawable/sym_bkeyboard_space"
246            android:iconPreview="@drawable/sym_keyboard_feedback_space"
247            android:keyWidth="40%p" />
248        <Key
249            android:keyLabel="."
250            android:keyIcon="@drawable/hint_popup"
251            android:popupKeyboard="@xml/popup_punctuation" />
252        <Key
253            android:keyLabel=":-)"
254            android:keyOutputText=":-) "
255            android:keyIcon="@drawable/hint_popup"
256            android:popupKeyboard="@xml/popup_smileys"
257            android:keyWidth="20%p"
258            android:keyEdgeFlags="right" />
259    </Row>
260    <Row
261        android:keyboardMode="@+id/mode_webentry"
262        android:keyWidth="10%p"
263        android:rowEdgeFlags="bottom"
264    >
265        <Key
266            android:codes="@integer/key_symbol"
267            android:keyLabel="@string/label_symbol_key"
268            android:keyWidth="20%p"
269            android:keyEdgeFlags="left" />
270        <Key
271            android:codes="@integer/key_f1" />
272        <Key
273            android:codes="@integer/key_space"
274            android:keyIcon="@drawable/sym_bkeyboard_space"
275            android:iconPreview="@drawable/sym_keyboard_feedback_space"
276            android:keyWidth="20%p" />
277        <Key
278            android:codes="@integer/key_tab"
279            android:keyIcon="@drawable/sym_bkeyboard_tab"
280            android:iconPreview="@drawable/sym_keyboard_feedback_tab"
281            android:keyWidth="20%p" />
282        <Key
283            android:keyLabel="."
284            android:keyIcon="@drawable/hint_popup"
285            android:popupKeyboard="@xml/popup_punctuation" />
286        <Key
287            android:codes="@integer/key_return"
288            android:keyIcon="@drawable/sym_bkeyboard_return"
289            android:iconPreview="@drawable/sym_keyboard_feedback_return"
290            android:keyWidth="20%p"
291            android:keyEdgeFlags="right" />
292    </Row>
293    <Row
294        android:keyboardMode="@+id/mode_normal_with_settings_key"
295        android:keyWidth="10%p"
296        android:rowEdgeFlags="bottom"
297    >
298        <Key
299            android:codes="@integer/key_symbol"
300            android:keyLabel="@string/label_symbol_key"
301            android:keyWidth="15%p"
302            android:keyEdgeFlags="left" />
303        <Key
304            android:codes="@integer/key_settings"
305            android:keyIcon="@drawable/sym_bkeyboard_settings"
306            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
307        <Key
308            android:codes="@integer/key_f1" />
309        <Key
310            android:codes="@integer/key_space"
311            android:keyIcon="@drawable/sym_bkeyboard_space"
312            android:iconPreview="@drawable/sym_keyboard_feedback_space"
313            android:keyWidth="30%p" />
314        <Key
315            android:keyLabel="."
316            android:keyIcon="@drawable/hint_popup"
317            android:popupKeyboard="@xml/popup_punctuation" />
318        <Key
319            android:codes="@integer/key_return"
320            android:keyIcon="@drawable/sym_bkeyboard_return"
321            android:iconPreview="@drawable/sym_keyboard_feedback_return"
322            android:keyWidth="25%p"
323            android:keyEdgeFlags="right" />
324    </Row>
325    <Row
326        android:keyboardMode="@+id/mode_url_with_settings_key"
327        android:keyWidth="10%p"
328        android:rowEdgeFlags="bottom"
329    >
330        <Key
331            android:codes="@integer/key_symbol"
332            android:keyLabel="@string/label_symbol_key"
333            android:keyWidth="15%p"
334            android:keyEdgeFlags="left" />
335        <Key
336            android:codes="@integer/key_settings"
337            android:keyIcon="@drawable/sym_bkeyboard_settings"
338            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
339        <Key
340            android:codes="@integer/key_f1" />
341        <Key
342            android:codes="@integer/key_space"
343            android:keyIcon="@drawable/sym_bkeyboard_space"
344            android:iconPreview="@drawable/sym_keyboard_feedback_space"
345            android:keyWidth="30%p" />
346        <Key
347            android:keyLabel="."
348            android:keyIcon="@drawable/hint_popup"
349            android:popupKeyboard="@xml/popup_punctuation" />
350        <Key
351            android:codes="@integer/key_return"
352            android:keyIcon="@drawable/sym_bkeyboard_return"
353            android:iconPreview="@drawable/sym_keyboard_feedback_return"
354            android:keyWidth="25%p"
355            android:keyEdgeFlags="right" />
356    </Row>
357    <Row
358        android:keyboardMode="@+id/mode_email_with_settings_key"
359        android:keyWidth="10%p"
360        android:rowEdgeFlags="bottom"
361    >
362        <Key
363            android:codes="@integer/key_symbol"
364            android:keyLabel="@string/label_symbol_key"
365            android:keyWidth="15%p"
366            android:keyEdgeFlags="left" />
367        <Key
368            android:codes="@integer/key_settings"
369            android:keyIcon="@drawable/sym_bkeyboard_settings"
370            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
371        <Key
372            android:codes="@integer/key_f1" />
373        <Key
374            android:codes="@integer/key_space"
375            android:keyIcon="@drawable/sym_bkeyboard_space"
376            android:iconPreview="@drawable/sym_keyboard_feedback_space"
377            android:keyWidth="30%p" />
378        <Key
379            android:keyLabel="."
380            android:keyIcon="@drawable/hint_popup"
381            android:popupKeyboard="@xml/popup_punctuation" />
382        <Key
383            android:codes="@integer/key_return"
384            android:keyIcon="@drawable/sym_bkeyboard_return"
385            android:iconPreview="@drawable/sym_keyboard_feedback_return"
386            android:keyWidth="25%p"
387            android:keyEdgeFlags="right" />
388    </Row>
389    <Row
390        android:keyboardMode="@+id/mode_im_with_settings_key"
391        android:keyWidth="10%p"
392        android:rowEdgeFlags="bottom"
393    >
394        <Key
395            android:codes="@integer/key_symbol"
396            android:keyLabel="@string/label_symbol_key"
397            android:keyWidth="15%p"
398            android:keyEdgeFlags="left" />
399        <Key
400            android:codes="@integer/key_settings"
401            android:keyIcon="@drawable/sym_bkeyboard_settings"
402            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
403        <Key
404            android:codes="@integer/key_f1" />
405        <Key
406            android:codes="@integer/key_space"
407            android:keyIcon="@drawable/sym_bkeyboard_space"
408            android:iconPreview="@drawable/sym_keyboard_feedback_space"
409            android:keyWidth="30%p" />
410        <Key
411            android:keyLabel="."
412            android:keyIcon="@drawable/hint_popup"
413            android:popupKeyboard="@xml/popup_punctuation" />
414        <Key
415            android:keyLabel=":-)"
416            android:keyOutputText=":-) "
417            android:keyIcon="@drawable/hint_popup"
418            android:popupKeyboard="@xml/popup_smileys"
419            android:keyWidth="25%p"
420            android:keyEdgeFlags="right" />
421    </Row>
422    <Row
423        android:keyboardMode="@+id/mode_webentry_with_settings_key"
424        android:keyWidth="10%p"
425        android:rowEdgeFlags="bottom"
426    >
427        <Key
428            android:codes="@integer/key_symbol"
429            android:keyLabel="@string/label_symbol_key"
430            android:keyWidth="15%p"
431            android:keyEdgeFlags="left" />
432        <Key
433            android:codes="@integer/key_settings"
434            android:keyIcon="@drawable/sym_bkeyboard_settings"
435            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
436        <Key
437            android:codes="@integer/key_f1" />
438        <Key
439            android:codes="@integer/key_space"
440            android:keyIcon="@drawable/sym_bkeyboard_space"
441            android:iconPreview="@drawable/sym_keyboard_feedback_space"
442            android:keyWidth="30%p" />
443        <Key
444            android:codes="@integer/key_tab"
445            android:keyIcon="@drawable/sym_bkeyboard_tab"
446            android:iconPreview="@drawable/sym_keyboard_feedback_tab" />
447        <Key
448            android:keyLabel="."
449            android:keyIcon="@drawable/hint_popup"
450            android:popupKeyboard="@xml/popup_punctuation" />
451        <Key
452            android:codes="@integer/key_return"
453            android:keyIcon="@drawable/sym_bkeyboard_return"
454            android:iconPreview="@drawable/sym_keyboard_feedback_return"
455            android:keyWidth="15%p"
456            android:keyEdgeFlags="right" />
457    </Row>
458</Keyboard>
459