blob: f7e605c0ebe62917aef0a26cadb6fc1f242e6aff [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="/"
214 android:keyWidth="10%p" />
215 <Key
216 android:codes="32"
217 android:keyIcon="@drawable/sym_keyboard_space"
218 android:iconPreview="@drawable/sym_keyboard_feedback_space"
219 android:keyWidth="30%p"
220 android:isRepeatable="true"
221 android:isModifier="true" />
222 <Key
223 android:keyLabel="."
224 android:popupKeyboard="@xml/popup_punctuation"
225 android:keyWidth="10%p"
226 android:isModifier="true" />
227 <Key
228 android:codes="10"
229 android:keyIcon="@drawable/sym_keyboard_return"
230 android:iconPreview="@drawable/sym_keyboard_feedback_return"
231 android:keyWidth="25%p"
232 android:keyEdgeFlags="right"
233 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700234 </Row>
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900235 <Row
236 android:keyboardMode="@+id/mode_email"
237 android:rowEdgeFlags="bottom"
238 >
239 <Key
240 android:codes="-2"
241 android:keyLabel="@string/label_symbol_key"
242 android:keyWidth="15%p"
243 android:keyEdgeFlags="left"
244 android:isModifier="true" />
245 <Key
246 android:codes="@integer/key_settings"
247 android:keyIcon="@drawable/sym_keyboard_settings"
248 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
249 android:keyWidth="10%p"
250 android:isModifier="true" />
251 <Key
252 android:keyLabel="\@"
253 android:isModifier="true" />
254 <Key
255 android:codes="32"
256 android:keyIcon="@drawable/sym_keyboard_space"
257 android:iconPreview="@drawable/sym_keyboard_feedback_space"
258 android:keyWidth="30%p"
259 android:isRepeatable="true"
260 android:isModifier="true" />
261 <Key
262 android:keyLabel="."
263 android:popupKeyboard="@xml/popup_punctuation"
264 android:isModifier="true" />
265 <Key
266 android:codes="10"
267 android:keyIcon="@drawable/sym_keyboard_return"
268 android:iconPreview="@drawable/sym_keyboard_feedback_return"
269 android:keyWidth="25%p"
270 android:keyEdgeFlags="right"
271 android:isModifier="true" />
The Android Open Source Project923bf412009-03-13 15:11:42 -0700272 </Row>
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900273 <Row
274 android:keyboardMode="@+id/mode_im"
275 android:rowEdgeFlags="bottom"
276 >
277 <Key
278 android:codes="-2"
279 android:keyLabel="@string/label_symbol_key"
280 android:keyWidth="15%p"
281 android:keyEdgeFlags="left"
282 android:isModifier="true" />
283 <Key
284 android:codes="@integer/key_settings"
285 android:keyIcon="@drawable/sym_keyboard_settings"
286 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
287 android:keyWidth="10%p"
288 android:isModifier="true" />
289 <Key
290 android:codes="@integer/key_f1"
291 android:keyIcon="@drawable/sym_keyboard_mic"
292 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
293 android:keyWidth="10%p"
294 android:isModifier="true" />
295 <Key
296 android:codes="32"
297 android:keyIcon="@drawable/sym_keyboard_space"
298 android:iconPreview="@drawable/sym_keyboard_feedback_space"
299 android:keyWidth="30%p"
300 android:isRepeatable="true"
301 android:isModifier="true" />
302 <Key
303 android:codes="46"
304 android:keyLabel="."
305 android:popupKeyboard="@xml/popup_punctuation"
306 android:keyWidth="10%p"
307 android:isModifier="true" />
308 <Key
309 android:keyLabel=":-)"
310 android:keyOutputText=":-) "
311 android:popupKeyboard="@xml/popup_smileys"
312 android:keyWidth="25%p"
313 android:keyEdgeFlags="right"
314 android:isModifier="true" />
Amith Yamasanicf026532010-01-26 21:25:29 -0800315 </Row>
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900316 <Row
317 android:keyboardMode="@+id/mode_webentry"
318 android:rowEdgeFlags="bottom"
319 >
320 <Key
321 android:codes="-2"
322 android:keyLabel="@string/label_symbol_key"
323 android:keyWidth="15%p"
324 android:keyEdgeFlags="left"
325 android:isModifier="true" />
326 <Key
327 android:codes="@integer/key_settings"
328 android:keyIcon="@drawable/sym_keyboard_settings"
329 android:iconPreview="@drawable/sym_keyboard_feedback_settings"
330 android:keyWidth="10%p"
331 android:isModifier="true" />
332 <Key
333 android:codes="@integer/key_f1"
334 android:keyIcon="@drawable/sym_keyboard_mic"
335 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
336 android:keyWidth="10%p"
337 android:isModifier="true" />
338 <Key
339 android:codes="32"
340 android:keyIcon="@drawable/sym_keyboard_space"
341 android:iconPreview="@drawable/sym_keyboard_feedback_space"
342 android:keyWidth="30%p"
343 android:isRepeatable="true"
344 android:isModifier="true" />
345 <Key
346 android:codes="9"
347 android:keyIcon="@drawable/sym_keyboard_tab"
348 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
349 android:keyWidth="10%p"
350 android:isModifier="true" />
351 <Key
352 android:keyLabel="."
353 android:popupKeyboard="@xml/popup_punctuation"
354 android:keyWidth="10%p"
355 android:isModifier="true" />
356 <Key
357 android:codes="10"
358 android:keyIcon="@drawable/sym_keyboard_return"
359 android:iconPreview="@drawable/sym_keyboard_feedback_return"
360 android:keyWidth="15%p"
361 android:keyEdgeFlags="right"
362 android:isModifier="true" />
Mike LeBeau466741d2010-01-16 12:21:23 -0800363 </Row>
Tadashi G. Takaoka232863a2010-09-08 15:12:51 +0900364</Keyboard>