blob: 1a9ea5c313eaa95780af9225bbe1bdac4a37f9bc [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"/>
Amith Yamasani0a2df342010-03-04 04:43:15 -080073 <Key android:codes="103" android:keyLabel="g"
74 android:popupKeyboard="@xml/kbd_popup_template"
75 android:popupCharacters="@string/alternates_for_g"
76 />
The Android Open Source Project923bf412009-03-13 15:11:42 -070077 <Key android:codes="104" android:keyLabel="h"/>
78 <Key android:codes="106" android:keyLabel="j"/>
79 <Key android:codes="107" android:keyLabel="k"/>
Mike LeBeau466741d2010-01-16 12:21:23 -080080 <Key android:codes="108" android:keyLabel="l"
Amith Yamasani864fcbd2009-04-13 15:35:08 -070081 android:popupKeyboard="@xml/kbd_popup_template"
82 android:popupCharacters="@string/alternates_for_l"
83 android:keyEdgeFlags="right"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -070084 </Row>
85
86 <Row>
87 <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift"
88 android:keyWidth="15%p" android:isModifier="true"
89 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
90 android:isSticky="true" android:keyEdgeFlags="left"/>
Amith Yamasani4cc3a582009-03-24 18:05:24 -070091 <Key android:codes="122" android:keyLabel="z"
92 android:popupKeyboard="@xml/kbd_popup_template"
93 android:popupCharacters="@string/alternates_for_z"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -070094 <Key android:codes="120" android:keyLabel="x"/>
95 <Key android:codes="99" android:keyLabel="c"
96 android:popupKeyboard="@xml/kbd_popup_template"
97 android:popupCharacters="@string/alternates_for_c"
98 />
99 <Key android:codes="118" android:keyLabel="v"/>
100 <Key android:codes="98" android:keyLabel="b"/>
101 <Key android:codes="110" android:keyLabel="n"
102 android:popupKeyboard="@xml/kbd_popup_template"
103 android:popupCharacters="@string/alternates_for_n"
104 />
105 <Key android:codes="109" android:keyLabel="m"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700106 <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete"
107 android:keyWidth="15%p" android:keyEdgeFlags="right"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700108 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
109 android:isRepeatable="true"/>
110 </Row>
111
112 <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom">
113 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
114 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700115 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700116 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanib1cd7012010-01-28 07:33:27 -0800117 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic"
118 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
Amith Yamasani36fcf252009-10-12 13:48:35 -0700119 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700120 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700121 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700122 android:keyWidth="40%p" android:isRepeatable="true"/>
The Android Open Source Project923bf412009-03-13 15:11:42 -0700123 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700124 android:keyWidth="10%p"/>
125 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700126 android:iconPreview="@drawable/sym_keyboard_feedback_return"
127 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
128 </Row>
129
130 <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700131 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700132 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700133 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700134 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800135 <Key android:keyLabel="/" android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700136 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700137 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasanicf026532010-01-26 21:25:29 -0800138 android:keyWidth="20%p" android:isRepeatable="true"/>
139 <Key android:keyLabel="@string/popular_domain_0"
140 android:keyOutputText="@string/popular_domain_0"
141 android:popupKeyboard="@xml/popup_domains"
142 android:keyWidth="20%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700143 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
Amith Yamasanicf026532010-01-26 21:25:29 -0800144 android:keyWidth="10%p"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700145 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700146 android:iconPreview="@drawable/sym_keyboard_feedback_return"
147 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
148 </Row>
149
150 <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700151 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700152 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700153 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700154 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanicf026532010-01-26 21:25:29 -0800155 <Key android:keyLabel="\@"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700156 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700157 android:iconPreview="@drawable/sym_keyboard_feedback_space"
Amith Yamasanicf026532010-01-26 21:25:29 -0800158 android:keyWidth="20%p" android:isRepeatable="true"/>
159 <Key android:keyLabel="@string/popular_domain_0"
160 android:keyOutputText="@string/popular_domain_0"
161 android:popupKeyboard="@xml/popup_domains"
162 android:keyWidth="20%p"/>
163 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700164 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700165 android:iconPreview="@drawable/sym_keyboard_feedback_return"
166 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
167 </Row>
168
169 <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom">
Amith Yamasaniffa3fdd2009-08-19 15:16:33 -0700170 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700171 android:popupKeyboard="@xml/kbd_popup_template"
Amith Yamasani4a7ff902009-07-23 12:17:48 -0700172 android:popupCharacters="_"
The Android Open Source Project923bf412009-03-13 15:11:42 -0700173 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanib1cd7012010-01-28 07:33:27 -0800174 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic"
Mike LeBeau466741d2010-01-16 12:21:23 -0800175 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
176 android:keyWidth="10%p"/>
177 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
178 android:iconPreview="@drawable/sym_keyboard_feedback_space"
179 android:keyWidth="40%p" android:isRepeatable="true"/>
180 <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"
181 android:keyWidth="10%p"/>
182 <Key android:keyLabel=":-)" android:keyOutputText=":-) "
183 android:popupKeyboard="@xml/popup_smileys"
184 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
185 </Row>
Amith Yamasanicf026532010-01-26 21:25:29 -0800186
187 <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom">
188 <Key android:codes="-2" android:keyLabel="@string/label_symbol_key"
189 android:popupKeyboard="@xml/kbd_popup_template"
190 android:popupCharacters="_"
191 android:keyWidth="20%p" android:keyEdgeFlags="left"/>
Amith Yamasanib1cd7012010-01-28 07:33:27 -0800192 <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_mic"
Amith Yamasanicf026532010-01-26 21:25:29 -0800193 android:iconPreview="@drawable/sym_keyboard_feedback_mic"
194 android:keyWidth="10%p"/>
195 <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space"
196 android:iconPreview="@drawable/sym_keyboard_feedback_space"
197 android:keyWidth="20%p" android:isRepeatable="true"/>
198 <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab"
199 android:iconPreview="@drawable/sym_keyboard_feedback_tab"
200 android:keyWidth="20%p"/>
201 <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/>
202 <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
203 android:iconPreview="@drawable/sym_keyboard_feedback_return"
204 android:keyWidth="20%p" android:keyEdgeFlags="right"/>
205 </Row>
206
The Android Open Source Project923bf412009-03-13 15:11:42 -0700207</Keyboard>
Amith Yamasani36fcf252009-10-12 13:48:35 -0700208