blob: a3bed2f3a2b6686a7f1ba20752b6a1c0a7a7d6b9 [file] [log] [blame]
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -08001<?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
22 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +090023 latin:keyWidth="13.250%p"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080024>
Tadashi G. Takaoka7f0befe2010-11-23 23:59:56 -080025 <include
26 latin:keyboardLayout="@xml/kbd_key_styles" />
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080027 <include
28 latin:keyboardLayout="@xml/kbd_numkey_styles" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090029 <switch>
30 <case
31 latin:passwordInput="true"
32 >
33 <!-- This row is intentionally not marked as a top row -->
34 <Row>
Tadashi G. Takaoka0f901aa2011-01-13 13:43:39 +090035 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090036 latin:keyStyle="tabKeyStyle"
37 latin:keyLabelOption="alignLeft"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +090038 latin:keyWidth="11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090039 latin:keyEdgeFlags="left" />
40 <Key
41 latin:keyStyle="num1KeyStyle"
42 latin:keyXPos="32.076%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090043 <Key
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080044 latin:keyStyle="num2KeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090045 <Key
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080046 latin:keyStyle="num3KeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090047 <Key
48 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +090049 latin:keyXPos="-11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090050 latin:keyWidth="fillRight"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090051 latin:keyEdgeFlags="right" />
52 </Row>
53 <Row>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090054 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090055 latin:keyStyle="num4KeyStyle"
56 latin:keyXPos="32.076%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090057 <Key
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080058 latin:keyStyle="num5KeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090059 <Key
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080060 latin:keyStyle="num6KeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090061 <Key
62 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +090063 latin:keyXPos="-11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090064 latin:keyWidth="fillRight"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090065 latin:keyEdgeFlags="right" />
66 </Row>
67 <Row>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090068 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090069 latin:keyStyle="num7KeyStyle"
70 latin:keyXPos="32.076%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090071 <Key
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080072 latin:keyStyle="num8KeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090073 <Key
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080074 latin:keyStyle="num9KeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090075 <!-- There is an empty area below the "Enter" key and right of the "9" key. To
76 ignore the touch event on the area, "9" is intentionally not marked as a right
77 edge key. -->
78 </Row>
79 <!-- This row is intentionally not marked as a bottom row -->
80 <Row>
81 <Spacer
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090082 latin:keyXPos="32.076%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090083 <Key
Tadashi G. Takaoka6a75cd12011-03-08 17:48:18 -080084 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090085 <!-- There is an empty area below the "Enter" key and right of the "#" key. To
86 ignore the touch event on the area, "#" is intentionally not marked as a right
87 edge key. -->
88 </Row>
89 </case>
90 <!-- latin:passwordInput="false" -->
91 <default>
92 <!-- This row is intentionally not marked as a top row -->
93 <Row>
94 <Key
95 latin:keyStyle="tabKeyStyle"
96 latin:keyLabelOption="alignLeft"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +090097 latin:keyWidth="11.172%p"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090098 latin:keyEdgeFlags="left" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +090099 <Key
100 latin:keyLabel="-"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900101 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900102 latin:keyXPos="13.829%p"
103 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900104 <Key
105 latin:keyLabel="+"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900106 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900107 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900108 <Key
109 latin:keyLabel="."
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900110 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900111 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900112 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900113 latin:keyLabel="1"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900114 latin:keyStyle="numKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900115 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900116 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900117 latin:keyLabel="2"
118 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900119 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900120 latin:keyLabel="3"
121 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900122 <Key
123 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900124 latin:keyXPos="-11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900125 latin:keyWidth="fillRight"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900126 latin:keyEdgeFlags="right" />
127 </Row>
128 <Row>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900129 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900130 latin:keyStyle="numStarKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900131 latin:keyXPos="13.829%p"
132 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900133 <Key
134 latin:keyLabel="/"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900135 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900136 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900137 <Key
138 latin:keyLabel=","
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900139 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900140 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900141 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900142 latin:keyLabel="4"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900143 latin:keyStyle="numKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900144 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900145 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900146 latin:keyLabel="5"
147 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900148 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900149 latin:keyLabel="6"
150 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900151 <Key
152 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900153 latin:keyXPos="-11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900154 latin:keyWidth="fillRight"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900155 latin:keyEdgeFlags="right" />
156 </Row>
157 <Row>
158 <!-- There is an empty area below the "More" key and left of the "(" key. To
159 ignore the touch event on the area, "(" is intentionally not marked as a left
160 edge key. -->
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900161 <Key
162 latin:keyLabel="("
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900163 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900164 latin:keyXPos="13.829%p"
165 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900166 <Key
167 latin:keyLabel=")"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900168 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900169 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900170 <Key
171 latin:keyLabel="="
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900172 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900173 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900174 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900175 latin:keyLabel="7"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900176 latin:keyStyle="numKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900177 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900178 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900179 latin:keyLabel="8"
180 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900181 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900182 latin:keyLabel="9"
183 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900184 <!-- There is an empty area below the "Enter" key and right of the "9" key. To
185 ignore the touch event on the area, "9" is intentionally not marked as a right
186 edge key. -->
187 </Row>
188 <!-- This row is intentionally not marked as a bottom row -->
189 <Row>
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900190 <switch>
191 <case latin:hasSettingsKey="true">
192 <Key
193 latin:keyStyle="settingsKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900194 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900195 </case>
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900196 </switch>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900197 <Key
198 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900199 latin:keyXPos="13.829%p"
200 latin:keyWidth="24.140%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900201 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900202 latin:keyStyle="numStarKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900203 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900204 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900205 latin:keyLabel="0"
206 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900207 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900208 latin:keyLabel="#"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900209 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900210 <switch>
211 <case
212 latin:voiceKeyEnabled="true"
213 >
214 <Key
Tadashi G. Takaokac2a21782011-06-21 23:38:42 +0900215 latin:keyStyle="shortcutKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900216 latin:keyXPos="-8.047%p"
217 latin:keyWidth="fillRight" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900218 </case>
219 </switch>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900220 </Row>
221 </default>
222 </switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800223</Keyboard>