blob: 069ffaeb2d8ac9e07dbea3a19a973c1f4ddcc1d0 [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. Takaokab1fcbec2010-09-27 17:07:09 +0900129 <Key
satok4fc510a2010-10-01 19:40:44 +0900130 latin:keyLabel=":" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900131 <Key
satok4fc510a2010-10-01 19:40:44 +0900132 latin:keyLabel=";" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900133 <switch>
134 <case
135 latin:languageCode="ru"
136 >
137 <Key
138 latin:keyLabel="\'" />
139 <Key
140 latin:keyLabel="&quot;"
141 latin:popupCharacters="“,”,«,»,˝" />
142 <Key
143 latin:keyLabel="." />
144 <Key
145 latin:keyLabel="," />
146 </case>
147 <default>
148 <Key
149 latin:keyLabel="," />
150 <Key
151 latin:keyLabel="." />
152 <Key
153 latin:keyLabel="!"
154 latin:popupCharacters="¡" />
155 <Key
156 latin:keyLabel="\?"
157 latin:popupCharacters="¿" />
158 </default>
159 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900160 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800161 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800162 latin:keyWidth="12.530%p"
satok4fc510a2010-10-01 19:40:44 +0900163 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900164 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900165 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800166 <Row
167 latin:keyWidth="8.042%p"
168 >
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +0900169 <Spacer
Tadashi G. Takaoka7ab9f602011-01-18 14:08:40 +0900170 latin:horizontalGap="8.362%p" />
171 <Key
172 latin:keyStyle="settingsKeyStyle" />
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800173 <Key
174 latin:keyLabel="/" />
175 <Key
176 latin:keyLabel="\@" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900177 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800178 latin:keyStyle="spaceKeyStyle"
179 latin:keyWidth="37.454%p" />
Tadashi G. Takaokaec2ef402011-02-20 00:41:07 +0900180 <switch>
181 <case
182 latin:languageCode="ru"
183 >
184 <Key
185 latin:keyLabel="_" />
186 <Key
187 latin:keyLabel="-" />
188 </case>
189 <default>
190 <Key
191 latin:keyLabel="&quot;"
192 latin:popupCharacters="“,”,«,»,˝" />
193 <Key
194 latin:keyLabel="_" />
195 </default>
196 </switch>
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900197 <switch>
198 <case
199 latin:voiceKeyEnabled="true"
200 >
201 <Key
202 latin:keyStyle="micKeyStyle" />
203 </case>
204 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900205 </Row>
206</Keyboard>