blob: 26cf1ac7052ee97bc7999063fa9d0b619da3f1ae [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
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090038 latin:keyWidth="8.282%p"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080039 >
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. Takaoka327763e2011-05-30 20:05:50 +090043 latin:keyWidth="7.969%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. Takaoka327763e2011-05-30 20:05:50 +090074 latin:keyXPos="-9.219%p"
75 latin:keyWidth="fillBoth"
satok4fc510a2010-10-01 19:40:44 +090076 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090077 </Row>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080078 <Row
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090079 latin:keyWidth="8.125%p"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080080 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090081 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080082 latin:keyStyle="toAlphaKeyStyle"
83 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090084 latin:keyWidth="11.172%p"
satok4fc510a2010-10-01 19:40:44 +090085 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090086 <Key
satok4fc510a2010-10-01 19:40:44 +090087 latin:keyLabel="#" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090088 <Key
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090089 latin:keyStyle="currencyKeyStyle" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090090 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080091 latin:keyLabel="%"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080092 latin:popupCharacters="‰" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090093 <Key
satok4fc510a2010-10-01 19:40:44 +090094 latin:keyLabel="&amp;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090095 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080096 latin:keyLabel="*"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090097 latin:popupCharacters="†,‡,★" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090098 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080099 latin:keyLabel="-"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900100 latin:popupCharacters="_,–,—" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900101 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800102 latin:keyLabel="+"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800103 latin:popupCharacters="±" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900104 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800105 latin:keyLabel="("
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900106 latin:popupCharacters="[,{,&lt;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900107 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -0800108 latin:keyLabel=")"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900109 latin:popupCharacters="],},&gt;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900110 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800111 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900112 latin:keyXPos="-15.704%p"
113 latin:keyWidth="fillBoth"
satok4fc510a2010-10-01 19:40:44 +0900114 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900115 </Row>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800116 <Row
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900117 latin:keyWidth="8.047%p"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800118 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900119 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800120 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900121 latin:keyWidth="13.829%p"
satok4fc510a2010-10-01 19:40:44 +0900122 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900123 <Key
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800124 latin:keyLabel="&lt;"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900125 latin:popupCharacters="≤,«,‹" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900126 <Key
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800127 latin:keyLabel="&gt;"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900128 latin:popupCharacters="≥,»,›" />
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800129 <Key
Tadashi G. Takaoka560497c2010-12-02 11:47:09 +0900130 latin:keyLabel="="
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900131 latin:popupCharacters="≠,≈" />
Tadashi G. Takaokadd0ac4a2011-03-01 11:58:41 -0800132 <switch>
133 <case
134 latin:languageCode="ru"
135 >
136 <Key
137 latin:keyLabel=":" />
138 </case>
139 <case
140 latin:mode="url"
141 >
142 <Key
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900143 latin:keyLabel="\'"
144 latin:popupCharacters="‘,’,‚,‛" />
Tadashi G. Takaokadd0ac4a2011-03-01 11:58:41 -0800145 </case>
146 <default>
147 <Key
148 latin:keyLabel=":" />
149 </default>
150 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900151 <Key
satok4fc510a2010-10-01 19:40:44 +0900152 latin:keyLabel=";" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900153 <switch>
154 <case
155 latin:languageCode="ru"
156 >
157 <Key
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900158 latin:keyLabel="\'"
159 latin:popupCharacters="‘,’,‚,‛" />
160 <!-- Note: DroidSans doesn't have double-high-reversed-quotation '\u201f' glyph. -->
161 <!-- latin:popupCharacters="“,”,„,‟,«,»" -->
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900162 <Key
163 latin:keyLabel="&quot;"
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900164 latin:popupCharacters="“,”,«,»" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900165 <Key
166 latin:keyLabel="." />
167 <Key
168 latin:keyLabel="," />
169 </case>
170 <default>
171 <Key
172 latin:keyLabel="," />
173 <Key
174 latin:keyLabel="." />
175 <Key
176 latin:keyLabel="!"
177 latin:popupCharacters="¡" />
178 <Key
179 latin:keyLabel="\?"
180 latin:popupCharacters="¿" />
181 </default>
182 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900183 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800184 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900185 latin:keyXPos="-13.750%p"
186 latin:keyWidth="fillBoth"
satok4fc510a2010-10-01 19:40:44 +0900187 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900188 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900189 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800190 <Row
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900191 latin:keyWidth="8.047%p"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800192 >
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900193 <switch>
194 <case latin:hasSettingsKey="true">
195 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900196 latin:keyStyle="settingsKeyStyle"
197 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900198 </case>
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900199 </switch>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800200 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900201 latin:keyLabel="/"
202 latin:keyXPos="15.157%p" />
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800203 <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"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900207 latin:keyXPos="31.250%p"
208 latin:keyWidth="37.500%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
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900233 latin:keyStyle="micKeyStyle"
234 latin:keyXPos="-8.047%p"
235 latin:keyWidth="fillRight" />
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900236 </case>
237 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900238 </Row>
239</Keyboard>