blob: d52c640ed48d1869248bbbb94901897290848c6b [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 >
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090033 <Row>
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070034 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
35 <Spacer
36 latin:keyWidth="24.875%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090037 <Key
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070038 latin:keyStyle="num1KeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090039 <Key
40 latin:keyStyle="num2KeyStyle" />
41 <Key
42 latin:keyStyle="num3KeyStyle" />
43 <Key
44 latin:keyStyle="deleteKeyStyle"
45 latin:keyXPos="-11.00%p"
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070046 latin:keyWidth="fillRight" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090047 </Row>
48 <Row>
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070049 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
50 <Spacer
51 latin:keyWidth="24.875%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090052 <Key
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070053 latin:keyStyle="num4KeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090054 <Key
55 latin:keyStyle="num5KeyStyle" />
56 <Key
57 latin:keyStyle="num6KeyStyle" />
58 <Key
59 latin:keyStyle="returnKeyStyle"
60 latin:keyXPos="-11.00%p"
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070061 latin:keyWidth="fillRight" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090062 </Row>
63 <Row>
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070064 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
65 <Spacer
66 latin:keyWidth="24.875%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090067 <Key
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070068 latin:keyStyle="num7KeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090069 <Key
70 latin:keyStyle="num8KeyStyle" />
71 <Key
72 latin:keyStyle="num9KeyStyle" />
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070073 <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
74 <Spacer
75 latin:keyWidth="0%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090076 </Row>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090077 <Row>
78 <Key
79 latin:keyStyle="tabKeyStyle"
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070080 latin:keyWidth="11.00%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090081 <Spacer
82 latin:keyXPos="24.875%p" />
83 <Key
84 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +090085 <Spacer
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090086 latin:keyXPos="-11.00%p"
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +090087 latin:keyWidth="0%p" />
88 <include
89 latin:keyboardLayout="@xml/kbd_qwerty_f2" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090090 </Row>
91 </case>
92 <!-- latin:passwordInput="false" -->
93 <default>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090094 <Row>
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -070095 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
96 <Spacer
97 latin:keyWidth="11.00%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +090098 <Key
99 latin:keyLabel="-"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900100 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900101 latin:keyWidth="9.25%p" />
102 <Key
103 latin:keyLabel="+"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900104 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900105 latin:keyWidth="9.25%p" />
106 <Key
107 latin:keyLabel="."
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900108 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900109 latin:keyWidth="9.25%p" />
110 <Key
111 latin:keyLabel="1"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900112 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900113 latin:keyXPos="38.75%p" />
114 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900115 latin:keyLabel="2"
116 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900117 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900118 latin:keyLabel="3"
119 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900120 <Key
121 latin:keyStyle="deleteKeyStyle"
122 latin:keyXPos="-11.00%p"
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -0700123 latin:keyWidth="fillBoth" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900124 </Row>
125 <Row>
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -0700126 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
127 <Spacer
128 latin:keyWidth="11.00%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900129 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900130 latin:keyStyle="numStarKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900131 latin:keyWidth="9.25%p" />
132 <Key
133 latin:keyLabel="/"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900134 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900135 latin:keyWidth="9.25%p" />
136 <Key
137 latin:keyLabel=","
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900138 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900139 latin:keyWidth="9.25%p" />
140 <Key
141 latin:keyLabel="4"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900142 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900143 latin:keyXPos="38.75%p" />
144 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900145 latin:keyLabel="5"
146 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900147 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900148 latin:keyLabel="6"
149 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900150 <Key
151 latin:keyStyle="returnKeyStyle"
152 latin:keyXPos="-11.00%p"
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -0700153 latin:keyWidth="fillBoth" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900154 </Row>
155 <Row>
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -0700156 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
157 <Spacer
158 latin:keyWidth="11.00%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900159 <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="="
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900169 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900170 latin:keyWidth="9.25%p" />
171 <Key
172 latin:keyLabel="7"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900173 latin:keyStyle="numKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900174 latin:keyXPos="38.75%p" />
175 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900176 latin:keyLabel="8"
177 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900178 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900179 latin:keyLabel="9"
180 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -0700181 <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
182 <Spacer
183 latin:keyWidth="0%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900184 </Row>
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900185 <Row>
186 <Key
Tadashi G. Takaoka431ce932011-11-18 13:47:48 -0800187 latin:keyStyle="numTabKeyStyle"
Tadashi G. Takaoka426723a2011-07-18 17:14:50 -0700188 latin:keyWidth="11.00%p" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900189 <Key
190 latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
191 latin:keyWidth="27.75%p" />
192 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900193 latin:keyStyle="numStarKeyStyle"
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900194 latin:keyXPos="38.75%p" />
195 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900196 latin:keyLabel="0"
197 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900198 <Key
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900199 latin:keyLabel="#"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900200 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +0900201 <Spacer
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900202 latin:keyXPos="-11.00%p"
Tadashi G. Takaokacd96a692011-06-23 21:55:56 +0900203 latin:keyWidth="0%p" />
204 <include
205 latin:keyboardLayout="@xml/kbd_qwerty_f2" />
Tadashi G. Takaoka0d22fc42011-05-30 20:12:04 +0900206 </Row>
207 </default>
208 </switch>
209</Keyboard>