1<!--
2 Copyright 2019 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8      http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
18    android:keyHeight="@dimen/key_height"
19    android:keyWidth="@dimen/key_width"
20    android:verticalGap="@dimen/keyboard_vertical_gap"
21    android:horizontalGap="@dimen/keyboard_horizontal_gap" >
22
23    <Row android:rowEdgeFlags="top">
24        <Key
25            android:codes="49"
26            android:keyEdgeFlags="left"
27            android:keyLabel="1"
28            android:popupKeyboard="@xml/shift_1" />
29        <Key
30            android:codes="50"
31            android:keyLabel="2"
32            android:popupKeyboard="@xml/shift_2" />
33        <Key
34            android:codes="51"
35            android:keyLabel="3"
36            android:popupKeyboard="@xml/shift_3" />
37        <Key
38            android:codes="52"
39            android:keyLabel="4"
40            android:popupKeyboard="@xml/shift_4_eu" />
41        <Key
42            android:codes="53"
43            android:keyLabel="5"
44            android:popupKeyboard="@xml/shift_5" />
45        <Key
46            android:codes="54"
47            android:keyLabel="6"
48            android:popupKeyboard="@xml/shift_6" />
49        <Key
50            android:codes="55"
51            android:keyLabel="7"
52            android:popupKeyboard="@xml/shift_7" />
53        <Key
54            android:codes="56"
55            android:keyLabel="8"
56            android:popupKeyboard="@xml/shift_8" />
57        <Key
58            android:codes="57"
59            android:keyLabel="9"
60            android:popupKeyboard="@xml/shift_9" />
61        <Key
62            android:codes="48"
63            android:keyLabel="0"
64            android:popupKeyboard="@xml/shift_0" />
65        <Key
66            android:codes="-5"
67            android:keyEdgeFlags="right"
68            android:keyIcon="@drawable/ic_ime_delete"
69            android:keyLabel="@string/keyboardview_keycode_delete" />
70    </Row>
71    <Row>
72        <Key
73            android:codes="113"
74            android:keyEdgeFlags="left"
75            android:keyLabel="q"
76            android:popupKeyboard="@xml/shift_q" />
77        <Key
78            android:codes="119"
79            android:keyLabel="w"
80            android:popupKeyboard="@xml/shift_w" />
81        <Key
82            android:codes="101"
83            android:keyLabel="e"
84            android:popupKeyboard="@xml/accent_e" />
85        <Key
86            android:codes="114"
87            android:keyLabel="r"
88            android:popupKeyboard="@xml/shift_r" />
89        <Key
90            android:codes="116"
91            android:keyLabel="t"
92            android:popupKeyboard="@xml/accent_t" />
93        <Key
94            android:codes="121"
95            android:keyLabel="y"
96            android:popupKeyboard="@xml/shift_y" />
97        <Key
98            android:codes="117"
99            android:keyLabel="u"
100            android:popupKeyboard="@xml/accent_u" />
101        <Key
102            android:codes="105"
103            android:keyLabel="i"
104            android:popupKeyboard="@xml/accent_i" />
105        <Key
106            android:codes="111"
107            android:keyLabel="o"
108            android:popupKeyboard="@xml/accent_o" />
109        <Key
110            android:codes="112"
111            android:keyLabel="p"
112            android:popupKeyboard="@xml/shift_p" />
113        <Key
114            android:codes="64"
115            android:keyEdgeFlags="right"
116            android:keyLabel="\@" />
117    </Row>
118    <Row>
119        <Key
120            android:codes="97"
121            android:keyEdgeFlags="left"
122            android:keyLabel="a"
123            android:popupKeyboard="@xml/accent_a" />
124        <Key
125            android:codes="115"
126            android:keyLabel="s"
127            android:popupKeyboard="@xml/accent_s" />
128        <Key
129            android:codes="100"
130            android:keyLabel="d"
131            android:popupKeyboard="@xml/accent_d" />
132        <Key
133            android:codes="102"
134            android:keyLabel="f"
135            android:popupKeyboard="@xml/shift_f" />
136        <Key
137            android:codes="103"
138            android:keyLabel="g"
139            android:popupKeyboard="@xml/accent_g" />
140        <Key
141            android:codes="104"
142            android:keyLabel="h"
143            android:popupKeyboard="@xml/shift_h" />
144        <Key
145            android:codes="106"
146            android:keyLabel="j"
147            android:popupKeyboard="@xml/shift_j" />
148        <Key
149            android:codes="107"
150            android:keyLabel="k"
151            android:popupKeyboard="@xml/accent_k" />
152        <Key
153            android:codes="108"
154            android:keyLabel="l"
155            android:popupKeyboard="@xml/accent_l" />
156        <Key
157            android:codes="95"
158            android:keyLabel="_" />
159        <Key
160            android:codes="38"
161            android:keyEdgeFlags="right"
162            android:keyLabel="&amp;" />
163    </Row>
164    <Row>
165        <Key
166            android:codes="122"
167            android:keyEdgeFlags="left"
168            android:keyLabel="z"
169            android:popupKeyboard="@xml/accent_z" />
170        <Key
171            android:codes="120"
172            android:keyLabel="x"
173            android:popupKeyboard="@xml/shift_x" />
174        <Key
175            android:codes="99"
176            android:keyLabel="c"
177            android:popupKeyboard="@xml/accent_c" />
178        <Key
179            android:codes="118"
180            android:keyLabel="v"
181            android:popupKeyboard="@xml/shift_v" />
182        <Key
183            android:codes="98"
184            android:keyLabel="b"
185            android:popupKeyboard="@xml/shift_b" />
186        <Key
187            android:codes="110"
188            android:keyLabel="n"
189            android:popupKeyboard="@xml/accent_n" />
190        <Key
191            android:codes="109"
192            android:keyLabel="m"
193            android:popupKeyboard="@xml/shift_m" />
194        <Key
195            android:codes="44"
196            android:keyLabel="," />
197        <Key
198            android:codes="46"
199            android:keyLabel="." />
200        <Key
201            android:codes="45"
202            android:keyLabel="-" />
203        <Key
204            android:codes="63"
205            android:keyEdgeFlags="right"
206            android:keyLabel="\?" />
207    </Row>
208    <Row android:rowEdgeFlags="bottom" >
209        <Key
210            android:codes="-2"
211            android:keyEdgeFlags="left"
212            android:keyLabel="@string/keyboardview_keycode_mode_change"
213            android:keyIcon="@drawable/ic_ime_symbols" />
214        <Key
215            android:codes="-1"
216            android:keyLabel="@string/keyboardview_keycode_shift"
217            android:keyIcon="@drawable/ic_ime_shift_off" />
218        <Key
219            android:codes="32"
220            android:keyIcon="@drawable/ic_ime_space"
221            android:keyLabel="@string/keyboardview_keycode_space"
222            android:keyWidth="@dimen/space_key_width" />
223        <Key
224            android:codes="-3"
225            android:keyLabel="@string/keyboardview_keycode_left"
226            android:keyIcon="@drawable/ic_ime_left_arrow" />
227        <Key
228            android:codes="-4"
229            android:keyEdgeFlags="right"
230            android:keyLabel="@string/keyboardview_keycode_right"
231            android:keyIcon="@drawable/ic_ime_right_arrow" />
232    </Row>
233</Keyboard>
234