blob: 8829b535e819fe2dd3c98db5a88b9c721d8fb38a [file] [log] [blame]
The Android Open Source Project923bf412009-03-13 15:11:42 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
satokd3833642010-09-02 12:57:07 +09003/*
The Android Open Source Project923bf412009-03-13 15:11:42 -07004**
5** Copyright 2008, The Android Open Source Project
6**
satokd3833642010-09-02 12:57:07 +09007** 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
The Android Open Source Project923bf412009-03-13 15:11:42 -070010**
satokd3833642010-09-02 12:57:07 +090011** http://www.apache.org/licenses/LICENSE-2.0
The Android Open Source Project923bf412009-03-13 15:11:42 -070012**
satokd3833642010-09-02 12:57:07 +090013** 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
The Android Open Source Project923bf412009-03-13 15:11:42 -070017** limitations under the License.
18*/
19-->
20
Tadashi G. Takaoka7372a972010-09-08 17:47:24 +090021<Keyboard
22 xmlns:android="http://schemas.android.com/apk/res/android"
The Android Open Source Project923bf412009-03-13 15:11:42 -070023 android:keyWidth="10%p"
24 android:horizontalGap="0px"
25 android:verticalGap="0px"
26 android:keyHeight="@dimen/key_height"
Tadashi G. Takaoka7372a972010-09-08 17:47:24 +090027>
28 <Row>
29 <Key
30 android:codes="113"
31 android:keyLabel="q"
32 android:keyEdgeFlags="left" />
33 <Key
34 android:codes="119"
35 android:keyLabel="w" />
36 <Key
37 android:codes="101"
38 android:keyLabel="e"
39 android:popupKeyboard="@xml/kbd_popup_template"
40 android:popupCharacters="@string/alternates_for_e" />
41 <Key
42 android:codes="114"
43 android:keyLabel="r" />
44 <Key
45 android:codes="116"
46 android:keyLabel="t" />
47 <Key
48 android:codes="122"
49 android:keyLabel="z" />
50 <Key
51 android:codes="117"
52 android:keyLabel="u"
53 android:popupKeyboard="@xml/kbd_popup_template"
54 android:popupCharacters="@string/alternates_for_u" />
55 <Key
56 android:codes="105"
57 android:keyLabel="i"
58 android:popupKeyboard="@xml/kbd_popup_template"
59 android:popupCharacters="@string/alternates_for_i" />
60 <Key
61 android:codes="111"
62 android:keyLabel="o"
63 android:popupKeyboard="@xml/kbd_popup_template"
64 android:popupCharacters="@string/alternates_for_o" />
65 <Key
66 android:codes="112"
67 android:keyLabel="p"
68 android:keyEdgeFlags="right" />
69 </Row>
70 <Row>
71 <Key
72 android:codes="97"
73 android:keyLabel="a"
74 android:horizontalGap="5%p"
75 android:popupKeyboard="@xml/kbd_popup_template"
76 android:popupCharacters="@string/alternates_for_a"
77 android:keyEdgeFlags="left" />
78 <Key
79 android:codes="115"
80 android:keyLabel="s"
81 android:popupKeyboard="@xml/kbd_popup_template"
82 android:popupCharacters="@string/alternates_for_s" />
83 <Key
84 android:codes="100"
85 android:keyLabel="d" />
86 <Key
87 android:codes="102"
88 android:keyLabel="f" />
89 <Key
90 android:codes="103"
91 android:keyLabel="g" />
92 <Key
93 android:codes="104"
94 android:keyLabel="h" />
95 <Key
96 android:codes="106"
97 android:keyLabel="j" />
98 <Key
99 android:codes="107"
100 android:keyLabel="k" />
101 <Key
102 android:codes="108"
103 android:keyLabel="l"
104 android:keyEdgeFlags="right" />
105 </Row>
106 <Row>
107 <Key
108 android:codes="-1"
109 android:keyIcon="@drawable/sym_keyboard_shift"
110 android:keyWidth="15%p"
111 android:isModifier="true"
112 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
113 android:isSticky="true"
114 android:keyEdgeFlags="left" />
115 <Key
116 android:codes="121"
117 android:keyLabel="y"
118 android:popupKeyboard="@xml/kbd_popup_template"
119 android:popupCharacters="@string/alternates_for_y" />
120 <Key
121 android:codes="120"
122 android:keyLabel="x" />
123 <Key
124 android:codes="99"
125 android:keyLabel="c"
126 android:popupKeyboard="@xml/kbd_popup_template"
127 android:popupCharacters="@string/alternates_for_c" />
128 <Key
129 android:codes="118"
130 android:keyLabel="v" />
131 <Key
132 android:codes="98"
133 android:keyLabel="b" />
134 <Key
135 android:codes="110"
136 android:keyLabel="n"
137 android:popupKeyboard="@xml/kbd_popup_template"
138 android:popupCharacters="@string/alternates_for_n" />
139 <Key
140 android:codes="109"
141 android:keyLabel="m" />
142 <Key
143 android:codes="-5"
144 android:keyIcon="@drawable/sym_keyboard_delete"
145 android:keyWidth="15%p"
146 android:keyEdgeFlags="right"
147 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
148 android:isRepeatable="true"
149 android:isModifier="true" />
150 </Row>
151 <Row
152 android:keyboardMode="@+id/mode_normal"
153 android:rowEdgeFlags="bottom"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700154 >
Tadashi G. Takaoka7372a972010-09-08 17:47:24 +0900155 <Key
156 android:codes="-2"
157 android:keyLabel="@string/label_symbol_key"
158 android:keyWidth="15%p"
159 android:keyEdgeFlags="left"
160 android:isModifier="true" />
161 <Key
162 android:codes="@integer/key_settings"
163 android:keyIcon="@drawable/sym_keyboard_settings"
164 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
165 android:keyWidth="10%p"
166 android:isModifier="true" />
167 <Key
168 android:codes="@integer/key_f1"
169 android:keyIcon="@drawable/sym_keyboard_mic"
170 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
171 android:keyWidth="10%p"
172 android:isModifier="true" />
173 <Key
174 android:codes="32"
175 android:keyIcon="@drawable/sym_keyboard_space"
176 android:iconPreview="@drawable/sym_keyboard_feedback_space"
177 android:keyWidth="30%p"
178 android:isRepeatable="true"
179 android:isModifier="true" />
180 <Key
181 android:codes="46"
182 android:keyLabel="."
183 android:popupKeyboard="@xml/popup_punctuation"
184 android:keyWidth="10%p"
185 android:isModifier="true" />
186 <Key
187 android:codes="10"
188 android:keyIcon="@drawable/sym_keyboard_return"
189 android:iconPreview="@drawable/sym_keyboard_feedback_return"
190 android:keyWidth="25%p"
191 android:keyEdgeFlags="right"
192 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700193 </Row>
Tadashi G. Takaoka7372a972010-09-08 17:47:24 +0900194 <Row
195 android:keyboardMode="@+id/mode_url"
196 android:rowEdgeFlags="bottom"
197 >
198 <Key
199 android:codes="-2"
200 android:keyLabel="@string/label_symbol_key"
201 android:keyWidth="15%p"
202 android:keyEdgeFlags="left"
203 android:isModifier="true" />
204 <Key
205 android:codes="@integer/key_settings"
206 android:keyIcon="@drawable/sym_keyboard_settings"
207 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
208 android:keyWidth="10%p"
209 android:isModifier="true" />
210 <Key
211 android:keyLabel="/"
212 android:keyWidth="10%p"
213 android:isModifier="true" />
214 <Key
215 android:codes="32"
216 android:keyIcon="@drawable/sym_keyboard_space"
217 android:iconPreview="@drawable/sym_keyboard_feedback_space"
218 android:keyWidth="30%p"
219 android:isRepeatable="true"
220 android:isModifier="true" />
221 <Key
222 android:keyLabel="."
223 android:popupKeyboard="@xml/popup_punctuation"
224 android:keyWidth="10%p"
225 android:isModifier="true" />
226 <Key
227 android:codes="10"
228 android:keyIcon="@drawable/sym_keyboard_return"
229 android:iconPreview="@drawable/sym_keyboard_feedback_return"
230 android:keyWidth="25%p"
231 android:keyEdgeFlags="right"
232 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700233 </Row>
Tadashi G. Takaoka7372a972010-09-08 17:47:24 +0900234 <Row
235 android:keyboardMode="@+id/mode_email"
236 android:rowEdgeFlags="bottom"
237 >
238 <Key
239 android:codes="-2"
240 android:keyLabel="@string/label_symbol_key"
241 android:keyWidth="15%p"
242 android:keyEdgeFlags="left"
243 android:isModifier="true" />
244 <Key
245 android:codes="@integer/key_settings"
246 android:keyIcon="@drawable/sym_keyboard_settings"
247 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
248 android:keyWidth="10%p"
249 android:isModifier="true" />
250 <Key
251 android:keyLabel="\@"
252 android:isModifier="true" />
253 <Key
254 android:codes="32"
255 android:keyIcon="@drawable/sym_keyboard_space"
256 android:iconPreview="@drawable/sym_keyboard_feedback_space"
257 android:keyWidth="30%p"
258 android:isRepeatable="true"
259 android:isModifier="true" />
260 <Key
261 android:keyLabel="."
262 android:popupKeyboard="@xml/popup_punctuation"
263 android:isModifier="true" />
264 <Key
265 android:codes="10"
266 android:keyIcon="@drawable/sym_keyboard_return"
267 android:iconPreview="@drawable/sym_keyboard_feedback_return"
268 android:keyWidth="25%p"
269 android:keyEdgeFlags="right"
270 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700271 </Row>
Tadashi G. Takaoka7372a972010-09-08 17:47:24 +0900272 <Row
273 android:keyboardMode="@+id/mode_im"
274 android:rowEdgeFlags="bottom"
275 >
276 <Key
277 android:codes="-2"
278 android:keyLabel="@string/label_symbol_key"
279 android:keyWidth="15%p"
280 android:keyEdgeFlags="left"
281 android:isModifier="true" />
282 <Key
283 android:codes="@integer/key_settings"
284 android:keyIcon="@drawable/sym_keyboard_settings"
285 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
286 android:keyWidth="10%p"
287 android:isModifier="true" />
288 <Key
289 android:codes="@integer/key_f1"
290 android:keyIcon="@drawable/sym_keyboard_mic"
291 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
292 android:keyWidth="10%p"
293 android:isModifier="true" />
294 <Key
295 android:codes="32"
296 android:keyIcon="@drawable/sym_keyboard_space"
297 android:iconPreview="@drawable/sym_keyboard_feedback_space"
298 android:keyWidth="30%p"
299 android:isRepeatable="true"
300 android:isModifier="true" />
301 <Key
302 android:codes="46"
303 android:keyLabel="."
304 android:popupKeyboard="@xml/popup_punctuation"
305 android:keyWidth="10%p"
306 android:isModifier="true" />
307 <Key
308 android:keyLabel=":-)"
309 android:keyOutputText=":-) "
310 android:popupKeyboard="@xml/popup_smileys"
311 android:keyWidth="25%p"
312 android:keyEdgeFlags="right"
313 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700314 </Row>
Tadashi G. Takaoka7372a972010-09-08 17:47:24 +0900315 <Row
316 android:keyboardMode="@+id/mode_webentry"
317 android:rowEdgeFlags="bottom"
318 >
319 <Key
320 android:codes="-2"
321 android:keyLabel="@string/label_symbol_key"
322 android:keyWidth="15%p"
323 android:keyEdgeFlags="left"
324 android:isModifier="true" />
325 <Key
326 android:codes="@integer/key_settings"
327 android:keyIcon="@drawable/sym_keyboard_settings"
328 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
329 android:keyWidth="10%p"
330 android:isModifier="true" />
331 <Key
332 android:codes="@integer/key_f1"
333 android:keyIcon="@drawable/sym_keyboard_mic"
334 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
335 android:keyWidth="10%p"
336 android:isModifier="true" />
337 <Key
338 android:codes="32"
339 android:keyIcon="@drawable/sym_keyboard_space"
340 android:iconPreview="@drawable/sym_keyboard_feedback_space"
341 android:keyWidth="30%p"
342 android:isRepeatable="true"
343 android:isModifier="true" />
344 <Key
345 android:codes="9"
346 android:keyIcon="@drawable/sym_keyboard_tab"
347 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
348 android:keyWidth="10%p"
349 android:isModifier="true" />
350 <Key
351 android:keyLabel="."
352 android:popupKeyboard="@xml/popup_punctuation"
353 android:keyWidth="10%p"
354 android:isModifier="true" />
355 <Key
356 android:codes="10"
357 android:keyIcon="@drawable/sym_keyboard_return"
358 android:iconPreview="@drawable/sym_keyboard_feedback_return"
359 android:keyWidth="15%p"
360 android:keyEdgeFlags="right"
361 android:isModifier="true" />
Amith Yamasanicf026532010-01-26 21:25:29 -0800362 </Row>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700363</Keyboard>