blob: 429b818460ac5e885a26ee33bcc29e390eba5461 [file] [log] [blame]
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2008, 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"
23 latin:keyWidth="26.67%p"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080024>
25 <include
26 latin:keyboardLayout="@xml/kbd_key_styles" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090027 <include
28 latin:keyboardLayout="@xml/kbd_numkey_styles" />
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090029 <switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080030 <case
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090031 latin:passwordInput="true"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080032 >
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090033 <Row
34 latin:rowEdgeFlags="top"
35 >
36 <Key
37 latin:keyStyle="num1KeyStyle"
38 latin:keyEdgeFlags="left" />
39 <Key
40 latin:keyStyle="num2KeyStyle" />
41 <Key
42 latin:keyStyle="num3KeyStyle" />
43 </Row>
44 <Row>
45 <Key
46 latin:keyStyle="num4KeyStyle"
47 latin:keyEdgeFlags="left" />
48 <Key
49 latin:keyStyle="num5KeyStyle" />
50 <Key
51 latin:keyStyle="num6KeyStyle" />
52 </Row>
53 <Row>
54 <Key
55 latin:keyStyle="num7KeyStyle"
56 latin:keyEdgeFlags="left" />
57 <Key
58 latin:keyStyle="num8KeyStyle" />
59 <Key
60 latin:keyStyle="num9KeyStyle" />
61 <Key
62 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090063 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090064 latin:keyEdgeFlags="right" />
65 </Row>
66 <Row
67 latin:rowEdgeFlags="bottom"
68 >
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090069 <Spacer />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090070 <Key
71 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090072 <Spacer />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090073 <Key
74 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090075 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090076 latin:keyEdgeFlags="right" />
77 </Row>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080078 </case>
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090079 <!-- latin:passwordInput="false" -->
80 <default>
81 <Row
82 latin:rowEdgeFlags="top"
83 >
84 <Key
85 latin:keyLabel="1"
86 latin:keyEdgeFlags="left" />
87 <Key
88 latin:keyLabel="2" />
89 <Key
90 latin:keyLabel="3" />
91 <Key
92 latin:keyLabel="-"
93 latin:keyStyle="functionalKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090094 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090095 latin:keyEdgeFlags="right" />
96 </Row>
97 <Row>
98 <Key
99 latin:keyLabel="4"
100 latin:keyEdgeFlags="left" />
101 <Key
102 latin:keyLabel="5" />
103 <Key
104 latin:keyLabel="6" />
105 <Key
106 latin:keyLabel=","
107 latin:keyStyle="functionalKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900108 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900109 latin:keyEdgeFlags="right" />
110 </Row>
111 <Row>
112 <Key
113 latin:keyLabel="7"
114 latin:keyEdgeFlags="left" />
115 <Key
116 latin:keyLabel="8" />
117 <Key
118 latin:keyLabel="9" />
119 <Key
120 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900121 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900122 latin:keyEdgeFlags="right" />
123 </Row>
124 <Row
125 latin:rowEdgeFlags="bottom"
126 >
127 <Key
128 latin:keyStyle="numSpaceKeyStyle"
129 latin:keyEdgeFlags="left" />
130 <Key
131 latin:keyLabel="0" />
132 <Key
133 latin:keyLabel="." />
134 <Key
135 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900136 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900137 latin:keyEdgeFlags="right" />
138 </Row>
139 </default>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800140 </switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800141</Keyboard>