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" />
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="229"
115            android:keyEdgeFlags="right"
116            android:keyLabel="å"
117            android:popupKeyboard="@xml/shift_ao" />
118    </Row>
119    <Row>
120        <Key
121            android:codes="97"
122            android:keyEdgeFlags="left"
123            android:keyLabel="a"
124            android:popupKeyboard="@xml/accent_a" />
125        <Key
126            android:codes="115"
127            android:keyLabel="s"
128            android:popupKeyboard="@xml/accent_s" />
129        <Key
130            android:codes="100"
131            android:keyLabel="d"
132            android:popupKeyboard="@xml/accent_d" />
133        <Key
134            android:codes="102"
135            android:keyLabel="f"
136            android:popupKeyboard="@xml/shift_f" />
137        <Key
138            android:codes="103"
139            android:keyLabel="g"
140            android:popupKeyboard="@xml/accent_g" />
141        <Key
142            android:codes="104"
143            android:keyLabel="h"
144            android:popupKeyboard="@xml/shift_h" />
145        <Key
146            android:codes="106"
147            android:keyLabel="j"
148            android:popupKeyboard="@xml/shift_j" />
149        <Key
150            android:codes="107"
151            android:keyLabel="k"
152            android:popupKeyboard="@xml/accent_k" />
153        <Key
154            android:codes="108"
155            android:keyLabel="l"
156            android:popupKeyboard="@xml/accent_l" />
157        <Key
158            android:codes="248"
159            android:keyLabel="ø"
160            android:popupKeyboard="@xml/shift_ox" />
161        <Key
162            android:codes="230"
163            android:keyEdgeFlags="right"
164            android:keyLabel="æ"
165            android:popupKeyboard="@xml/shift_ae" />
166    </Row>
167    <Row>
168        <Key
169            android:codes="122"
170            android:keyEdgeFlags="left"
171            android:keyLabel="z"
172            android:popupKeyboard="@xml/accent_z" />
173        <Key
174            android:codes="120"
175            android:keyLabel="x"
176            android:popupKeyboard="@xml/shift_x" />
177        <Key
178            android:codes="99"
179            android:keyLabel="c"
180            android:popupKeyboard="@xml/accent_c" />
181        <Key
182            android:codes="118"
183            android:keyLabel="v"
184            android:popupKeyboard="@xml/shift_v" />
185        <Key
186            android:codes="98"
187            android:keyLabel="b"
188            android:popupKeyboard="@xml/shift_b" />
189        <Key
190            android:codes="110"
191            android:keyLabel="n"
192            android:popupKeyboard="@xml/accent_n" />
193        <Key
194            android:codes="109"
195            android:keyLabel="m"
196            android:popupKeyboard="@xml/shift_m" />
197        <Key
198            android:codes="44"
199            android:keyLabel="," />
200        <Key
201            android:codes="46"
202            android:keyLabel="." />
203        <Key
204            android:codes="45"
205            android:keyLabel="-" />
206        <Key
207            android:codes="63"
208            android:keyEdgeFlags="right"
209            android:keyLabel="\?" />
210    </Row>
211    <Row android:rowEdgeFlags="bottom" >
212        <Key
213            android:codes="-2"
214            android:keyEdgeFlags="left"
215            android:keyLabel="@string/keyboardview_keycode_mode_change"
216            android:keyIcon="@drawable/ic_ime_symbols" />
217        <Key
218            android:codes="-1"
219            android:keyLabel="@string/keyboardview_keycode_shift"
220            android:keyIcon="@drawable/ic_ime_shift_off" />
221        <Key
222            android:codes="32"
223            android:keyIcon="@drawable/ic_ime_space"
224            android:keyLabel="@string/keyboardview_keycode_space"
225            android:keyWidth="@dimen/space_key_width" />
226        <Key
227            android:codes="-3"
228            android:keyLabel="@string/keyboardview_keycode_left"
229            android:keyIcon="@drawable/ic_ime_left_arrow" />
230        <Key
231            android:codes="-4"
232            android:keyEdgeFlags="right"
233            android:keyLabel="@string/keyboardview_keycode_right"
234            android:keyIcon="@drawable/ic_ime_right_arrow" />
235    </Row>
236</Keyboard>
237