blob: e0fe5cdc325992f648efddf37fccd45efd948ea9 [file] [log] [blame]
The Android Open Source Project923bf412009-03-13 15:11:42 -07001<?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 xmlns:android="http://schemas.android.com/apk/res/android"
22 android:keyWidth="10%p"
23 android:horizontalGap="0px"
24 android:verticalGap="0px"
25 android:keyHeight="@dimen/key_height"
26 >
27
28 <Row>
29 <Key android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/>
30 <Key android:codes="119" android:keyLabel="w"/>
31 <Key android:codes="101" android:keyLabel="e"
32 android:popupKeyboard="@xml/kbd_popup_template"
33 android:popupCharacters="@string/alternates_for_e"
34 />
Amith Yamasani4cc3a582009-03-24 18:05:24 -070035 <Key android:codes="114" android:keyLabel="r"
36 android:popupKeyboard="@xml/kbd_popup_template"
37 android:popupCharacters="@string/alternates_for_r"/>
38 <Key android:codes="116" android:keyLabel="t"
39 android:popupKeyboard="@xml/kbd_popup_template"
40 android:popupCharacters="@string/alternates_for_t"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -070041 <Key android:codes="121" android:keyLabel="y"
42 android:popupKeyboard="@xml/kbd_popup_template"
43 android:popupCharacters="@string/alternates_for_y"
44 />
45 <Key android:codes="117" android:keyLabel="u"
46 android:popupKeyboard="@xml/kbd_popup_template"
47 android:popupCharacters="@string/alternates_for_u"
48 />
Mike LeBeau466741d2010-01-16 12:21:23 -080049 <Key android:codes="105" android:keyLabel="i"
The Android Open Source Project923bf412009-03-13 15:11:42 -070050 android:popupKeyboard="@xml/kbd_popup_template"
51 android:popupCharacters="@string/alternates_for_i"
52 />
53 <Key android:codes="111" android:keyLabel="o"
54 android:popupKeyboard="@xml/kbd_popup_template"
55 android:popupCharacters="@string/alternates_for_o"
56 />
57 <Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/>
58 </Row>
59
60 <Row>
61 <Key android:codes="97" android:keyLabel="a" android:horizontalGap="5%p"
62 android:popupKeyboard="@xml/kbd_popup_template"
63 android:popupCharacters="@string/alternates_for_a"
64 android:keyEdgeFlags="left"/>
65 <Key android:codes="115" android:keyLabel="s"
66 android:popupKeyboard="@xml/kbd_popup_template"
67 android:popupCharacters="@string/alternates_for_s"
68 />
Amith Yamasani4cc3a582009-03-24 18:05:24 -070069 <Key android:codes="100" android:keyLabel="d"
70 android:popupKeyboard="@xml/kbd_popup_template"
71 android:popupCharacters="@string/alternates_for_d"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -070072 <Key android:codes="102" android:keyLabel="f"/>
Mike LeBeau466741d2010-01-16 12:21:23 -080073 <Key android:codes="103" android:keyLabel="g"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -070074 <Key android:codes="104" android:keyLabel="h"/>
75 <Key android:codes="106" android:keyLabel="j"/>
76 <Key android:codes="107" android:keyLabel="k"/>
Mike LeBeau466741d2010-01-16 12:21:23 -080077 <Key android:codes="108" android:keyLabel="l"
Amith Yamasani864fcbd2009-04-13 15:35:08 -070078 android:popupKeyboard="@xml/kbd_popup_template"
79 android:popupCharacters="@string/alternates_for_l"
80 android:keyEdgeFlags="right"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -070081 </Row>
82
83 <Row>
84 <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift"
85 android:keyWidth="15%p" android:isModifier="true"
86 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
87 android:isSticky="true" android:keyEdgeFlags="left"/>
Amith Yamasani4cc3a582009-03-24 18:05:24 -070088 <Key android:codes="122" android:keyLabel="z"
89 android:popupKeyboard="@xml/kbd_popup_template"
90 android:popupCharacters="@string/alternates_for_z"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -070091 <Key android:codes="120" android:keyLabel="x"/>
92 <Key android:codes="99" android:keyLabel="c"
93 android:popupKeyboard="@xml/kbd_popup_template"
94 android:popupCharacters="@string/alternates_for_c"
95 />
96 <Key android:codes="118" android:keyLabel="v"/>
97 <Key android:codes="98" android:keyLabel="b"/>
98 <Key android:codes="110" android:keyLabel="n"
99 android:popupKeyboard="@xml/kbd_popup_template"
100 android:popupCharacters="@string/alternates_for_n"
101 />
102 <Key android:codes="109" android:keyLabel="m"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700103 <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete"
104 android:keyWidth="15%p" android:keyEdgeFlags="right"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700105 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
106 android:isRepeatable="true"/>
107 </Row>
108
109 <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom">
110 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
111 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700112 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700113 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasani36fcf252009-10-12 13:48:35 -0700114 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
115 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700116 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700117 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700118 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700119 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700120 android:keyWidth="10%p"/>
121 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700122 android:iconPreview="@drawable/sym_keyboard_feedback_return"
123 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
124 </Row>
125
Mike LeBeau466741d2010-01-16 12:21:23 -0800126 <Row android:keyboardMode="@+id/mode_normal_voice" android:rowEdgeFlags="bottom">
127 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
128 android:popupKeyboard="@xml/kbd_popup_template"
129 android:popupCharacters="_"
130 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800131 <Key android:codes="-102" android:keyIcon="@drawable/sym_keyboard_mic"
Mike LeBeau466741d2010-01-16 12:21:23 -0800132 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
133 android:keyWidth="10%p"/>
134 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
135 android:iconPreview="@drawable/sym_keyboard_feedback_space"
136 android:keyWidth="40%p" android:isRepeatable="true"/>
137 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
138 android:keyWidth="10%p"/>
139 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
140 android:iconPreview="@drawable/sym_keyboard_feedback_return"
141 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
142 </Row>
143
The Android Open Source Project923bf412009-03-13 15:11:42 -0700144 <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700145 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700146 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700147 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700148 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800149 <Key android:keyLabel="/" android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700150 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700151 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasanicf026532010-01-26 21:25:29 -0800152 android:keyWidth="20%p" android:isRepeatable="true"/>
153 <Key android:keyLabel="@string/popular_domain_0"
154 android:keyOutputText="@string/popular_domain_0"
155 android:popupKeyboard="@xml/popup_domains"
156 android:keyWidth="20%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700157 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasanicf026532010-01-26 21:25:29 -0800158 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700159 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700160 android:iconPreview="@drawable/sym_keyboard_feedback_return"
161 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
162 </Row>
163
Mike LeBeau466741d2010-01-16 12:21:23 -0800164 <Row android:keyboardMode="@+id/mode_url_voice" android:rowEdgeFlags="bottom">
165 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
166 android:popupKeyboard="@xml/kbd_popup_template"
167 android:popupCharacters="_"
168 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800169 <Key android:keyLabel="/" android:keyWidth="10%p"/>
170 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
171 android:iconPreview="@drawable/sym_keyboard_feedback_space"
172 android:keyWidth="20%p" android:isRepeatable="true"/>
Mike LeBeau466741d2010-01-16 12:21:23 -0800173 <Key android:keyLabel="@string/popular_domain_0"
174 android:keyOutputText="@string/popular_domain_0"
175 android:popupKeyboard="@xml/popup_domains"
Amith Yamasanicf026532010-01-26 21:25:29 -0800176 android:keyWidth="20%p"/>
Mike LeBeau466741d2010-01-16 12:21:23 -0800177 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasanicf026532010-01-26 21:25:29 -0800178 android:keyWidth="10%p"/>
Mike LeBeau466741d2010-01-16 12:21:23 -0800179 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
180 android:iconPreview="@drawable/sym_keyboard_feedback_return"
181 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
182 </Row>
183
The Android Open Source Project923bf412009-03-13 15:11:42 -0700184 <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700185 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700186 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700187 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700188 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800189 <Key android:keyLabel="\@"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700190 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700191 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasanicf026532010-01-26 21:25:29 -0800192 android:keyWidth="20%p" android:isRepeatable="true"/>
193 <Key android:keyLabel="@string/popular_domain_0"
194 android:keyOutputText="@string/popular_domain_0"
195 android:popupKeyboard="@xml/popup_domains"
196 android:keyWidth="20%p"/>
197 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700198 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700199 android:iconPreview="@drawable/sym_keyboard_feedback_return"
200 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
201 </Row>
202
Mike LeBeau466741d2010-01-16 12:21:23 -0800203 <Row android:keyboardMode="@+id/mode_email_voice" android:rowEdgeFlags="bottom">
204 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
205 android:popupKeyboard="@xml/kbd_popup_template"
206 android:popupCharacters="_"
207 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800208 <Key android:keyLabel="\@"/>
209 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
210 android:iconPreview="@drawable/sym_keyboard_feedback_space"
211 android:keyWidth="20%p" android:isRepeatable="true"/>
Mike LeBeau466741d2010-01-16 12:21:23 -0800212 <Key android:keyLabel="@string/popular_domain_0"
213 android:keyOutputText="@string/popular_domain_0"
214 android:popupKeyboard="@xml/popup_domains"
Amith Yamasanicf026532010-01-26 21:25:29 -0800215 android:keyWidth="20%p"/>
216 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
Mike LeBeau466741d2010-01-16 12:21:23 -0800217 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
218 android:iconPreview="@drawable/sym_keyboard_feedback_return"
219 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
220 </Row>
221
The Android Open Source Project923bf412009-03-13 15:11:42 -0700222 <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700223 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700224 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700225 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700226 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasani36fcf252009-10-12 13:48:35 -0700227 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
228 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700229 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700230 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700231 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700232 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700233 android:keyWidth="10%p"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700234 <Key android:keyLabel=":-)" android:keyOutputText=":-) "
235 android:popupKeyboard="@xml/popup_smileys"
236 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
237 </Row>
Mike LeBeau466741d2010-01-16 12:21:23 -0800238
239 <Row android:keyboardMode="@+id/mode_im_voice" android:rowEdgeFlags="bottom">
240 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
241 android:popupKeyboard="@xml/kbd_popup_template"
242 android:popupCharacters="_"
243 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800244 <Key android:codes="-102" android:keyIcon="@drawable/sym_keyboard_mic"
Mike LeBeau466741d2010-01-16 12:21:23 -0800245 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
246 android:keyWidth="10%p"/>
247 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
248 android:iconPreview="@drawable/sym_keyboard_feedback_space"
249 android:keyWidth="40%p" android:isRepeatable="true"/>
250 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
251 android:keyWidth="10%p"/>
252 <Key android:keyLabel=":-)" android:keyOutputText=":-) "
253 android:popupKeyboard="@xml/popup_smileys"
254 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
255 </Row>
Amith Yamasanicf026532010-01-26 21:25:29 -0800256
257 <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom">
258 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
259 android:popupKeyboard="@xml/kbd_popup_template"
260 android:popupCharacters="_"
261 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
262 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe"
263 android:keyWidth="10%p"/>
264 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
265 android:iconPreview="@drawable/sym_keyboard_feedback_space"
266 android:keyWidth="20%p" android:isRepeatable="true"/>
267 <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab"
268 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
269 android:keyWidth="20%p"/>
270 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
271 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
272 android:iconPreview="@drawable/sym_keyboard_feedback_return"
273 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
274 </Row>
275
276 <Row android:keyboardMode="@+id/mode_webentry_voice" android:rowEdgeFlags="bottom">
277 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
278 android:popupKeyboard="@xml/kbd_popup_template"
279 android:popupCharacters="_"
280 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
281 <Key android:codes="-102" android:keyIcon="@drawable/sym_keyboard_mic"
282 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
283 android:keyWidth="10%p"/>
284 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
285 android:iconPreview="@drawable/sym_keyboard_feedback_space"
286 android:keyWidth="20%p" android:isRepeatable="true"/>
287 <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab"
288 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
289 android:keyWidth="20%p"/>
290 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
291 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
292 android:iconPreview="@drawable/sym_keyboard_feedback_return"
293 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
294 </Row>
295
The Android Open Source Project923bf412009-03-13 15:11:42 -0700296</Keyboard>
Amith Yamasani36fcf252009-10-12 13:48:35 -0700297