blob: 2c7af0ae2dfd085081110fff6016cd56189eac1e [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. Takaoka9116bf12011-06-21 20:10:51 +090094 latin:keyStyle="numLabelStyle"
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. Takaoka9116bf12011-06-21 20:10:51 +090099 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900100 latin:keyWidth="9.25%p" />
101 <Key
102 latin:keyLabel="."
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900103 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900104 latin:keyWidth="9.25%p" />
105 <Key
106 latin:keyLabel="1"
107 latin:keyXPos="38.75%p" />
108 <Key
109 latin:keyLabel="2" />
110 <Key
111 latin:keyLabel="3" />
112 <Key
113 latin:keyStyle="deleteKeyStyle"
114 latin:keyXPos="-11.00%p"
115 latin:keyWidth="fillBoth"
116 latin:keyEdgeFlags="right" />
117 </Row>
118 <Row>
119 <Key
120 latin:keyLabel="*"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900121 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900122 latin:keyXPos="11.00%p"
123 latin:keyWidth="9.25%p" />
124 <Key
125 latin:keyLabel="/"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900126 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900127 latin:keyWidth="9.25%p" />
128 <Key
129 latin:keyLabel=","
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900130 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900131 latin:keyWidth="9.25%p" />
132 <Key
133 latin:keyLabel="4"
134 latin:keyXPos="38.75%p" />
135 <Key
136 latin:keyLabel="5" />
137 <Key
138 latin:keyLabel="6" />
139 <Key
140 latin:keyStyle="returnKeyStyle"
141 latin:keyXPos="-11.00%p"
142 latin:keyWidth="fillBoth"
143 latin:keyEdgeFlags="right" />
144 </Row>
145 <Row>
146 <!-- There is an empty area below the "More" key and left of the "(" key. To
147 ignore the touch event on the area, "(" is intentionally not marked as a left
148 edge key. -->
149 <Key
150 latin:keyLabel="("
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900151 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900152 latin:keyXPos="11.00%p"
153 latin:keyWidth="9.25%p" />
154 <Key
155 latin:keyLabel=")"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900156 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900157 latin:keyWidth="9.25%p" />
158 <Key
159 latin:keyLabel="="
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900160 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900161 latin:keyWidth="9.25%p" />
162 <Key
163 latin:keyLabel="7"
164 latin:keyXPos="38.75%p" />
165 <Key
166 latin:keyLabel="8" />
167 <Key
168 latin:keyLabel="9" />
169 </Row>
170 <!-- This row is intentionally not marked as a bottom row -->
171 <Row>
172 <Key
173 latin:keyStyle="tabKeyStyle"
174 latin:keyWidth="11.00%p"
175 latin:keyEdgeFlags="left" />
176 <Key
177 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
178 latin:keyWidth="27.75%p" />
179 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900180 latin:keyStyle="numStarKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900181 latin:keyXPos="38.75%p" />
182 <Key
183 latin:keyLabel="0" />
184 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900185 latin:keyLabel="#"
186 latin:keyStyle="numLabelStyle" />
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +0900187 <Spacer
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900188 latin:keyXPos="-11.00%p"
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +0900189 latin:keyWidth="0%p" />
190 <include
191 latin:keyboardLayout="@xml/kbd_qwerty_f2" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900192 </Row>
193 </default>
194 </switch>
195</Keyboard>