blob: 312eb139badf2ae31fcce106a38ac688847f788b [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
satok4fc510a2010-10-01 19:40:44 +090022 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
Tadashi G. Takaoka9f01ed52010-12-08 14:36:41 +090023 latin:keyboardHeight="@dimen/keyboardHeight"
24 latin:maxKeyboardHeight="50%p"
25 latin:rowHeight="25%p"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090026 latin:horizontalGap="@dimen/key_horizontal_gap"
27 latin:verticalGap="@dimen/key_bottom_gap"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090028 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
29 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090030>
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080031 <include
32 latin:keyboardLayout="@xml/kbd_key_styles" />
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090033 <include
34 latin:keyboardLayout="@xml/kbd_currency_key_styles" />
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +090035 <!-- This row is intentionally not marked as a top row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080036 <Row
37 latin:keyWidth="8.272%p"
38 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090039 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080040 latin:keyStyle="tabKeyStyle"
41 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080042 latin:keyWidth="7.949%p"
satok4fc510a2010-10-01 19:40:44 +090043 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090044 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080045 latin:keyLabel="1"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090046 latin:popupCharacters="¹,½,⅓,¼,⅛" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090047 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080048 latin:keyLabel="2"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090049 latin:popupCharacters="²,⅔" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090050 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080051 latin:keyLabel="3"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090052 latin:popupCharacters="³,¾,⅜" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090053 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080054 latin:keyLabel="4"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080055 latin:popupCharacters="⁴" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090056 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080057 latin:keyLabel="5"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080058 latin:popupCharacters="⅝" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090059 <Key
satok4fc510a2010-10-01 19:40:44 +090060 latin:keyLabel="6" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090061 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080062 latin:keyLabel="7"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080063 latin:popupCharacters="⅞" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090064 <Key
satok4fc510a2010-10-01 19:40:44 +090065 latin:keyLabel="8" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090066 <Key
satok4fc510a2010-10-01 19:40:44 +090067 latin:keyLabel="9" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090068 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080069 latin:keyLabel="0"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090070 latin:popupCharacters="ⁿ,∅" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090071 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080072 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080073 latin:keyWidth="9.331%p"
satok4fc510a2010-10-01 19:40:44 +090074 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090075 </Row>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080076 <Row
77 latin:keyWidth="8.157%p"
78 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090079 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080080 latin:keyStyle="toAlphaKeyStyle"
81 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080082 latin:keyWidth="11.167%p"
satok4fc510a2010-10-01 19:40:44 +090083 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090084 <Key
satok4fc510a2010-10-01 19:40:44 +090085 latin:keyLabel="#" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090086 <Key
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090087 latin:keyStyle="currencyKeyStyle" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090088 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080089 latin:keyLabel="%"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080090 latin:popupCharacters="‰" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090091 <Key
satok4fc510a2010-10-01 19:40:44 +090092 latin:keyLabel="&amp;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090093 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080094 latin:keyLabel="*"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090095 latin:popupCharacters="†,‡,★" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090096 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080097 latin:keyLabel="-"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090098 latin:popupCharacters="_,–,—" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090099 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800100 latin:keyLabel="+"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800101 latin:popupCharacters="±" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900102 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800103 latin:keyLabel="("
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900104 latin:popupCharacters="[,{,&lt;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900105 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800106 latin:keyLabel=")"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900107 latin:popupCharacters="],},&gt;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900108 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800109 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800110 latin:keyWidth="15.750%p"
satok4fc510a2010-10-01 19:40:44 +0900111 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900112 </Row>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800113 <Row
114 latin:keyWidth="8.042%p"
115 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900116 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800117 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800118 latin:keyWidth="15.192%p"
satok4fc510a2010-10-01 19:40:44 +0900119 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900120 <Key
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800121 latin:keyLabel="&lt;"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900122 latin:popupCharacters="≤,«,‹" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900123 <Key
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800124 latin:keyLabel="&gt;"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900125 latin:popupCharacters="≥,»,›" />
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800126 <Key
Tadashi G. Takaoka560497c2010-12-02 11:47:09 +0900127 latin:keyLabel="="
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900128 latin:popupCharacters="≠,≈" />
Tadashi G. Takaokadd0ac4a2011-03-01 11:58:41 -0800129 <switch>
130 <case
131 latin:languageCode="ru"
132 >
133 <Key
134 latin:keyLabel=":" />
135 </case>
136 <case
137 latin:mode="url"
138 >
139 <Key
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900140 latin:keyLabel="\'"
141 latin:popupCharacters="‘,’,‚,‛" />
Tadashi G. Takaokadd0ac4a2011-03-01 11:58:41 -0800142 </case>
143 <default>
144 <Key
145 latin:keyLabel=":" />
146 </default>
147 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900148 <Key
satok4fc510a2010-10-01 19:40:44 +0900149 latin:keyLabel=";" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900150 <switch>
151 <case
152 latin:languageCode="ru"
153 >
154 <Key
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900155 latin:keyLabel="\'"
156 latin:popupCharacters="‘,’,‚,‛" />
157 <!-- Note: DroidSans doesn't have double-high-reversed-quotation '\u201f' glyph. -->
158 <!-- latin:popupCharacters="“,”,„,‟,«,»" -->
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900159 <Key
160 latin:keyLabel="&quot;"
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900161 latin:popupCharacters="“,”,«,»" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900162 <Key
163 latin:keyLabel="." />
164 <Key
165 latin:keyLabel="," />
166 </case>
167 <default>
168 <Key
169 latin:keyLabel="," />
170 <Key
171 latin:keyLabel="." />
172 <Key
173 latin:keyLabel="!"
174 latin:popupCharacters="¡" />
175 <Key
176 latin:keyLabel="\?"
177 latin:popupCharacters="¿" />
178 </default>
179 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900180 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800181 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800182 latin:keyWidth="12.530%p"
satok4fc510a2010-10-01 19:40:44 +0900183 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900184 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900185 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800186 <Row
187 latin:keyWidth="8.042%p"
188 >
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900189 <Spacer
Tadashi G. Takaoka7ab9f602011-01-18 14:08:40 +0900190 latin:horizontalGap="8.362%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900191 <switch>
192 <case latin:hasSettingsKey="true">
193 <Key
194 latin:keyStyle="settingsKeyStyle" />
195 </case>
196 <default>
197 <Spacer
198 latin:horizontalGap="8.042%p" />
199 </default>
200 </switch>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800201 <Key
202 latin:keyLabel="/" />
203 <Key
204 latin:keyLabel="\@" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900205 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800206 latin:keyStyle="spaceKeyStyle"
207 latin:keyWidth="37.454%p" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900208 <switch>
209 <case
210 latin:languageCode="ru"
211 >
212 <Key
213 latin:keyLabel="_" />
214 <Key
215 latin:keyLabel="-" />
216 </case>
217 <default>
Tadashi G. Takaoka717cef72011-04-26 14:27:35 +0900218 <!-- Note: DroidSans doesn't have double-high-reversed-quotation '\u201f' glyph. -->
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900219 <!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" -->
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900220 <Key
221 latin:keyLabel="&quot;"
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900222 latin:popupCharacters="“,”,«,»,‘,’,‚,‛" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900223 <Key
224 latin:keyLabel="_" />
225 </default>
226 </switch>
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900227 <switch>
228 <case
229 latin:voiceKeyEnabled="true"
230 >
231 <Key
232 latin:keyStyle="micKeyStyle" />
233 </case>
234 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900235 </Row>
236</Keyboard>