PageRenderTime 27ms CodeModel.GetById 17ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/ime/latinime/res/xml/kbd_qwerty.xml

http://eyes-free.googlecode.com/
XML | 338 lines | 319 code | 1 blank | 18 comment | 0 complexity | debab31a9e7c3477d8203a6291c581c5 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_keyboard_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_keyboard_delete"
141            android:iconPreview="@drawable/sym_keyboard_feedback_delete"
142            android:keyWidth="15%p"
143            android:isModifier="true"
144            android:isRepeatable="true"
145            android:keyEdgeFlags="right" />
146    </Row>
147    <Row
148        android:keyboardMode="@+id/mode_normal_with_settings_key"
149        android:rowEdgeFlags="bottom"
150    >
151        <Key
152            android:codes="@integer/key_symbol"
153            android:keyLabel="@string/label_symbol_key"
154            android:keyWidth="15%p"
155            android:isModifier="true"
156            android:keyEdgeFlags="left" />
157        <Key
158            android:codes="@integer/key_settings"
159            android:keyIcon="@drawable/sym_keyboard_settings"
160            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
161            android:isModifier="true" />
162        <Key
163            android:codes="@integer/key_f1"
164            android:isModifier="true" />
165        <Key
166            android:codes="@integer/key_space"
167            android:keyIcon="@drawable/sym_keyboard_space"
168            android:iconPreview="@drawable/sym_keyboard_feedback_space"
169            android:keyWidth="30%p"
170            android:isModifier="true" />
171        <Key
172            android:keyLabel="."
173            android:keyIcon="@drawable/hint_popup"
174            android:popupKeyboard="@xml/popup_punctuation"
175            android:isModifier="true" />
176        <Key
177            android:codes="@integer/key_return"
178            android:keyIcon="@drawable/sym_keyboard_return"
179            android:iconPreview="@drawable/sym_keyboard_feedback_return"
180            android:keyWidth="25%p"
181            android:isModifier="true"
182            android:keyEdgeFlags="right" />
183    </Row>
184    <Row
185        android:keyboardMode="@+id/mode_url_with_settings_key"
186        android:rowEdgeFlags="bottom"
187    >
188        <Key
189            android:codes="@integer/key_symbol"
190            android:keyLabel="@string/label_symbol_key"
191            android:keyWidth="15%p"
192            android:isModifier="true"
193            android:keyEdgeFlags="left" />
194        <Key
195            android:codes="@integer/key_settings"
196            android:keyIcon="@drawable/sym_keyboard_settings"
197            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
198            android:isModifier="true" />
199        <Key
200            android:codes="@integer/key_f1"
201            android:isModifier="true" />
202        <Key
203            android:codes="@integer/key_space"
204            android:keyIcon="@drawable/sym_keyboard_space"
205            android:iconPreview="@drawable/sym_keyboard_feedback_space"
206            android:keyWidth="30%p"
207            android:isModifier="true" />
208        <Key
209            android:keyLabel="."
210            android:keyIcon="@drawable/hint_popup"
211            android:popupKeyboard="@xml/popup_punctuation"
212            android:isModifier="true" />
213        <Key
214            android:codes="@integer/key_return"
215            android:keyIcon="@drawable/sym_keyboard_return"
216            android:iconPreview="@drawable/sym_keyboard_feedback_return"
217            android:keyWidth="25%p"
218            android:isModifier="true"
219            android:keyEdgeFlags="right" />
220    </Row>
221    <Row
222        android:keyboardMode="@+id/mode_email_with_settings_key"
223        android:rowEdgeFlags="bottom"
224    >
225        <Key
226            android:codes="@integer/key_symbol"
227            android:keyLabel="@string/label_symbol_key"
228            android:keyWidth="15%p"
229            android:isModifier="true"
230            android:keyEdgeFlags="left" />
231        <Key
232            android:codes="@integer/key_settings"
233            android:keyIcon="@drawable/sym_keyboard_settings"
234            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
235            android:isModifier="true" />
236        <Key
237            android:codes="@integer/key_f1"
238            android:isModifier="true" />
239        <Key
240            android:codes="@integer/key_space"
241            android:keyIcon="@drawable/sym_keyboard_space"
242            android:iconPreview="@drawable/sym_keyboard_feedback_space"
243            android:keyWidth="30%p"
244            android:isModifier="true" />
245        <Key
246            android:keyLabel="."
247            android:keyIcon="@drawable/hint_popup"
248            android:popupKeyboard="@xml/popup_punctuation"
249            android:isModifier="true" />
250        <Key
251            android:codes="@integer/key_return"
252            android:keyIcon="@drawable/sym_keyboard_return"
253            android:iconPreview="@drawable/sym_keyboard_feedback_return"
254            android:keyWidth="25%p"
255            android:isModifier="true"
256            android:keyEdgeFlags="right" />
257    </Row>
258    <Row
259        android:keyboardMode="@+id/mode_im_with_settings_key"
260        android:rowEdgeFlags="bottom"
261    >
262        <Key
263            android:codes="@integer/key_symbol"
264            android:keyLabel="@string/label_symbol_key"
265            android:keyWidth="15%p"
266            android:isModifier="true"
267            android:keyEdgeFlags="left" />
268        <Key
269            android:codes="@integer/key_settings"
270            android:keyIcon="@drawable/sym_keyboard_settings"
271            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
272            android:isModifier="true" />
273        <Key
274            android:codes="@integer/key_f1"
275            android:isModifier="true" />
276        <Key
277            android:codes="@integer/key_space"
278            android:keyIcon="@drawable/sym_keyboard_space"
279            android:iconPreview="@drawable/sym_keyboard_feedback_space"
280            android:keyWidth="30%p"
281            android:isModifier="true" />
282        <Key
283            android:keyLabel="."
284            android:keyIcon="@drawable/hint_popup"
285            android:popupKeyboard="@xml/popup_punctuation"
286            android:isModifier="true" />
287        <Key
288            android:keyLabel=":-)"
289            android:keyOutputText=":-) "
290            android:keyIcon="@drawable/hint_popup"
291            android:popupKeyboard="@xml/popup_smileys"
292            android:keyWidth="25%p"
293            android:isModifier="true"
294            android:keyEdgeFlags="right" />
295    </Row>
296    <Row
297        android:keyboardMode="@+id/mode_webentry_with_settings_key"
298        android:rowEdgeFlags="bottom"
299    >
300        <Key
301            android:codes="@integer/key_symbol"
302            android:keyLabel="@string/label_symbol_key"
303            android:keyWidth="15%p"
304            android:isModifier="true"
305            android:keyEdgeFlags="left" />
306        <Key
307            android:codes="@integer/key_settings"
308            android:keyIcon="@drawable/sym_keyboard_settings"
309            android:iconPreview="@drawable/sym_keyboard_feedback_settings"
310            android:isModifier="true" />
311        <Key
312            android:codes="@integer/key_f1"
313            android:isModifier="true" />
314        <Key
315            android:codes="@integer/key_space"
316            android:keyIcon="@drawable/sym_keyboard_space"
317            android:iconPreview="@drawable/sym_keyboard_feedback_space"
318            android:keyWidth="30%p"
319            android:isModifier="true" />
320        <Key
321            android:codes="@integer/key_tab"
322            android:keyIcon="@drawable/sym_keyboard_tab"
323            android:iconPreview="@drawable/sym_keyboard_feedback_tab"
324            android:isModifier="true" />
325        <Key
326            android:keyLabel="."
327            android:keyIcon="@drawable/hint_popup"
328            android:popupKeyboard="@xml/popup_punctuation"
329            android:isModifier="true" />
330        <Key
331            android:codes="@integer/key_return"
332            android:keyIcon="@drawable/sym_keyboard_return"
333            android:iconPreview="@drawable/sym_keyboard_feedback_return"
334            android:keyWidth="15%p"
335            android:isModifier="true"
336            android:keyEdgeFlags="right" />
337    </Row>
338</Keyboard>