blob: 1e478fd8d397ec5f50ba2113c50be26e8036dbf4 [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. Takaoka327763e2011-05-30 20:05:50 +0900101 latin:keyXPos="13.829%p"
102 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900103 <Key
104 latin:keyLabel="+"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900105 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900106 <Key
107 latin:keyLabel="."
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900108 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900109 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900110 latin:keyLabel="1"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900111 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900112 <Key
113 latin:keyLabel="2" />
114 <Key
115 latin:keyLabel="3" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900116 <Key
117 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900118 latin:keyXPos="-11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900119 latin:keyWidth="fillRight"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900120 latin:keyEdgeFlags="right" />
121 </Row>
122 <Row>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900123 <Key
124 latin:keyLabel="*"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900125 latin:keyXPos="13.829%p"
126 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900127 <Key
128 latin:keyLabel="/"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900129 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900130 <Key
131 latin:keyLabel=","
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900132 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900133 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900134 latin:keyLabel="4"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900135 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900136 <Key
137 latin:keyLabel="5" />
138 <Key
139 latin:keyLabel="6" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900140 <Key
141 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900142 latin:keyXPos="-11.172%p"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900143 latin:keyWidth="fillRight"
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900144 latin:keyEdgeFlags="right" />
145 </Row>
146 <Row>
147 <!-- There is an empty area below the "More" key and left of the "(" key. To
148 ignore the touch event on the area, "(" is intentionally not marked as a left
149 edge key. -->
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900150 <Key
151 latin:keyLabel="("
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900152 latin:keyXPos="13.829%p"
153 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900154 <Key
155 latin:keyLabel=")"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900156 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900157 <Key
158 latin:keyLabel="="
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900159 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900160 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900161 latin:keyLabel="7"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900162 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900163 <Key
164 latin:keyLabel="8" />
165 <Key
166 latin:keyLabel="9" />
167 <!-- There is an empty area below the "Enter" key and right of the "9" key. To
168 ignore the touch event on the area, "9" is intentionally not marked as a right
169 edge key. -->
170 </Row>
171 <!-- This row is intentionally not marked as a bottom row -->
172 <Row>
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900173 <switch>
174 <case latin:hasSettingsKey="true">
175 <Key
176 latin:keyStyle="settingsKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900177 latin:keyWidth="8.047%p" />
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900178 </case>
Tadashi G. Takaoka4199e292011-02-23 20:31:08 +0900179 </switch>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900180 <Key
181 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900182 latin:keyXPos="13.829%p"
183 latin:keyWidth="24.140%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900184 <Key
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900185 latin:keyLabel="*"
Tadashi G. Takaokaabd73922011-06-02 21:11:45 +0900186 latin:keyXPos="43.125%p" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900187 <Key
188 latin:keyLabel="0" />
189 <Key
190 latin:keyLabel="#" />
191 <switch>
192 <case
193 latin:voiceKeyEnabled="true"
194 >
195 <Key
Tadashi G. Takaokac2a21782011-06-21 23:38:42 +0900196 latin:keyStyle="shortcutKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900197 latin:keyXPos="-8.047%p"
198 latin:keyWidth="fillRight" />
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900199 </case>
200 </switch>
Tadashi G. Takaoka4b13b4f2011-02-20 12:54:14 +0900201 </Row>
202 </default>
203 </switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800204</Keyboard>