blob: 1061178e092d61b2e7583a4ad51b0b890b308e2f [file] [log] [blame]
Tadashi G. Takaoka3f72d812011-05-17 13:49:41 +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:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
23 latin:keyboardHeight="@dimen/keyboardHeight"
24 latin:maxKeyboardHeight="50%p"
25 latin:rowHeight="25%p"
26 latin:horizontalGap="@dimen/key_horizontal_gap"
27 latin:verticalGap="@dimen/key_bottom_gap"
28 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
29 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
30>
31 <include
32 latin:keyboardLayout="@xml/kbd_key_styles" />
33 <include
34 latin:keyboardLayout="@xml/kbd_currency_key_styles" />
35 <!-- This row is intentionally not marked as a top row -->
36 <Row
37 latin:keyWidth="8.272%p"
38 >
39 <Key
40 latin:keyStyle="tabKeyStyle"
41 latin:keyLabelOption="alignLeft"
42 latin:keyWidth="7.949%p"
43 latin:keyEdgeFlags="left" />
44 <Key
45 latin:keyLabel="1"
46 latin:popupCharacters="¹,½,⅓,¼,⅛" />
47 <Key
48 latin:keyLabel="2"
49 latin:popupCharacters="²,⅔" />
50 <Key
51 latin:keyLabel="3"
52 latin:popupCharacters="³,¾,⅜" />
53 <Key
54 latin:keyLabel="4"
55 latin:popupCharacters="⁴" />
56 <Key
57 latin:keyLabel="5"
58 latin:popupCharacters="⅝" />
59 <Key
60 latin:keyLabel="6" />
61 <Key
62 latin:keyLabel="7"
63 latin:popupCharacters="⅞" />
64 <Key
65 latin:keyLabel="8" />
66 <Key
67 latin:keyLabel="9" />
68 <Key
69 latin:keyLabel="0"
70 latin:popupCharacters="ⁿ,∅" />
71 <Key
72 latin:keyStyle="deleteKeyStyle"
73 latin:keyWidth="9.331%p"
74 latin:keyEdgeFlags="right" />
75 </Row>
76 <Row
77 latin:keyWidth="8.157%p"
78 >
79 <Key
80 latin:keyStyle="toAlphaKeyStyle"
81 latin:keyLabelOption="alignLeft"
82 latin:keyWidth="11.167%p"
83 latin:keyEdgeFlags="left" />
84 <Key
85 latin:keyLabel="#" />
86 <Key
87 latin:keyStyle="currencyKeyStyle" />
88 <Key
89 latin:keyLabel="%"
90 latin:popupCharacters="‰" />
91 <Key
92 latin:keyLabel="&amp;" />
93 <Key
94 latin:keyLabel="*"
95 latin:popupCharacters="†,‡,★" />
96 <Key
97 latin:keyLabel="-"
98 latin:popupCharacters="_,–,—" />
99 <Key
100 latin:keyLabel="+"
101 latin:popupCharacters="±" />
102 <Key
103 latin:keyLabel="("
104 latin:popupCharacters="[,{,&lt;" />
105 <Key
106 latin:keyLabel=")"
107 latin:popupCharacters="],},&gt;" />
108 <Key
109 latin:keyStyle="returnKeyStyle"
110 latin:keyWidth="15.750%p"
111 latin:keyEdgeFlags="right" />
112 </Row>
113 <Row
114 latin:keyWidth="8.042%p"
115 >
116 <Key
117 latin:keyStyle="moreKeyStyle"
118 latin:keyWidth="15.192%p"
119 latin:keyEdgeFlags="left" />
120 <Key
121 latin:keyLabel="&lt;"
122 latin:popupCharacters="≤,«,‹" />
123 <Key
124 latin:keyLabel="&gt;"
125 latin:popupCharacters="≥,»,›" />
126 <Key
127 latin:keyLabel="="
128 latin:popupCharacters="≠,≈" />
129 <switch>
130 <case
131 latin:languageCode="ru"
132 >
133 <Key
134 latin:keyLabel=":" />
135 </case>
136 <case
137 latin:mode="url"
138 >
139 <Key
140 latin:keyLabel="\'" />
141 </case>
142 <default>
143 <Key
144 latin:keyLabel=":" />
145 </default>
146 </switch>
147 <Key
148 latin:keyLabel=";" />
149 <switch>
150 <case
151 latin:languageCode="ru"
152 >
153 <Key
154 latin:keyLabel="\'" />
155 <Key
156 latin:keyLabel="&quot;"
157 latin:popupCharacters="“,”,«,»,˝" />
158 <Key
159 latin:keyLabel="." />
160 <Key
161 latin:keyLabel="," />
162 </case>
163 <default>
164 <Key
165 latin:keyLabel="," />
166 <Key
167 latin:keyLabel="." />
168 <Key
169 latin:keyLabel="!"
170 latin:popupCharacters="¡" />
171 <Key
172 latin:keyLabel="\?"
173 latin:popupCharacters="¿" />
174 </default>
175 </switch>
176 <Key
177 latin:keyStyle="moreKeyStyle"
178 latin:keyWidth="12.530%p"
179 latin:keyEdgeFlags="right" />
180 </Row>
181 <!-- This row is intentionally not marked as a bottom row -->
182 <Row
183 latin:keyWidth="8.042%p"
184 >
185 <Spacer
186 latin:horizontalGap="8.362%p" />
187 <switch>
188 <case latin:hasSettingsKey="true">
189 <Key
190 latin:keyStyle="settingsKeyStyle" />
191 </case>
192 <default>
193 <Spacer
194 latin:horizontalGap="8.042%p" />
195 </default>
196 </switch>
197 <Key
198 latin:keyLabel="/" />
199 <Key
200 latin:keyLabel="\@" />
201 <Key
202 latin:keyStyle="spaceKeyStyle"
203 latin:keyWidth="37.454%p" />
204 <switch>
205 <case
206 latin:languageCode="ru"
207 >
208 <Key
209 latin:keyLabel="_" />
210 <Key
211 latin:keyLabel="-" />
212 </case>
213 <default>
214 <Key
215 latin:keyLabel="&quot;"
216 latin:popupCharacters="“,”,«,»,˝" />
217 <Key
218 latin:keyLabel="_" />
219 </default>
220 </switch>
221 <switch>
222 <case
223 latin:voiceKeyEnabled="true"
224 >
225 <Key
226 latin:keyStyle="micKeyStyle" />
227 </case>
228 </switch>
229 </Row>
230</Keyboard>