blob: 41e8522dc0bd6cb223088a22ec0a7d667810a1c6 [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"
Tadashi G. Takaokaff483e82011-05-12 14:49:18 +090024 latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
25 latin:minKeyboardHeight="@fraction/minKeyboardHeight"
Tadashi G. Takaoka9f01ed52010-12-08 14:36:41 +090026 latin:rowHeight="25%p"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090027 latin:horizontalGap="@dimen/key_horizontal_gap"
28 latin:verticalGap="@dimen/key_bottom_gap"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090029 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
30 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090031>
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080032 <include
33 latin:keyboardLayout="@xml/kbd_key_styles" />
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090034 <include
35 latin:keyboardLayout="@xml/kbd_currency_key_styles" />
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +090036 <!-- This row is intentionally not marked as a top row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080037 <Row
38 latin:keyWidth="8.272%p"
39 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090040 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080041 latin:keyStyle="tabKeyStyle"
42 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080043 latin:keyWidth="7.949%p"
satok4fc510a2010-10-01 19:40:44 +090044 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090045 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080046 latin:keyLabel="1"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090047 latin:popupCharacters="¹,½,⅓,¼,⅛" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090048 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080049 latin:keyLabel="2"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090050 latin:popupCharacters="²,⅔" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090051 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080052 latin:keyLabel="3"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090053 latin:popupCharacters="³,¾,⅜" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090054 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080055 latin:keyLabel="4"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080056 latin:popupCharacters="⁴" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090057 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080058 latin:keyLabel="5"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080059 latin:popupCharacters="⅝" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090060 <Key
satok4fc510a2010-10-01 19:40:44 +090061 latin:keyLabel="6" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090062 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080063 latin:keyLabel="7"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080064 latin:popupCharacters="⅞" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090065 <Key
satok4fc510a2010-10-01 19:40:44 +090066 latin:keyLabel="8" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090067 <Key
satok4fc510a2010-10-01 19:40:44 +090068 latin:keyLabel="9" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090069 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080070 latin:keyLabel="0"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090071 latin:popupCharacters="ⁿ,∅" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090072 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080073 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080074 latin:keyWidth="9.331%p"
satok4fc510a2010-10-01 19:40:44 +090075 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090076 </Row>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080077 <Row
78 latin:keyWidth="8.157%p"
79 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090080 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080081 latin:keyStyle="toAlphaKeyStyle"
82 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080083 latin:keyWidth="11.167%p"
satok4fc510a2010-10-01 19:40:44 +090084 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090085 <Key
satok4fc510a2010-10-01 19:40:44 +090086 latin:keyLabel="#" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090087 <Key
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090088 latin:keyStyle="currencyKeyStyle" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090089 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080090 latin:keyLabel="%"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080091 latin:popupCharacters="‰" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090092 <Key
satok4fc510a2010-10-01 19:40:44 +090093 latin:keyLabel="&amp;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090094 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080095 latin:keyLabel="*"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090096 latin:popupCharacters="†,‡,★" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090097 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080098 latin:keyLabel="-"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090099 latin:popupCharacters="_,–,—" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900100 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800101 latin:keyLabel="+"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800102 latin:popupCharacters="±" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900103 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800104 latin:keyLabel="("
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900105 latin:popupCharacters="[,{,&lt;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900106 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800107 latin:keyLabel=")"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900108 latin:popupCharacters="],},&gt;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900109 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800110 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800111 latin:keyWidth="15.750%p"
satok4fc510a2010-10-01 19:40:44 +0900112 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900113 </Row>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800114 <Row
115 latin:keyWidth="8.042%p"
116 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900117 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800118 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800119 latin:keyWidth="15.192%p"
satok4fc510a2010-10-01 19:40:44 +0900120 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900121 <Key
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800122 latin:keyLabel="&lt;"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900123 latin:popupCharacters="≤,«,‹" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900124 <Key
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800125 latin:keyLabel="&gt;"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900126 latin:popupCharacters="≥,»,›" />
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800127 <Key
Tadashi G. Takaoka560497c2010-12-02 11:47:09 +0900128 latin:keyLabel="="
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900129 latin:popupCharacters="≠,≈" />
Tadashi G. Takaokadd0ac4a2011-03-01 11:58:41 -0800130 <switch>
131 <case
132 latin:languageCode="ru"
133 >
134 <Key
135 latin:keyLabel=":" />
136 </case>
137 <case
138 latin:mode="url"
139 >
140 <Key
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900141 latin:keyLabel="\'"
142 latin:popupCharacters="‘,’,‚,‛" />
Tadashi G. Takaokadd0ac4a2011-03-01 11:58:41 -0800143 </case>
144 <default>
145 <Key
146 latin:keyLabel=":" />
147 </default>
148 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900149 <Key
satok4fc510a2010-10-01 19:40:44 +0900150 latin:keyLabel=";" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900151 <switch>
152 <case
153 latin:languageCode="ru"
154 >
155 <Key
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900156 latin:keyLabel="\'"
157 latin:popupCharacters="‘,’,‚,‛" />
158 <!-- Note: DroidSans doesn't have double-high-reversed-quotation '\u201f' glyph. -->
159 <!-- latin:popupCharacters="“,”,„,‟,«,»" -->
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900160 <Key
161 latin:keyLabel="&quot;"
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900162 latin:popupCharacters="“,”,«,»" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900163 <Key
164 latin:keyLabel="." />
165 <Key
166 latin:keyLabel="," />
167 </case>
168 <default>
169 <Key
170 latin:keyLabel="," />
171 <Key
172 latin:keyLabel="." />
173 <Key
174 latin:keyLabel="!"
175 latin:popupCharacters="¡" />
176 <Key
177 latin:keyLabel="\?"
178 latin:popupCharacters="¿" />
179 </default>
180 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900181 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800182 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800183 latin:keyWidth="12.530%p"
satok4fc510a2010-10-01 19:40:44 +0900184 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900185 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900186 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800187 <Row
188 latin:keyWidth="8.042%p"
189 >
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900190 <Spacer
Tadashi G. Takaoka7ab9f602011-01-18 14:08:40 +0900191 latin:horizontalGap="8.362%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900192 <switch>
193 <case latin:hasSettingsKey="true">
194 <Key
195 latin:keyStyle="settingsKeyStyle" />
196 </case>
197 <default>
198 <Spacer
199 latin:horizontalGap="8.042%p" />
200 </default>
201 </switch>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800202 <Key
203 latin:keyLabel="/" />
204 <Key
205 latin:keyLabel="\@" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900206 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800207 latin:keyStyle="spaceKeyStyle"
208 latin:keyWidth="37.454%p" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900209 <switch>
210 <case
211 latin:languageCode="ru"
212 >
213 <Key
214 latin:keyLabel="_" />
215 <Key
216 latin:keyLabel="-" />
217 </case>
218 <default>
Tadashi G. Takaoka717cef72011-04-26 14:27:35 +0900219 <!-- Note: DroidSans doesn't have double-high-reversed-quotation '\u201f' glyph. -->
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900220 <!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" -->
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900221 <Key
222 latin:keyLabel="&quot;"
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900223 latin:popupCharacters="“,”,«,»,‘,’,‚,‛" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900224 <Key
225 latin:keyLabel="_" />
226 </default>
227 </switch>
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900228 <switch>
229 <case
230 latin:voiceKeyEnabled="true"
231 >
232 <Key
233 latin:keyStyle="micKeyStyle" />
234 </case>
235 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900236 </Row>
237</Keyboard>