blob: 42d7d07777689bb5188f0d5edb9628539c730992 [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" />
81 <Spacer />
82 <Key
Tadashi G. Takaokac2a21782011-06-21 23:38:42 +090083 latin:keyStyle="shortcutOrSettingsKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090084 latin:keyXPos="-11.00%p"
85 latin:keyWidth="fillRight"
86 latin:keyEdgeFlags="right" />
87 </Row>
88 </case>
89 <!-- latin:passwordInput="false" -->
90 <default>
91 <!-- This row is intentionally not marked as a top row -->
92 <Row>
93 <Key
94 latin:keyLabel="-"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +090095 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090096 latin:keyXPos="11.00%p"
97 latin:keyWidth="9.25%p" />
98 <Key
99 latin:keyLabel="+"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900100 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900101 latin:keyWidth="9.25%p" />
102 <Key
103 latin:keyLabel="."
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900104 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900105 latin:keyWidth="9.25%p" />
106 <Key
107 latin:keyLabel="1"
108 latin:keyXPos="38.75%p" />
109 <Key
110 latin:keyLabel="2" />
111 <Key
112 latin:keyLabel="3" />
113 <Key
114 latin:keyStyle="deleteKeyStyle"
115 latin:keyXPos="-11.00%p"
116 latin:keyWidth="fillBoth"
117 latin:keyEdgeFlags="right" />
118 </Row>
119 <Row>
120 <Key
121 latin:keyLabel="*"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900122 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900123 latin:keyXPos="11.00%p"
124 latin:keyWidth="9.25%p" />
125 <Key
126 latin:keyLabel="/"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900127 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900128 latin:keyWidth="9.25%p" />
129 <Key
130 latin:keyLabel=","
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900131 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900132 latin:keyWidth="9.25%p" />
133 <Key
134 latin:keyLabel="4"
135 latin:keyXPos="38.75%p" />
136 <Key
137 latin:keyLabel="5" />
138 <Key
139 latin:keyLabel="6" />
140 <Key
141 latin:keyStyle="returnKeyStyle"
142 latin:keyXPos="-11.00%p"
143 latin:keyWidth="fillBoth"
144 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. -->
150 <Key
151 latin:keyLabel="("
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900152 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900153 latin:keyXPos="11.00%p"
154 latin:keyWidth="9.25%p" />
155 <Key
156 latin:keyLabel=")"
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900157 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900158 latin:keyWidth="9.25%p" />
159 <Key
160 latin:keyLabel="="
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900161 latin:keyStyle="numLabelStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900162 latin:keyWidth="9.25%p" />
163 <Key
164 latin:keyLabel="7"
165 latin:keyXPos="38.75%p" />
166 <Key
167 latin:keyLabel="8" />
168 <Key
169 latin:keyLabel="9" />
170 </Row>
171 <!-- This row is intentionally not marked as a bottom row -->
172 <Row>
173 <Key
174 latin:keyStyle="tabKeyStyle"
175 latin:keyWidth="11.00%p"
176 latin:keyEdgeFlags="left" />
177 <Key
178 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
179 latin:keyWidth="27.75%p" />
180 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900181 latin:keyStyle="numStarKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900182 latin:keyXPos="38.75%p" />
183 <Key
184 latin:keyLabel="0" />
185 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900186 latin:keyLabel="#"
187 latin:keyStyle="numLabelStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900188 <Key
Tadashi G. Takaokac2a21782011-06-21 23:38:42 +0900189 latin:keyStyle="shortcutOrSettingsKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900190 latin:keyXPos="-11.00%p"
191 latin:keyWidth="fillBoth"
192 latin:keyEdgeFlags="right" />
193 </Row>
194 </default>
195 </switch>
196</Keyboard>