blob: e8d53481d70ced1c265e81e22d48f570551c397e [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. Takaoka232863a2010-09-08 15:12:51 +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. Takaoka232863a2010-09-08 15:12:51 +090027>
28 <Row>
29 <Key
30 android:codes="97"
31 android:keyLabel="a"
32 android:popupKeyboard="@xml/kbd_popup_template"
33 android:popupCharacters="@string/alternates_for_a"
34 android:keyEdgeFlags="left" />
35 <Key
36 android:codes="122"
37 android:keyLabel="z" />
38 <Key
39 android:codes="101"
40 android:keyLabel="e"
41 android:popupKeyboard="@xml/kbd_popup_template"
42 android:popupCharacters="@string/alternates_for_e" />
43 <Key
44 android:codes="114"
45 android:keyLabel="r" />
46 <Key
47 android:codes="116"
48 android:keyLabel="t" />
49 <Key
50 android:codes="121"
51 android:keyLabel="y"
52 android:popupKeyboard="@xml/kbd_popup_template"
53 android:popupCharacters="@string/alternates_for_y" />
54 <Key
55 android:codes="117"
56 android:keyLabel="u"
57 android:popupKeyboard="@xml/kbd_popup_template"
58 android:popupCharacters="@string/alternates_for_u" />
59 <Key
60 android:codes="105"
61 android:keyLabel="i"
62 android:popupKeyboard="@xml/kbd_popup_template"
63 android:popupCharacters="@string/alternates_for_i" />
64 <Key
65 android:codes="111"
66 android:keyLabel="o"
67 android:popupKeyboard="@xml/kbd_popup_template"
68 android:popupCharacters="@string/alternates_for_o" />
69 <Key
70 android:codes="112"
71 android:keyLabel="p"
72 android:keyEdgeFlags="right" />
73 </Row>
74 <Row>
75 <Key
76 android:codes="113"
77 android:keyLabel="q"
78 android:keyEdgeFlags="left" />
79 <Key
80 android:codes="115"
81 android:keyLabel="s"
82 android:popupKeyboard="@xml/kbd_popup_template"
83 android:popupCharacters="@string/alternates_for_s" />
84 <Key
85 android:codes="100"
86 android:keyLabel="d" />
87 <Key
88 android:codes="102"
89 android:keyLabel="f" />
90 <Key
91 android:codes="103"
92 android:keyLabel="g" />
93 <Key
94 android:codes="104"
95 android:keyLabel="h" />
96 <Key
97 android:codes="106"
98 android:keyLabel="j" />
99 <Key
100 android:codes="107"
101 android:keyLabel="k" />
102 <Key
103 android:codes="108"
104 android:keyLabel="l" />
105 <Key
106 android:codes="109"
107 android:keyLabel="m"
108 android:keyEdgeFlags="right" />
109 </Row>
110 <Row>
111 <Key
112 android:codes="-1"
113 android:keyIcon="@drawable/sym_keyboard_shift"
114 android:keyWidth="15%p"
115 android:isModifier="true"
116 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
117 android:isSticky="true"
118 android:keyEdgeFlags="left" />
119 <Key
120 android:codes="119"
121 android:keyLabel="w" />
122 <Key
123 android:codes="120"
124 android:keyLabel="x" />
125 <Key
126 android:codes="99"
127 android:keyLabel="c"
128 android:popupKeyboard="@xml/kbd_popup_template"
129 android:popupCharacters="@string/alternates_for_c" />
130 <Key
131 android:codes="118"
132 android:keyLabel="v" />
133 <Key
134 android:codes="98"
135 android:keyLabel="b" />
136 <Key
137 android:codes="110"
138 android:keyLabel="n"
139 android:popupKeyboard="@xml/kbd_popup_template"
140 android:popupCharacters="@string/alternates_for_n" />
141 <!--Key android:codes="233,224,232,234" android:keyLabel="é"/ -->
142 <Key
143 android:keyLabel="\'" />
144 <Key
145 android:codes="-5"
146 android:keyIcon="@drawable/sym_keyboard_delete"
147 android:keyWidth="15%p"
148 android:keyEdgeFlags="right"
149 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
150 android:isRepeatable="true"
151 android:isModifier="true" />
152 </Row>
153 <Row
154 android:keyboardMode="@+id/mode_normal"
155 android:rowEdgeFlags="bottom"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700156 >
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900157 <Key
158 android:codes="-2"
159 android:keyLabel="@string/label_symbol_key"
160 android:keyWidth="15%p"
161 android:keyEdgeFlags="left"
162 android:isModifier="true" />
163 <Key
164 android:codes="@integer/key_settings"
165 android:keyIcon="@drawable/sym_keyboard_settings"
166 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
167 android:keyWidth="10%p"
168 android:isModifier="true" />
169 <Key
170 android:codes="@integer/key_f1"
171 android:keyIcon="@drawable/sym_keyboard_mic"
172 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
173 android:keyWidth="10%p"
174 android:isModifier="true" />
175 <Key
176 android:codes="32"
177 android:keyIcon="@drawable/sym_keyboard_space"
178 android:iconPreview="@drawable/sym_keyboard_feedback_space"
179 android:keyWidth="30%p"
180 android:isRepeatable="true"
181 android:isModifier="true" />
182 <Key
183 android:codes="46"
184 android:keyLabel="."
185 android:popupKeyboard="@xml/popup_punctuation"
186 android:keyWidth="10%p"
187 android:isModifier="true" />
188 <Key
189 android:codes="10"
190 android:keyIcon="@drawable/sym_keyboard_return"
191 android:iconPreview="@drawable/sym_keyboard_feedback_return"
192 android:keyWidth="25%p"
193 android:keyEdgeFlags="right"
194 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700195 </Row>
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900196 <Row
197 android:keyboardMode="@+id/mode_url"
198 android:rowEdgeFlags="bottom"
199 >
200 <Key
201 android:codes="-2"
202 android:keyLabel="@string/label_symbol_key"
203 android:keyWidth="15%p"
204 android:keyEdgeFlags="left"
205 android:isModifier="true" />
206 <Key
207 android:codes="@integer/key_settings"
208 android:keyIcon="@drawable/sym_keyboard_settings"
209 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
210 android:keyWidth="10%p"
211 android:isModifier="true" />
212 <Key
213 android:keyLabel="/"
satok007803c2010-09-08 17:24:16 +0900214 android:keyWidth="10%p"
215 android:isModifier="true" />
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900216 <Key
217 android:codes="32"
218 android:keyIcon="@drawable/sym_keyboard_space"
219 android:iconPreview="@drawable/sym_keyboard_feedback_space"
220 android:keyWidth="30%p"
221 android:isRepeatable="true"
222 android:isModifier="true" />
223 <Key
224 android:keyLabel="."
225 android:popupKeyboard="@xml/popup_punctuation"
226 android:keyWidth="10%p"
227 android:isModifier="true" />
228 <Key
229 android:codes="10"
230 android:keyIcon="@drawable/sym_keyboard_return"
231 android:iconPreview="@drawable/sym_keyboard_feedback_return"
232 android:keyWidth="25%p"
233 android:keyEdgeFlags="right"
234 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700235 </Row>
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900236 <Row
237 android:keyboardMode="@+id/mode_email"
238 android:rowEdgeFlags="bottom"
239 >
240 <Key
241 android:codes="-2"
242 android:keyLabel="@string/label_symbol_key"
243 android:keyWidth="15%p"
244 android:keyEdgeFlags="left"
245 android:isModifier="true" />
246 <Key
247 android:codes="@integer/key_settings"
248 android:keyIcon="@drawable/sym_keyboard_settings"
249 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
250 android:keyWidth="10%p"
251 android:isModifier="true" />
252 <Key
253 android:keyLabel="\@"
254 android:isModifier="true" />
255 <Key
256 android:codes="32"
257 android:keyIcon="@drawable/sym_keyboard_space"
258 android:iconPreview="@drawable/sym_keyboard_feedback_space"
259 android:keyWidth="30%p"
260 android:isRepeatable="true"
261 android:isModifier="true" />
262 <Key
263 android:keyLabel="."
264 android:popupKeyboard="@xml/popup_punctuation"
265 android:isModifier="true" />
266 <Key
267 android:codes="10"
268 android:keyIcon="@drawable/sym_keyboard_return"
269 android:iconPreview="@drawable/sym_keyboard_feedback_return"
270 android:keyWidth="25%p"
271 android:keyEdgeFlags="right"
272 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700273 </Row>
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900274 <Row
275 android:keyboardMode="@+id/mode_im"
276 android:rowEdgeFlags="bottom"
277 >
278 <Key
279 android:codes="-2"
280 android:keyLabel="@string/label_symbol_key"
281 android:keyWidth="15%p"
282 android:keyEdgeFlags="left"
283 android:isModifier="true" />
284 <Key
285 android:codes="@integer/key_settings"
286 android:keyIcon="@drawable/sym_keyboard_settings"
287 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
288 android:keyWidth="10%p"
289 android:isModifier="true" />
290 <Key
291 android:codes="@integer/key_f1"
292 android:keyIcon="@drawable/sym_keyboard_mic"
293 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
294 android:keyWidth="10%p"
295 android:isModifier="true" />
296 <Key
297 android:codes="32"
298 android:keyIcon="@drawable/sym_keyboard_space"
299 android:iconPreview="@drawable/sym_keyboard_feedback_space"
300 android:keyWidth="30%p"
301 android:isRepeatable="true"
302 android:isModifier="true" />
303 <Key
304 android:codes="46"
305 android:keyLabel="."
306 android:popupKeyboard="@xml/popup_punctuation"
307 android:keyWidth="10%p"
308 android:isModifier="true" />
309 <Key
310 android:keyLabel=":-)"
311 android:keyOutputText=":-) "
312 android:popupKeyboard="@xml/popup_smileys"
313 android:keyWidth="25%p"
314 android:keyEdgeFlags="right"
315 android:isModifier="true" />
Amith Yamasanicf026532010-01-26 21:25:29 -0800316 </Row>
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900317 <Row
318 android:keyboardMode="@+id/mode_webentry"
319 android:rowEdgeFlags="bottom"
320 >
321 <Key
322 android:codes="-2"
323 android:keyLabel="@string/label_symbol_key"
324 android:keyWidth="15%p"
325 android:keyEdgeFlags="left"
326 android:isModifier="true" />
327 <Key
328 android:codes="@integer/key_settings"
329 android:keyIcon="@drawable/sym_keyboard_settings"
330 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
331 android:keyWidth="10%p"
332 android:isModifier="true" />
333 <Key
334 android:codes="@integer/key_f1"
335 android:keyIcon="@drawable/sym_keyboard_mic"
336 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
337 android:keyWidth="10%p"
338 android:isModifier="true" />
339 <Key
340 android:codes="32"
341 android:keyIcon="@drawable/sym_keyboard_space"
342 android:iconPreview="@drawable/sym_keyboard_feedback_space"
343 android:keyWidth="30%p"
344 android:isRepeatable="true"
345 android:isModifier="true" />
346 <Key
347 android:codes="9"
348 android:keyIcon="@drawable/sym_keyboard_tab"
349 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
350 android:keyWidth="10%p"
351 android:isModifier="true" />
352 <Key
353 android:keyLabel="."
354 android:popupKeyboard="@xml/popup_punctuation"
355 android:keyWidth="10%p"
356 android:isModifier="true" />
357 <Key
358 android:codes="10"
359 android:keyIcon="@drawable/sym_keyboard_return"
360 android:iconPreview="@drawable/sym_keyboard_feedback_return"
361 android:keyWidth="15%p"
362 android:keyEdgeFlags="right"
363 android:isModifier="true" />
Mike LeBeau466741d2010-01-16 12:21:23 -0800364 </Row>
satok007803c2010-09-08 17:24:16 +0900365</Keyboard>