blob: 3a370c81649840cc365f8d289043398d4a926af4 [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="-"
95 latin:keyXPos="11.00%p"
96 latin:keyWidth="9.25%p" />
97 <Key
98 latin:keyLabel="+"
99 latin:keyWidth="9.25%p" />
100 <Key
101 latin:keyLabel="."
102 latin:keyWidth="9.25%p" />
103 <Key
104 latin:keyLabel="1"
105 latin:keyXPos="38.75%p" />
106 <Key
107 latin:keyLabel="2" />
108 <Key
109 latin:keyLabel="3" />
110 <Key
111 latin:keyStyle="deleteKeyStyle"
112 latin:keyXPos="-11.00%p"
113 latin:keyWidth="fillBoth"
114 latin:keyEdgeFlags="right" />
115 </Row>
116 <Row>
117 <Key
118 latin:keyLabel="*"
119 latin:keyXPos="11.00%p"
120 latin:keyWidth="9.25%p" />
121 <Key
122 latin:keyLabel="/"
123 latin:keyWidth="9.25%p" />
124 <Key
125 latin:keyLabel=","
126 latin:keyWidth="9.25%p" />
127 <Key
128 latin:keyLabel="4"
129 latin:keyXPos="38.75%p" />
130 <Key
131 latin:keyLabel="5" />
132 <Key
133 latin:keyLabel="6" />
134 <Key
135 latin:keyStyle="returnKeyStyle"
136 latin:keyXPos="-11.00%p"
137 latin:keyWidth="fillBoth"
138 latin:keyEdgeFlags="right" />
139 </Row>
140 <Row>
141 <!-- There is an empty area below the "More" key and left of the "(" key. To
142 ignore the touch event on the area, "(" is intentionally not marked as a left
143 edge key. -->
144 <Key
145 latin:keyLabel="("
146 latin:keyXPos="11.00%p"
147 latin:keyWidth="9.25%p" />
148 <Key
149 latin:keyLabel=")"
150 latin:keyWidth="9.25%p" />
151 <Key
152 latin:keyLabel="="
153 latin:keyWidth="9.25%p" />
154 <Key
155 latin:keyLabel="7"
156 latin:keyXPos="38.75%p" />
157 <Key
158 latin:keyLabel="8" />
159 <Key
160 latin:keyLabel="9" />
161 </Row>
162 <!-- This row is intentionally not marked as a bottom row -->
163 <Row>
164 <Key
165 latin:keyStyle="tabKeyStyle"
166 latin:keyWidth="11.00%p"
167 latin:keyEdgeFlags="left" />
168 <Key
169 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
170 latin:keyWidth="27.75%p" />
171 <Key
172 latin:keyLabel="*"
173 latin:keyXPos="38.75%p" />
174 <Key
175 latin:keyLabel="0" />
176 <Key
177 latin:keyLabel="#" />
178 <Key
Tadashi G. Takaokac2a21782011-06-21 23:38:42 +0900179 latin:keyStyle="shortcutOrSettingsKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900180 latin:keyXPos="-11.00%p"
181 latin:keyWidth="fillBoth"
182 latin:keyEdgeFlags="right" />
183 </Row>
184 </default>
185 </switch>
186</Keyboard>