blob: 3b9a6b280ad10d6b3c3822179c350b014a316779 [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
141 latin:keyLabel="\'" />
142 </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
155 latin:keyLabel="\'" />
156 <Key
157 latin:keyLabel="&quot;"
158 latin:popupCharacters="“,”,«,»,˝" />
159 <Key
160 latin:keyLabel="." />
161 <Key
162 latin:keyLabel="," />
163 </case>
164 <default>
165 <Key
166 latin:keyLabel="," />
167 <Key
168 latin:keyLabel="." />
169 <Key
170 latin:keyLabel="!"
171 latin:popupCharacters="¡" />
172 <Key
173 latin:keyLabel="\?"
174 latin:popupCharacters="¿" />
175 </default>
176 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900177 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800178 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800179 latin:keyWidth="12.530%p"
satok4fc510a2010-10-01 19:40:44 +0900180 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900181 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900182 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800183 <Row
184 latin:keyWidth="8.042%p"
185 >
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900186 <Spacer
Tadashi G. Takaoka7ab9f602011-01-18 14:08:40 +0900187 latin:horizontalGap="8.362%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900188 <switch>
189 <case latin:hasSettingsKey="true">
190 <Key
191 latin:keyStyle="settingsKeyStyle" />
192 </case>
193 <default>
194 <Spacer
195 latin:horizontalGap="8.042%p" />
196 </default>
197 </switch>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800198 <Key
199 latin:keyLabel="/" />
200 <Key
201 latin:keyLabel="\@" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900202 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800203 latin:keyStyle="spaceKeyStyle"
204 latin:keyWidth="37.454%p" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900205 <switch>
206 <case
207 latin:languageCode="ru"
208 >
209 <Key
210 latin:keyLabel="_" />
211 <Key
212 latin:keyLabel="-" />
213 </case>
214 <default>
Tadashi G. Takaoka717cef72011-04-26 14:27:35 +0900215 <!-- Note: DroidSans doesn't have double-high-reversed-quotation '\u201f' glyph. -->
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900216 <Key
217 latin:keyLabel="&quot;"
Tadashi G. Takaoka717cef72011-04-26 14:27:35 +0900218 latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900219 <Key
220 latin:keyLabel="_" />
221 </default>
222 </switch>
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900223 <switch>
224 <case
225 latin:voiceKeyEnabled="true"
226 >
227 <Key
228 latin:keyStyle="micKeyStyle" />
229 </case>
230 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900231 </Row>
232</Keyboard>