PageRenderTime 15ms CodeModel.GetById 2ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/ime/latinime/res/xml/kbd_qwerty_black.xml

http://eyes-free.googlecode.com/
XML | 447 lines | 428 code | 1 blank | 18 comment | 0 complexity | 8582d490a81674b4e878e7dbd632d059 MD5 | raw file
  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="q"
 33            android:popupKeyboard="@xml/kbd_popup_template"
 34            android:popupCharacters="@string/alternates_for_q"
 35            android:keyEdgeFlags="left" />
 36        <Key
 37            android:keyLabel="w"
 38            android:popupKeyboard="@xml/kbd_popup_template"
 39            android:popupCharacters="@string/alternates_for_w" />
 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_narrow_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="a"
 77            android:popupKeyboard="@xml/kbd_popup_template"
 78            android:popupCharacters="@string/alternates_for_a"
 79            android:horizontalGap="5%p"
 80            android:keyEdgeFlags="left" />
 81        <Key
 82            android:keyLabel="s"
 83            android:popupKeyboard="@xml/kbd_popup_template"
 84            android:popupCharacters="@string/alternates_for_s" />
 85        <Key
 86            android:keyLabel="d"
 87            android:popupKeyboard="@xml/kbd_popup_template"
 88            android:popupCharacters="@string/alternates_for_d" />
 89        <Key
 90            android:keyLabel="f" />
 91        <Key
 92            android:keyLabel="g"
 93            android:popupKeyboard="@xml/kbd_popup_template"
 94            android:popupCharacters="@string/alternates_for_g" />
 95        <Key
 96            android:keyLabel="h" />
 97        <Key
 98            android:keyLabel="j" />
 99        <Key
100            android:keyLabel="k" />
101        <Key
102            android:keyLabel="l"
103            android:popupKeyboard="@xml/kbd_popup_template"
104            android:popupCharacters="@string/alternates_for_l"
105            android:keyEdgeFlags="right" />
106    </Row>
107    <Row>
108        <Key
109            android:codes="@integer/key_shift"
110            android:keyIcon="@drawable/sym_bkeyboard_shift"
111            android:iconPreview="@drawable/sym_keyboard_feedback_shift"
112            android:keyWidth="15%p"
113            android:isModifier="true"
114            android:isSticky="true"
115            android:keyEdgeFlags="left" />
116        <Key
117            android:keyLabel="z"
118            android:popupKeyboard="@xml/kbd_popup_template"
119            android:popupCharacters="@string/alternates_for_z" />
120        <Key
121            android:keyLabel="x" />
122        <Key
123            android:keyLabel="c"
124            android:popupKeyboard="@xml/kbd_popup_template"
125            android:popupCharacters="@string/alternates_for_c" />
126        <Key
127            android:keyLabel="v"
128            android:popupKeyboard="@xml/kbd_popup_template"
129            android:popupCharacters="@string/alternates_for_v" />
130        <Key
131            android:keyLabel="b" />
132        <Key
133            android:keyLabel="n"
134            android:popupKeyboard="@xml/kbd_popup_template"
135            android:popupCharacters="@string/alternates_for_n" />
136        <Key
137            android:keyLabel="m" />
138        <Key
139            android:codes="@integer/key_delete"
140            android:keyIcon="@drawable/sym_bkeyboard_delete"
141            android:iconPreview="@drawable/sym_keyboard_feedback_delete"
142            android:keyWidth="15%p"
143            android:isRepeatable="true"
144            android:keyEdgeFlags="right" />
145    </Row>
146    <Row
147        android:keyboardMode="@+id/mode_normal"
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:rowEdgeFlags="bottom"
176    >
177        <Key
178            android:codes="@integer/key_symbol"
179            android:keyLabel="@string/label_symbol_key"
180            android:keyWidth="20%p"
181            android:keyEdgeFlags="left" />
182        <Key
183            android:codes="@integer/key_f1" />
184        <Key
185            android:codes="@integer/key_space"
186            android:keyIcon="@drawable/sym_bkeyboard_space"
187            android:iconPreview="@drawable/sym_keyboard_feedback_space"
188            android:keyWidth="40%p" />
189        <Key
190            android:keyLabel="."
191            android:keyIcon="@drawable/hint_popup"
192            android:popupKeyboard="@xml/popup_punctuation" />
193        <Key
194            android:codes="@integer/key_return"
195            android:keyIcon="@drawable/sym_bkeyboard_return"
196            android:iconPreview="@drawable/sym_keyboard_feedback_return"
197            android:keyWidth="20%p"
198            android:keyEdgeFlags="right" />
199    </Row>
200    <Row
201        android:keyboardMode="@+id/mode_email"
202        android:rowEdgeFlags="bottom"
203    >
204        <Key
205            android:codes="@integer/key_symbol"
206            android:keyLabel="@string/label_symbol_key"
207            android:keyWidth="20%p"
208            android:keyEdgeFlags="left" />
209        <Key
210            android:codes="@integer/key_f1" />
211        <Key
212            android:codes="@integer/key_space"
213            android:keyIcon="@drawable/sym_bkeyboard_space"
214            android:iconPreview="@drawable/sym_keyboard_feedback_space"
215            android:keyWidth="40%p" />
216        <Key
217            android:keyLabel="."
218            android:keyIcon="@drawable/hint_popup"
219            android:popupKeyboard="@xml/popup_punctuation" />
220        <Key
221            android:codes="@integer/key_return"
222            android:keyIcon="@drawable/sym_bkeyboard_return"
223            android:iconPreview="@drawable/sym_keyboard_feedback_return"
224            android:keyWidth="20%p"
225            android:keyEdgeFlags="right" />
226    </Row>
227    <Row
228        android:keyboardMode="@+id/mode_im"
229        android:rowEdgeFlags="bottom"
230    >
231        <Key
232            android:codes="@integer/key_symbol"
233            android:keyLabel="@string/label_symbol_key"
234            android:keyWidth="20%p"
235            android:keyEdgeFlags="left" />
236        <Key
237            android:codes="@integer/key_f1" />
238        <Key
239            android:codes="@integer/key_space"
240            android:keyIcon="@drawable/sym_bkeyboard_space"
241            android:iconPreview="@drawable/sym_keyboard_feedback_space"
242            android:keyWidth="40%p" />
243        <Key
244            android:keyLabel="."
245            android:keyIcon="@drawable/hint_popup"
246            android:popupKeyboard="@xml/popup_punctuation" />
247        <Key
248            android:keyLabel=":-)"
249            android:keyOutputText=":-) "
250            android:keyIcon="@drawable/hint_popup"
251            android:popupKeyboard="@xml/popup_smileys"
252            android:keyWidth="20%p"
253            android:keyEdgeFlags="right" />
254    </Row>
255    <Row
256        android:keyboardMode="@+id/mode_webentry"
257        android:rowEdgeFlags="bottom"
258    >
259        <Key
260            android:codes="@integer/key_symbol"
261            android:keyLabel="@string/label_symbol_key"
262            android:keyWidth="20%p"
263            android:keyEdgeFlags="left" />
264        <Key
265            android:codes="@integer/key_f1" />
266        <Key
267            android:codes="@integer/key_space"
268            android:keyIcon="@drawable/sym_bkeyboard_space"
269            android:iconPreview="@drawable/sym_keyboard_feedback_space"
270            android:keyWidth="20%p" />
271        <Key
272            android:codes="@integer/key_tab"
273            android:keyIcon="@drawable/sym_bkeyboard_tab"
274            android:iconPreview="@drawable/sym_keyboard_feedback_tab"
275            android:keyWidth="20%p" />
276        <Key
277            android:keyLabel="."
278            android:keyIcon="@drawable/hint_popup"
279            android:popupKeyboard="@xml/popup_punctuation" />
280        <Key
281            android:codes="@integer/key_return"
282            android:keyIcon="@drawable/sym_bkeyboard_return"
283            android:iconPreview="@drawable/sym_keyboard_feedback_return"
284            android:keyWidth="20%p"
285            android:keyEdgeFlags="right" />
286    </Row>
287    <Row
288        android:keyboardMode="@+id/mode_normal_with_settings_key"
289        android:rowEdgeFlags="bottom"
290    >
291        <Key
292            android:codes="@integer/key_symbol"
293            android:keyLabel="@string/label_symbol_key"
294            android:keyWidth="15%p"
295            android:keyEdgeFlags="left" />
296        <Key
297            android:codes="@integer/key_settings"
298            android:keyIcon="@drawable/sym_bkeyboard_settings"
299            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
300        <Key
301            android:codes="@integer/key_f1" />
302        <Key
303            android:codes="@integer/key_space"
304            android:keyIcon="@drawable/sym_bkeyboard_space"
305            android:iconPreview="@drawable/sym_keyboard_feedback_space"
306            android:keyWidth="30%p" />
307        <Key
308            android:keyLabel="."
309            android:keyIcon="@drawable/hint_popup"
310            android:popupKeyboard="@xml/popup_punctuation" />
311        <Key
312            android:codes="@integer/key_return"
313            android:keyIcon="@drawable/sym_bkeyboard_return"
314            android:iconPreview="@drawable/sym_keyboard_feedback_return"
315            android:keyWidth="25%p"
316            android:keyEdgeFlags="right" />
317    </Row>
318    <Row
319        android:keyboardMode="@+id/mode_url_with_settings_key"
320        android:rowEdgeFlags="bottom"
321    >
322        <Key
323            android:codes="@integer/key_symbol"
324            android:keyLabel="@string/label_symbol_key"
325            android:keyWidth="15%p"
326            android:keyEdgeFlags="left" />
327        <Key
328            android:codes="@integer/key_settings"
329            android:keyIcon="@drawable/sym_bkeyboard_settings"
330            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
331        <Key
332            android:codes="@integer/key_f1" />
333        <Key
334            android:codes="@integer/key_space"
335            android:keyIcon="@drawable/sym_bkeyboard_space"
336            android:iconPreview="@drawable/sym_keyboard_feedback_space"
337            android:keyWidth="30%p" />
338        <Key
339            android:keyLabel="."
340            android:keyIcon="@drawable/hint_popup"
341            android:popupKeyboard="@xml/popup_punctuation" />
342        <Key
343            android:codes="@integer/key_return"
344            android:keyIcon="@drawable/sym_bkeyboard_return"
345            android:iconPreview="@drawable/sym_keyboard_feedback_return"
346            android:keyWidth="25%p"
347            android:keyEdgeFlags="right" />
348    </Row>
349    <Row
350        android:keyboardMode="@+id/mode_email_with_settings_key"
351        android:rowEdgeFlags="bottom"
352    >
353        <Key
354            android:codes="@integer/key_symbol"
355            android:keyLabel="@string/label_symbol_key"
356            android:keyWidth="15%p"
357            android:keyEdgeFlags="left" />
358        <Key
359            android:codes="@integer/key_settings"
360            android:keyIcon="@drawable/sym_bkeyboard_settings"
361            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
362        <Key
363            android:codes="@integer/key_f1" />
364        <Key
365            android:codes="@integer/key_space"
366            android:keyIcon="@drawable/sym_bkeyboard_space"
367            android:iconPreview="@drawable/sym_keyboard_feedback_space"
368            android:keyWidth="30%p" />
369        <Key
370            android:keyLabel="."
371            android:keyIcon="@drawable/hint_popup"
372            android:popupKeyboard="@xml/popup_punctuation" />
373        <Key
374            android:codes="@integer/key_return"
375            android:keyIcon="@drawable/sym_bkeyboard_return"
376            android:iconPreview="@drawable/sym_keyboard_feedback_return"
377            android:keyWidth="25%p"
378            android:keyEdgeFlags="right" />
379    </Row>
380    <Row
381        android:keyboardMode="@+id/mode_im_with_settings_key"
382        android:rowEdgeFlags="bottom"
383    >
384        <Key
385            android:codes="@integer/key_symbol"
386            android:keyLabel="@string/label_symbol_key"
387            android:keyWidth="15%p"
388            android:keyEdgeFlags="left" />
389        <Key
390            android:codes="@integer/key_settings"
391            android:keyIcon="@drawable/sym_bkeyboard_settings"
392            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
393        <Key
394            android:codes="@integer/key_f1" />
395        <Key
396            android:codes="@integer/key_space"
397            android:keyIcon="@drawable/sym_bkeyboard_space"
398            android:iconPreview="@drawable/sym_keyboard_feedback_space"
399            android:keyWidth="30%p" />
400        <Key
401            android:keyLabel="."
402            android:keyIcon="@drawable/hint_popup"
403            android:popupKeyboard="@xml/popup_punctuation" />
404        <Key
405            android:keyLabel=":-)"
406            android:keyOutputText=":-) "
407            android:keyIcon="@drawable/hint_popup"
408            android:popupKeyboard="@xml/popup_smileys"
409            android:keyWidth="25%p"
410            android:keyEdgeFlags="right" />
411    </Row>
412    <Row
413        android:keyboardMode="@+id/mode_webentry_with_settings_key"
414        android:rowEdgeFlags="bottom"
415    >
416        <Key
417            android:codes="@integer/key_symbol"
418            android:keyLabel="@string/label_symbol_key"
419            android:keyWidth="15%p"
420            android:keyEdgeFlags="left" />
421        <Key
422            android:codes="@integer/key_settings"
423            android:keyIcon="@drawable/sym_bkeyboard_settings"
424            android:iconPreview="@drawable/sym_keyboard_feedback_settings" />
425        <Key
426            android:codes="@integer/key_f1" />
427        <Key
428            android:codes="@integer/key_space"
429            android:keyIcon="@drawable/sym_bkeyboard_space"
430            android:iconPreview="@drawable/sym_keyboard_feedback_space"
431            android:keyWidth="30%p" />
432        <Key
433            android:codes="@integer/key_tab"
434            android:keyIcon="@drawable/sym_bkeyboard_tab"
435            android:iconPreview="@drawable/sym_keyboard_feedback_tab" />
436        <Key
437            android:keyLabel="."
438            android:keyIcon="@drawable/hint_popup"
439            android:popupKeyboard="@xml/popup_punctuation" />
440        <Key
441            android:codes="@integer/key_return"
442            android:keyIcon="@drawable/sym_bkeyboard_return"
443            android:iconPreview="@drawable/sym_keyboard_feedback_return"
444            android:keyWidth="15%p"
445            android:keyEdgeFlags="right" />
446    </Row>
447</Keyboard>