blob: 23b88a5bdc3549dc411d2ba22937fbe36b28789d [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"
Tadashi G. Takaoka9f01ed52010-12-08 14:36:41 +090023 latin:keyboardHeight="@dimen/keyboardHeight"
Tadashi G. Takaokaff483e82011-05-12 14:49:18 +090024 latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
25 latin:minKeyboardHeight="@fraction/minKeyboardHeight"
Tadashi G. Takaoka9f01ed52010-12-08 14:36:41 +090026 latin:rowHeight="25%p"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080027 latin:keyWidth="26.67%p"
28 latin:horizontalGap="@dimen/key_horizontal_gap"
29 latin:verticalGap="@dimen/key_bottom_gap"
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090030 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
31 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080032>
33 <include
34 latin:keyboardLayout="@xml/kbd_key_styles" />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090035 <include
36 latin:keyboardLayout="@xml/kbd_numkey_styles" />
Tadashi G. Takaoka9b6d1d52010-12-14 15:31:47 +090037 <switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080038 <case
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090039 latin:passwordInput="true"
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080040 >
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090041 <Row
42 latin:rowEdgeFlags="top"
43 >
44 <Key
45 latin:keyStyle="num1KeyStyle"
46 latin:keyEdgeFlags="left" />
47 <Key
48 latin:keyStyle="num2KeyStyle" />
49 <Key
50 latin:keyStyle="num3KeyStyle" />
51 </Row>
52 <Row>
53 <Key
54 latin:keyStyle="num4KeyStyle"
55 latin:keyEdgeFlags="left" />
56 <Key
57 latin:keyStyle="num5KeyStyle" />
58 <Key
59 latin:keyStyle="num6KeyStyle" />
60 </Row>
61 <Row>
62 <Key
63 latin:keyStyle="num7KeyStyle"
64 latin:keyEdgeFlags="left" />
65 <Key
66 latin:keyStyle="num8KeyStyle" />
67 <Key
68 latin:keyStyle="num9KeyStyle" />
69 <Key
70 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090071 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090072 latin:keyEdgeFlags="right" />
73 </Row>
74 <Row
75 latin:rowEdgeFlags="bottom"
76 >
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090077 <Spacer />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090078 <Key
79 latin:keyStyle="num0KeyStyle" />
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090080 <Spacer />
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090081 <Key
82 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +090083 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090084 latin:keyEdgeFlags="right" />
85 </Row>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -080086 </case>
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +090087 <!-- latin:passwordInput="false" -->
88 <default>
89 <Row
90 latin:rowEdgeFlags="top"
91 >
92 <Key
93 latin:keyLabel="1"
94 latin:keyEdgeFlags="left" />
95 <Key
96 latin:keyLabel="2" />
97 <Key
98 latin:keyLabel="3" />
99 <Key
100 latin:keyLabel="-"
101 latin:keyStyle="functionalKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900102 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900103 latin:keyEdgeFlags="right" />
104 </Row>
105 <Row>
106 <Key
107 latin:keyLabel="4"
108 latin:keyEdgeFlags="left" />
109 <Key
110 latin:keyLabel="5" />
111 <Key
112 latin:keyLabel="6" />
113 <Key
114 latin:keyLabel=","
115 latin:keyStyle="functionalKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900116 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900117 latin:keyEdgeFlags="right" />
118 </Row>
119 <Row>
120 <Key
121 latin:keyLabel="7"
122 latin:keyEdgeFlags="left" />
123 <Key
124 latin:keyLabel="8" />
125 <Key
126 latin:keyLabel="9" />
127 <Key
128 latin:keyStyle="deleteKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900129 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900130 latin:keyEdgeFlags="right" />
131 </Row>
132 <Row
133 latin:rowEdgeFlags="bottom"
134 >
135 <Key
136 latin:keyStyle="numSpaceKeyStyle"
137 latin:keyEdgeFlags="left" />
138 <Key
139 latin:keyLabel="0" />
140 <Key
141 latin:keyLabel="." />
142 <Key
143 latin:keyStyle="returnKeyStyle"
Tadashi G. Takaoka327763e2011-05-30 20:05:50 +0900144 latin:keyWidth="fillRight"
Tadashi G. Takaokafa847fe2011-05-27 22:13:06 +0900145 latin:keyEdgeFlags="right" />
146 </Row>
147 </default>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800148 </switch>
Tadashi G. Takaoka2c60d6e2010-11-23 17:55:22 -0800149</Keyboard>