blob: 4d7b6d9a9ffd1619cb31119716d7c919c31af2b3 [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"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090086 latin:keyStyle="numKeyStyle"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090087 latin:keyEdgeFlags="left" />
88 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090089 latin:keyLabel="2"
90 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090091 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090092 latin:keyLabel="3"
93 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090094 <Key
95 latin:keyLabel="-"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090096 latin:keyStyle="numFunctionalKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090097 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090098 latin:keyEdgeFlags="right" />
99 </Row>
100 <Row>
101 <Key
102 latin:keyLabel="4"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900103 latin:keyStyle="numKeyStyle"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900104 latin:keyEdgeFlags="left" />
105 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900106 latin:keyLabel="5"
107 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900108 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900109 latin:keyLabel="6"
110 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900111 <Key
112 latin:keyLabel=","
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900113 latin:keyStyle="numFunctionalKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900114 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900115 latin:keyEdgeFlags="right" />
116 </Row>
117 <Row>
118 <Key
119 latin:keyLabel="7"
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900120 latin:keyStyle="numKeyStyle"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900121 latin:keyEdgeFlags="left" />
122 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900123 latin:keyLabel="8"
124 latin:keyStyle="numKeyStyle"/>
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900125 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900126 latin:keyLabel="9"
127 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900128 <Key
129 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900130 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900131 latin:keyEdgeFlags="right" />
132 </Row>
133 <Row
134 latin:rowEdgeFlags="bottom"
135 >
136 <Key
137 latin:keyStyle="numSpaceKeyStyle"
138 latin:keyEdgeFlags="left" />
139 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900140 latin:keyLabel="0"
141 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900142 <Key
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900143 latin:keyLabel="."
144 latin:keyStyle="numKeyStyle" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900145 <Key
146 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900147 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900148 latin:keyEdgeFlags="right" />
149 </Row>
150 </default>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800151 </switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800152</Keyboard>