blob: 5b359bfbfa5cbf9d66b0544874ed01202d3f79d9 [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"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +090075 latin:keyWidth="fillRight"
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
Tadashi G. Takaokadd0ac4a2011-03-01 11:58:41 -0800134 latin:mode="url"
135 >
136 <Key
Tadashi G. Takaokab05c9132011-05-13 12:36:49 +0900137 latin:keyLabel="\'"
138 latin:popupCharacters="‘,’,‚,‛" />
Tadashi G. Takaokadd0ac4a2011-03-01 11:58:41 -0800139 </case>
140 <default>
141 <Key
142 latin:keyLabel=":" />
143 </default>
144 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900145 <Key
satok4fc510a2010-10-01 19:40:44 +0900146 latin:keyLabel=";" />
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900147 <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="¿" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900157 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800158 latin:keyStyle="moreKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900159 latin:keyXPos="-13.750%p"
160 latin:keyWidth="fillBoth"
satok4fc510a2010-10-01 19:40:44 +0900161 latin:keyEdgeFlags="right" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900162 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +0900163 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800164 <Row
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900165 latin:keyWidth="8.047%p"
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800166 >
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900167 <switch>
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900168 <case
169 latin:hasSettingsKey="true"
170 >
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900171 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900172 latin:keyStyle="settingsKeyStyle"
173 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900174 </case>
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900175 </switch>
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800176 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900177 latin:keyLabel="/"
178 latin:keyXPos="15.157%p" />
Tadashi G. Takaoka7c25ad42010-11-20 16:17:04 -0800179 <Key
180 latin:keyLabel="\@" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900181 <Key
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -0800182 latin:keyStyle="spaceKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900183 latin:keyXPos="31.250%p"
184 latin:keyWidth="37.500%p" />
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900185 <!-- Note: DroidSans doesn't have double-high-reversed-quotation '\u201f' glyph. -->
186 <!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" -->
187 <Key
188 latin:keyLabel="&quot;"
189 latin:popupCharacters="“,”,«,»,‘,’,‚,‛" />
190 <Key
191 latin:keyLabel="_" />
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900192 <switch>
193 <case
194 latin:voiceKeyEnabled="true"
195 >
196 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900197 latin:keyStyle="micKeyStyle"
198 latin:keyXPos="-8.047%p"
199 latin:keyWidth="fillRight" />
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +0900200 </case>
201 </switch>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900202 </Row>
203</Keyboard>