blob: e710b34c74b1d6e97fef4616dca107db81b00eb0 [file] [log] [blame]
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2010, 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
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 android:keyWidth="7.5%p"
24 android:horizontalGap="0px"
25 android:verticalGap="0px"
26 android:keyHeight="@dimen/key_height"
27>
28 <Row>
29 <Key
30 android:codes="@integer/key_tab"
31 android:keyLabel="Tab"
32 android:popupKeyboard="@xml/kbd_popup_template"
33 android:keyEdgeFlags="left" />
34 <Key
35 android:keyLabel="q"
36 android:popupKeyboard="@xml/kbd_popup_template"
37 android:popupCharacters="@string/alternates_for_q"
38 android:keyEdgeFlags="left" />
39 <Key
40 android:keyLabel="w"
41 android:popupKeyboard="@xml/kbd_popup_template"
42 android:popupCharacters="@string/alternates_for_w" />
43 <Key
44 android:keyLabel="e"
45 android:popupKeyboard="@xml/kbd_popup_template"
46 android:popupCharacters="@string/alternates_for_e" />
47 <Key
48 android:keyLabel="r"
49 android:popupKeyboard="@xml/kbd_popup_template"
50 android:popupCharacters="@string/alternates_for_r" />
51 <Key
52 android:keyLabel="t"
53 android:popupKeyboard="@xml/kbd_popup_template"
54 android:popupCharacters="@string/alternates_for_t" />
55 <Key
56 android:keyLabel="y"
57 android:popupKeyboard="@xml/kbd_popup_template"
58 android:popupCharacters="@string/alternates_for_y" />
59 <Key
60 android:keyLabel="u"
61 android:popupKeyboard="@xml/kbd_popup_template"
62 android:popupCharacters="@string/alternates_for_u" />
63 <Key
64 android:keyLabel="i"
65 android:popupKeyboard="@xml/kbd_popup_template"
66 android:popupCharacters="@string/alternates_for_i" />
67 <Key
68 android:keyLabel="o"
69 android:popupKeyboard="@xml/kbd_popup_template"
70 android:popupCharacters="@string/alternates_for_o" />
71 <Key
72 android:keyLabel="p"
73 android:popupKeyboard="@xml/kbd_popup_template"
74 android:popupCharacters="@string/alternates_for_p" />
75 <Key
76 android:keyLabel="="
77 android:popupKeyboard="@xml/kbd_popup_template"
78 android:popupCharacters="+" />
79 <Key
80 android:codes="@integer/key_delete"
81 android:keyIcon="@drawable/sym_keyboard_delete"
82 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
83 android:keyWidth="10.5%p"
84 android:isModifier="true"
85 android:isRepeatable="true"
86 android:keyEdgeFlags="right" />
87 </Row>
88 <Row>
89 <Key
90 android:codes="@integer/key_symbol"
91 android:keyLabel="@string/label_symbol_key"
92 android:keyWidth="8.75%p"
93 android:isModifier="true"
94 android:keyEdgeFlags="left" />
95 <Key
96 android:keyLabel="a"
97 android:popupKeyboard="@xml/kbd_popup_template"
98 android:popupCharacters="@string/alternates_for_a" />
99 <Key
100 android:keyLabel="s"
101 android:popupKeyboard="@xml/kbd_popup_template"
102 android:popupCharacters="@string/alternates_for_s" />
103 <Key
104 android:keyLabel="d"
105 android:popupKeyboard="@xml/kbd_popup_template"
106 android:popupCharacters="@string/alternates_for_d" />
107 <Key
108 android:keyLabel="f" />
109 <Key
110 android:keyLabel="g"
111 android:popupKeyboard="@xml/kbd_popup_template"
112 android:popupCharacters="@string/alternates_for_g" />
113 <Key
114 android:keyLabel="h" />
115 <Key
116 android:keyLabel="j" />
117 <Key
118 android:keyLabel="k" />
119 <Key
120 android:keyLabel="l"
121 android:popupKeyboard="@xml/kbd_popup_template"
122 android:popupCharacters="@string/alternates_for_l" />
123 <Key
124 android:keyLabel=";"
125 android:popupKeyboard="@xml/kbd_popup_template"
126 android:popupCharacters=":" />
127 <Key
128 android:keyLabel="\'"
129 android:popupKeyboard="@xml/kbd_popup_template"
130 android:popupCharacters="&quot;" />
131 <Key
132 android:codes="@integer/key_return"
133 android:keyIcon="@drawable/sym_keyboard_return"
134 android:iconPreview="@drawable/sym_keyboard_feedback_return"
135 android:keyWidth="8.75%p"
136 android:isModifier="true"
137 android:keyEdgeFlags="right" />
138 </Row>
139 <Row>
140 <Key
141 android:codes="@integer/key_shift"
142 android:keyIcon="@drawable/sym_keyboard_shift"
143 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
144 android:keyWidth="12.5%p"
145 android:isModifier="true"
146 android:isSticky="true"
147 android:keyEdgeFlags="left" />
148 <Key
149 android:keyLabel="z"
150 android:popupKeyboard="@xml/kbd_popup_template"
151 android:popupCharacters="@string/alternates_for_z" />
152 <Key
153 android:keyLabel="x" />
154 <Key
155 android:keyLabel="c"
156 android:popupKeyboard="@xml/kbd_popup_template"
157 android:popupCharacters="@string/alternates_for_c" />
158 <Key
159 android:keyLabel="v"
160 android:popupKeyboard="@xml/kbd_popup_template"
161 android:popupCharacters="@string/alternates_for_v" />
162 <Key
163 android:keyLabel="b" />
164 <Key
165 android:keyLabel="n"
166 android:popupKeyboard="@xml/kbd_popup_template"
167 android:popupCharacters="@string/alternates_for_n" />
168 <Key
169 android:keyLabel="m" />
170 <Key
171 android:keyLabel=","
172 android:popupKeyboard="@xml/kbd_popup_template"
173 android:popupCharacters="*" />
174 <Key
175 android:keyLabel="."
176 android:popupKeyboard="@xml/kbd_popup_template"
177 android:popupCharacters="!" />
178 <Key
179 android:keyLabel="/"
180 android:popupKeyboard="@xml/kbd_popup_template"
181 android:popupCharacters="\?" />
182 <Key
183 android:codes="@integer/key_shift"
184 android:keyIcon="@drawable/sym_keyboard_shift"
185 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
186 android:keyWidth="12.5%p"
187 android:isModifier="true"
188 android:isSticky="true"
189 android:keyEdgeFlags="left" />
190 </Row>
191 <Row
192 android:rowEdgeFlags="bottom"
193 >
194 <Key
195 android:keyLabel="&lt;"
196 android:popupKeyboard="@xml/kbd_popup_template"
197 android:popupCharacters="("
198 android:horizontalGap="16.25%p" />
199 <Key
200 android:keyLabel="&gt;"
201 android:popupKeyboard="@xml/kbd_popup_template"
202 android:popupCharacters=")" />
203 <Key
204 android:codes="@integer/key_space"
205 android:keyIcon="@drawable/sym_keyboard_space"
206 android:iconPreview="@drawable/sym_keyboard_feedback_space"
207 android:keyWidth="37.5%p"
208 android:isModifier="true" />
209 <Key
210 android:keyLabel="_"
211 android:popupKeyboard="@xml/kbd_popup_template"
212 android:popupCharacters="\@" />
213 <Key
214 android:keyLabel="-"
215 android:popupKeyboard="@xml/kbd_popup_template"
216 android:popupCharacters="#" />
217 </Row>
218</Keyboard>