blob: ab5adce4a9193f842c13d38cf36277f2ae25ddc5 [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. Takaokab514d3f2010-09-28 09:39:19 +090033 <!-- This row is intentionally not marked as a top row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080034 <Row
35 latin:keyWidth="8.272%p"
36 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090037 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080038 latin:keyStyle="tabKeyStyle"
39 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080040 latin:keyWidth="7.949%p"
satok4fc510a2010-10-01 19:40:44 +090041 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090042 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080043 latin:keyLabel="1"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090044 latin:popupCharacters="¹,½,⅓,¼,⅛" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090045 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080046 latin:keyLabel="2"
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="3"
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="4"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080053 latin:popupCharacters="⁴" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090054 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080055 latin:keyLabel="5"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080056 latin:popupCharacters="⅝" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090057 <Key
satok4fc510a2010-10-01 19:40:44 +090058 latin:keyLabel="6" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090059 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080060 latin:keyLabel="7"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080061 latin:popupCharacters="⅞" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090062 <Key
satok4fc510a2010-10-01 19:40:44 +090063 latin:keyLabel="8" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090064 <Key
satok4fc510a2010-10-01 19:40:44 +090065 latin:keyLabel="9" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090066 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080067 latin:keyLabel="0"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090068 latin:popupCharacters="ⁿ,∅" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090069 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080070 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080071 latin:keyWidth="9.331%p"
satok4fc510a2010-10-01 19:40:44 +090072 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090073 </Row>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080074 <Row
75 latin:keyWidth="8.157%p"
76 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090077 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080078 latin:keyStyle="toAlphaKeyStyle"
79 latin:keyLabelOption="alignLeft"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -080080 latin:keyWidth="11.167%p"
satok4fc510a2010-10-01 19:40:44 +090081 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090082 <Key
satok4fc510a2010-10-01 19:40:44 +090083 latin:keyLabel="#" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090084 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080085 latin:keyLabel="$"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090086 latin:popupCharacters="¢,£,€,¥,₣,₤,₱" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090087 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080088 latin:keyLabel="%"
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080089 latin:popupCharacters="‰" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090090 <Key
satok4fc510a2010-10-01 19:40:44 +090091 latin:keyLabel="&amp;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090092 <Key
Tadashi G. Takaokaf12023c2010-11-12 09:50:19 -080093 latin:keyLabel="*"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090094 latin:popupCharacters="†,‡,★" />
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. Takaokaf12023c2010-11-12 09:50:19 -0800100 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. Takaoka9b6d1d52010-12-14 15:31:47 +0900103 latin:popupCharacters="[,{,&lt;" />
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="],},&gt;" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900107 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800108 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800109 latin:keyWidth="15.750%p"
satok4fc510a2010-10-01 19:40:44 +0900110 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900111 </Row>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800112 <Row
113 latin:keyWidth="8.042%p"
114 >
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900115 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800116 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800117 latin:keyWidth="15.192%p"
satok4fc510a2010-10-01 19:40:44 +0900118 latin:keyEdgeFlags="left" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900119 <Key
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800120 latin:keyLabel="&lt;"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900121 latin:popupCharacters="≤,«,‹" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900122 <Key
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800123 latin:keyLabel="&gt;"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900124 latin:popupCharacters="≥,»,›" />
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800125 <Key
Tadashi G. Takaoka560497c2010-12-02 11:47:09 +0900126 latin:keyLabel="="
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +0900127 latin:popupCharacters="≠,≈" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900128 <Key
satok4fc510a2010-10-01 19:40:44 +0900129 latin:keyLabel=":" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900130 <Key
satok4fc510a2010-10-01 19:40:44 +0900131 latin:keyLabel=";" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900132 <switch>
133 <case
134 latin:languageCode="ru"
135 >
136 <Key
137 latin:keyLabel="\'" />
138 <Key
139 latin:keyLabel="&quot;"
140 latin:popupCharacters="“,”,«,»,˝" />
141 <Key
142 latin:keyLabel="." />
143 <Key
144 latin:keyLabel="," />
145 </case>
146 <default>
147 <Key
148 latin:keyLabel="," />
149 <Key
150 latin:keyLabel="." />
151 <Key
152 latin:keyLabel="!"
153 latin:popupCharacters="¡" />
154 <Key
155 latin:keyLabel="\?"
156 latin:popupCharacters="¿" />
157 </default>
158 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900159 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800160 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800161 latin:keyWidth="12.530%p"
satok4fc510a2010-10-01 19:40:44 +0900162 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900163 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900164 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800165 <Row
166 latin:keyWidth="8.042%p"
167 >
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900168 <Spacer
Tadashi G. Takaoka7ab9f602011-01-18 14:08:40 +0900169 latin:horizontalGap="8.362%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900170 <switch>
171 <case latin:hasSettingsKey="true">
172 <Key
173 latin:keyStyle="settingsKeyStyle" />
174 </case>
175 <default>
176 <Spacer
177 latin:horizontalGap="8.042%p" />
178 </default>
179 </switch>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800180 <Key
181 latin:keyLabel="/" />
182 <Key
183 latin:keyLabel="\@" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900184 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800185 latin:keyStyle="spaceKeyStyle"
186 latin:keyWidth="37.454%p" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900187 <switch>
188 <case
189 latin:languageCode="ru"
190 >
191 <Key
192 latin:keyLabel="_" />
193 <Key
194 latin:keyLabel="-" />
195 </case>
196 <default>
197 <Key
198 latin:keyLabel="&quot;"
199 latin:popupCharacters="“,”,«,»,˝" />
200 <Key
201 latin:keyLabel="_" />
202 </default>
203 </switch>
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900204 <switch>
205 <case
206 latin:voiceKeyEnabled="true"
207 >
208 <Key
209 latin:keyStyle="micKeyStyle" />
210 </case>
211 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900212 </Row>
213</Keyboard>