blob: b3a1010d74ea050a12a514d3cced01cf6f272319 [file] [log] [blame]
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2011, 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. Takaoka0d22fc42011-05-30 20:12:04 +090023 latin:keyWidth="16.75%p"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090024>
25 <include
26 latin:keyboardLayout="@xml/kbd_key_styles" />
27 <include
28 latin:keyboardLayout="@xml/kbd_numkey_styles" />
29 <switch>
30 <case
31 latin:passwordInput="true"
32 >
33 <!-- This row is intentionally not marked as a top row -->
34 <Row>
35 <Key
36 latin:keyStyle="num1KeyStyle"
37 latin:keyXPos="24.875%p" />
38 <Key
39 latin:keyStyle="num2KeyStyle" />
40 <Key
41 latin:keyStyle="num3KeyStyle" />
42 <Key
43 latin:keyStyle="deleteKeyStyle"
44 latin:keyXPos="-11.00%p"
45 latin:keyWidth="fillRight"
46 latin:keyEdgeFlags="right" />
47 </Row>
48 <Row>
49 <Key
50 latin:keyStyle="num4KeyStyle"
51 latin:keyXPos="24.875%p" />
52 <Key
53 latin:keyStyle="num5KeyStyle" />
54 <Key
55 latin:keyStyle="num6KeyStyle" />
56 <Key
57 latin:keyStyle="returnKeyStyle"
58 latin:keyXPos="-11.00%p"
59 latin:keyWidth="fillRight"
60 latin:keyEdgeFlags="right" />
61 </Row>
62 <Row>
63 <Key
64 latin:keyStyle="num7KeyStyle"
65 latin:keyXPos="24.875%p" />
66 <Key
67 latin:keyStyle="num8KeyStyle" />
68 <Key
69 latin:keyStyle="num9KeyStyle" />
70 </Row>
71 <!-- This row is intentionally not marked as a bottom row -->
72 <Row>
73 <Key
74 latin:keyStyle="tabKeyStyle"
75 latin:keyWidth="11.00%p"
76 latin:keyEdgeFlags="left" />
77 <Spacer
78 latin:keyXPos="24.875%p" />
79 <Key
80 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +090081 <Spacer
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090082 latin:keyXPos="-11.00%p"
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +090083 latin:keyWidth="0%p" />
84 <include
85 latin:keyboardLayout="@xml/kbd_qwerty_f2" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090086 </Row>
87 </case>
88 <!-- latin:passwordInput="false" -->
89 <default>
90 <!-- This row is intentionally not marked as a top row -->
91 <Row>
92 <Key
93 latin:keyLabel="-"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090094 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090095 latin:keyXPos="11.00%p"
96 latin:keyWidth="9.25%p" />
97 <Key
98 latin:keyLabel="+"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090099 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900100 latin:keyWidth="9.25%p" />
101 <Key
102 latin:keyLabel="."
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900103 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900104 latin:keyWidth="9.25%p" />
105 <Key
106 latin:keyLabel="1"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900107 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900108 latin:keyXPos="38.75%p" />
109 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900110 latin:keyLabel="2"
111 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900112 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900113 latin:keyLabel="3"
114 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900115 <Key
116 latin:keyStyle="deleteKeyStyle"
117 latin:keyXPos="-11.00%p"
118 latin:keyWidth="fillBoth"
119 latin:keyEdgeFlags="right" />
120 </Row>
121 <Row>
122 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900123 latin:keyStyle="numStarKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900124 latin:keyXPos="11.00%p"
125 latin:keyWidth="9.25%p" />
126 <Key
127 latin:keyLabel="/"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900128 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900129 latin:keyWidth="9.25%p" />
130 <Key
131 latin:keyLabel=","
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900132 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900133 latin:keyWidth="9.25%p" />
134 <Key
135 latin:keyLabel="4"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900136 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900137 latin:keyXPos="38.75%p" />
138 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900139 latin:keyLabel="5"
140 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900141 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900142 latin:keyLabel="6"
143 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900144 <Key
145 latin:keyStyle="returnKeyStyle"
146 latin:keyXPos="-11.00%p"
147 latin:keyWidth="fillBoth"
148 latin:keyEdgeFlags="right" />
149 </Row>
150 <Row>
151 <!-- There is an empty area below the "More" key and left of the "(" key. To
152 ignore the touch event on the area, "(" is intentionally not marked as a left
153 edge key. -->
154 <Key
155 latin:keyLabel="("
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900156 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900157 latin:keyXPos="11.00%p"
158 latin:keyWidth="9.25%p" />
159 <Key
160 latin:keyLabel=")"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900161 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900162 latin:keyWidth="9.25%p" />
163 <Key
164 latin:keyLabel="="
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900165 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900166 latin:keyWidth="9.25%p" />
167 <Key
168 latin:keyLabel="7"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900169 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900170 latin:keyXPos="38.75%p" />
171 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900172 latin:keyLabel="8"
173 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900174 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900175 latin:keyLabel="9"
176 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900177 </Row>
178 <!-- This row is intentionally not marked as a bottom row -->
179 <Row>
180 <Key
181 latin:keyStyle="tabKeyStyle"
182 latin:keyWidth="11.00%p"
183 latin:keyEdgeFlags="left" />
184 <Key
185 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
186 latin:keyWidth="27.75%p" />
187 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900188 latin:keyStyle="numStarKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900189 latin:keyXPos="38.75%p" />
190 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900191 latin:keyLabel="0"
192 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900193 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900194 latin:keyLabel="#"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900195 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +0900196 <Spacer
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900197 latin:keyXPos="-11.00%p"
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +0900198 latin:keyWidth="0%p" />
199 <include
200 latin:keyboardLayout="@xml/kbd_qwerty_f2" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900201 </Row>
202 </default>
203 </switch>
204</Keyboard>