blob: 80fb8884ea0754918c72cc9dfb64f6454ed618e6 [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>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +090029 <!-- This row is intentionally not marked as a top row -->
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090030 <Key
31 android:codes="@integer/key_tab"
32 android:keyLabel="Tab"
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090033 android:keyEdgeFlags="left" />
34 <Key
35 android:keyLabel="q"
36 android:popupKeyboard="@xml/kbd_popup_template"
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +090037 android:popupCharacters="@string/alternates_for_q" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090038 <Key
39 android:keyLabel="w"
40 android:popupKeyboard="@xml/kbd_popup_template"
41 android:popupCharacters="@string/alternates_for_w" />
42 <Key
43 android:keyLabel="e"
44 android:popupKeyboard="@xml/kbd_popup_template"
45 android:popupCharacters="@string/alternates_for_e" />
46 <Key
47 android:keyLabel="r"
48 android:popupKeyboard="@xml/kbd_popup_template"
49 android:popupCharacters="@string/alternates_for_r" />
50 <Key
51 android:keyLabel="t"
52 android:popupKeyboard="@xml/kbd_popup_template"
53 android:popupCharacters="@string/alternates_for_t" />
54 <Key
55 android:keyLabel="y"
56 android:popupKeyboard="@xml/kbd_popup_template"
57 android:popupCharacters="@string/alternates_for_y" />
58 <Key
59 android:keyLabel="u"
60 android:popupKeyboard="@xml/kbd_popup_template"
61 android:popupCharacters="@string/alternates_for_u" />
62 <Key
63 android:keyLabel="i"
64 android:popupKeyboard="@xml/kbd_popup_template"
65 android:popupCharacters="@string/alternates_for_i" />
66 <Key
67 android:keyLabel="o"
68 android:popupKeyboard="@xml/kbd_popup_template"
69 android:popupCharacters="@string/alternates_for_o" />
70 <Key
71 android:keyLabel="p"
72 android:popupKeyboard="@xml/kbd_popup_template"
73 android:popupCharacters="@string/alternates_for_p" />
74 <Key
75 android:keyLabel="="
76 android:popupKeyboard="@xml/kbd_popup_template"
77 android:popupCharacters="+" />
78 <Key
79 android:codes="@integer/key_delete"
80 android:keyIcon="@drawable/sym_keyboard_delete"
81 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
82 android:keyWidth="10.5%p"
83 android:isModifier="true"
84 android:isRepeatable="true"
85 android:keyEdgeFlags="right" />
86 </Row>
87 <Row>
88 <Key
89 android:codes="@integer/key_symbol"
90 android:keyLabel="@string/label_symbol_key"
91 android:keyWidth="8.75%p"
92 android:isModifier="true"
93 android:keyEdgeFlags="left" />
94 <Key
95 android:keyLabel="a"
96 android:popupKeyboard="@xml/kbd_popup_template"
97 android:popupCharacters="@string/alternates_for_a" />
98 <Key
99 android:keyLabel="s"
100 android:popupKeyboard="@xml/kbd_popup_template"
101 android:popupCharacters="@string/alternates_for_s" />
102 <Key
103 android:keyLabel="d"
104 android:popupKeyboard="@xml/kbd_popup_template"
105 android:popupCharacters="@string/alternates_for_d" />
106 <Key
107 android:keyLabel="f" />
108 <Key
109 android:keyLabel="g"
110 android:popupKeyboard="@xml/kbd_popup_template"
111 android:popupCharacters="@string/alternates_for_g" />
112 <Key
113 android:keyLabel="h" />
114 <Key
115 android:keyLabel="j" />
116 <Key
117 android:keyLabel="k" />
118 <Key
119 android:keyLabel="l"
120 android:popupKeyboard="@xml/kbd_popup_template"
121 android:popupCharacters="@string/alternates_for_l" />
122 <Key
123 android:keyLabel=";"
124 android:popupKeyboard="@xml/kbd_popup_template"
125 android:popupCharacters=":" />
126 <Key
127 android:keyLabel="\'"
128 android:popupKeyboard="@xml/kbd_popup_template"
129 android:popupCharacters="&quot;" />
130 <Key
131 android:codes="@integer/key_return"
132 android:keyIcon="@drawable/sym_keyboard_return"
133 android:iconPreview="@drawable/sym_keyboard_feedback_return"
134 android:keyWidth="8.75%p"
135 android:isModifier="true"
136 android:keyEdgeFlags="right" />
137 </Row>
138 <Row>
139 <Key
140 android:codes="@integer/key_shift"
141 android:keyIcon="@drawable/sym_keyboard_shift"
142 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
143 android:keyWidth="12.5%p"
144 android:isModifier="true"
145 android:isSticky="true"
146 android:keyEdgeFlags="left" />
147 <Key
148 android:keyLabel="z"
149 android:popupKeyboard="@xml/kbd_popup_template"
150 android:popupCharacters="@string/alternates_for_z" />
151 <Key
152 android:keyLabel="x" />
153 <Key
154 android:keyLabel="c"
155 android:popupKeyboard="@xml/kbd_popup_template"
156 android:popupCharacters="@string/alternates_for_c" />
157 <Key
158 android:keyLabel="v"
159 android:popupKeyboard="@xml/kbd_popup_template"
160 android:popupCharacters="@string/alternates_for_v" />
161 <Key
162 android:keyLabel="b" />
163 <Key
164 android:keyLabel="n"
165 android:popupKeyboard="@xml/kbd_popup_template"
166 android:popupCharacters="@string/alternates_for_n" />
167 <Key
168 android:keyLabel="m" />
169 <Key
170 android:keyLabel=","
171 android:popupKeyboard="@xml/kbd_popup_template"
172 android:popupCharacters="*" />
173 <Key
174 android:keyLabel="."
175 android:popupKeyboard="@xml/kbd_popup_template"
176 android:popupCharacters="!" />
177 <Key
178 android:keyLabel="/"
179 android:popupKeyboard="@xml/kbd_popup_template"
180 android:popupCharacters="\?" />
181 <Key
182 android:codes="@integer/key_shift"
183 android:keyIcon="@drawable/sym_keyboard_shift"
184 android:iconPreview="@drawable/sym_keyboard_feedback_shift"
185 android:keyWidth="12.5%p"
186 android:isModifier="true"
187 android:isSticky="true"
Amith Yamasani71ed85b2010-09-27 15:12:01 -0700188 android:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900189 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900190 <Row>
191 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900192 <Key
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900193 android:keyLabel="("
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900194 android:popupKeyboard="@xml/kbd_popup_template"
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900195 android:popupCharacters="&lt;"
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900196 android:horizontalGap="16.25%p" />
197 <Key
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900198 android:keyLabel=")"
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900199 android:popupKeyboard="@xml/kbd_popup_template"
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900200 android:popupCharacters="&gt;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900201 <Key
202 android:codes="@integer/key_space"
203 android:keyIcon="@drawable/sym_keyboard_space"
204 android:iconPreview="@drawable/sym_keyboard_feedback_space"
205 android:keyWidth="37.5%p"
206 android:isModifier="true" />
207 <Key
208 android:keyLabel="_"
209 android:popupKeyboard="@xml/kbd_popup_template"
210 android:popupCharacters="\@" />
211 <Key
212 android:keyLabel="-"
213 android:popupKeyboard="@xml/kbd_popup_template"
214 android:popupCharacters="#" />
215 </Row>
216</Keyboard>