blob: 1061178e092d61b2e7583a4ad51b0b890b308e2f [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
140 latin:keyLabel="\'" />
141 </case>
142 <default>
143 <Key
144 latin:keyLabel=":" />
145 </default>
146 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900147 <Key
satok4fc510a2010-10-01 19:40:44 +0900148 latin:keyLabel=";" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900149 <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>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900176 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800177 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800178 latin:keyWidth="12.530%p"
satok4fc510a2010-10-01 19:40:44 +0900179 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900180 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900181 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800182 <Row
183 latin:keyWidth="8.042%p"
184 >
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900185 <Spacer
Tadashi G. Takaoka7ab9f602011-01-18 14:08:40 +0900186 latin:horizontalGap="8.362%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900187 <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>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800197 <Key
198 latin:keyLabel="/" />
199 <Key
200 latin:keyLabel="\@" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900201 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800202 latin:keyStyle="spaceKeyStyle"
203 latin:keyWidth="37.454%p" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900204 <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>
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900221 <switch>
222 <case
223 latin:voiceKeyEnabled="true"
224 >
225 <Key
226 latin:keyStyle="micKeyStyle" />
227 </case>
228 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900229 </Row>
230</Keyboard>