blob: 1ae6984a5fe495f6bda8773be4c77d34dfbf7217 [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. Takaoka9116bf12011-06-21 20:10:51 +0900101 latin:keyStyle="numLabelStyle"
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. Takaoka9116bf12011-06-21 20:10:51 +0900106 latin:keyStyle="numLabelStyle"
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. Takaoka9116bf12011-06-21 20:10:51 +0900110 latin:keyStyle="numLabelStyle"
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. Takaokaabd73922011-06-02 21:11:45 +0900114 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900115 <Key
116 latin:keyLabel="2" />
117 <Key
118 latin:keyLabel="3" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900119 <Key
120 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900121 latin:keyXPos="-11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900122 latin:keyWidth="fillRight"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900123 latin:keyEdgeFlags="right" />
124 </Row>
125 <Row>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900126 <Key
127 latin:keyLabel="*"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900128 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900129 latin:keyXPos="13.829%p"
130 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900131 <Key
132 latin:keyLabel="/"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900133 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900134 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900135 <Key
136 latin:keyLabel=","
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900137 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900138 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900139 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900140 latin:keyLabel="4"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900141 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900142 <Key
143 latin:keyLabel="5" />
144 <Key
145 latin:keyLabel="6" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900146 <Key
147 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900148 latin:keyXPos="-11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900149 latin:keyWidth="fillRight"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900150 latin:keyEdgeFlags="right" />
151 </Row>
152 <Row>
153 <!-- There is an empty area below the "More" key and left of the "(" key. To
154 ignore the touch event on the area, "(" is intentionally not marked as a left
155 edge key. -->
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900156 <Key
157 latin:keyLabel="("
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900158 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900159 latin:keyXPos="13.829%p"
160 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900161 <Key
162 latin:keyLabel=")"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900163 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900164 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900165 <Key
166 latin:keyLabel="="
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900167 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900168 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900169 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900170 latin:keyLabel="7"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900171 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900172 <Key
173 latin:keyLabel="8" />
174 <Key
175 latin:keyLabel="9" />
176 <!-- There is an empty area below the "Enter" key and right of the "9" key. To
177 ignore the touch event on the area, "9" is intentionally not marked as a right
178 edge key. -->
179 </Row>
180 <!-- This row is intentionally not marked as a bottom row -->
181 <Row>
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900182 <switch>
183 <case latin:hasSettingsKey="true">
184 <Key
185 latin:keyStyle="settingsKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900186 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900187 </case>
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900188 </switch>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900189 <Key
190 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900191 latin:keyXPos="13.829%p"
192 latin:keyWidth="24.140%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900193 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900194 latin:keyLabel="*"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900195 latin:keyStyle="numLabelStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900196 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900197 <Key
198 latin:keyLabel="0" />
199 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900200 latin:keyLabel="#"
201 latin:keyStyle="numLabelStyle" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900202 <switch>
203 <case
204 latin:voiceKeyEnabled="true"
205 >
206 <Key
Tadashi G. Takaokac2a21782011-06-21 23:38:42 +0900207 latin:keyStyle="shortcutKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900208 latin:keyXPos="-8.047%p"
209 latin:keyWidth="fillRight" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900210 </case>
211 </switch>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900212 </Row>
213 </default>
214 </switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800215</Keyboard>