blob: 3593c7788d0b6d1cd5ca627faa4882019fd5b276 [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"
23 latin:keyboardHeight="@dimen/keyboardHeight"
24 latin:maxKeyboardHeight="50%p"
25 latin:rowHeight="25%p"
26 latin:horizontalGap="@dimen/key_horizontal_gap"
27 latin:verticalGap="@dimen/key_bottom_gap"
28 latin:popupKeyboardTemplate="@xml/kbd_popup_template"
29 latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
30>
31 <include
32 latin:keyboardLayout="@xml/kbd_key_styles" />
33 <include
34 latin:keyboardLayout="@xml/kbd_currency_key_styles" />
35 <!-- This row is intentionally not marked as a top row -->
36 <Row
37 latin:keyWidth="9.0%p"
38 >
39 <Key
40 latin:keyLabel="1"
41 latin:popupCharacters="¹,½,⅓,¼,⅛" />
42 <Key
43 latin:keyLabel="2"
44 latin:popupCharacters="²,⅔" />
45 <Key
46 latin:keyLabel="3"
47 latin:popupCharacters="³,¾,⅜" />
48 <Key
49 latin:keyLabel="4"
50 latin:popupCharacters="⁴" />
51 <Key
52 latin:keyLabel="5"
53 latin:popupCharacters="⅝" />
54 <Key
55 latin:keyLabel="6" />
56 <Key
57 latin:keyLabel="7"
58 latin:popupCharacters="⅞" />
59 <Key
60 latin:keyLabel="8" />
61 <Key
62 latin:keyLabel="9" />
63 <Key
64 latin:keyLabel="0"
65 latin:popupCharacters="ⁿ,∅" />
66 <Key
67 latin:keyStyle="deleteKeyStyle"
68 latin:keyXPos="-10.0%p"
69 latin:keyWidth="fillBoth"
70 latin:keyEdgeFlags="right" />
71 </Row>
72 <Row
73 latin:keyWidth="9.0%p"
74 >
75 <Key
76 latin:keyLabel="#"
77 latin:keyXPos="4.5%p" />
78 <Key
79 latin:keyStyle="currencyKeyStyle" />
80 <Key
81 latin:keyLabel="%"
82 latin:popupCharacters="‰" />
83 <Key
84 latin:keyLabel="&amp;" />
85 <Key
86 latin:keyLabel="*"
87 latin:popupCharacters="†,‡,★" />
88 <Key
89 latin:keyLabel="-"
90 latin:popupCharacters="_,–,—" />
91 <Key
92 latin:keyLabel="+"
93 latin:popupCharacters="±" />
94 <Key
95 latin:keyLabel="("
96 latin:popupCharacters="[,{,&lt;" />
97 <Key
98 latin:keyLabel=")"
99 latin:popupCharacters="],},&gt;" />
100 <Key
101 latin:keyStyle="returnKeyStyle"
102 latin:keyXPos="-14.6%p"
103 latin:keyWidth="fillBoth"
104 latin:keyEdgeFlags="right" />
105 </Row>
106 <Row
107 latin:keyWidth="8.9%p"
108 >
109 <Key
110 latin:keyStyle="moreKeyStyle"
111 latin:keyWidth="10.0%p"
112 latin:keyEdgeFlags="left" />
113 <Key
114 latin:keyLabel="&lt;"
115 latin:popupCharacters="≤,«,‹" />
116 <Key
117 latin:keyLabel="&gt;"
118 latin:popupCharacters="≥,»,›" />
119 <Key
120 latin:keyLabel="="
121 latin:popupCharacters="≠,≈" />
122 <switch>
123 <case
124 latin:languageCode="ru"
125 >
126 <Key
127 latin:keyLabel=":" />
128 </case>
129 <case
130 latin:mode="url"
131 >
132 <Key
133 latin:keyLabel="\'"
134 latin:popupCharacters="‘,’,‚,‛" />
135 </case>
136 <default>
137 <Key
138 latin:keyLabel=":" />
139 </default>
140 </switch>
141 <Key
142 latin:keyLabel=";" />
143 <switch>
144 <case
145 latin:languageCode="ru"
146 >
147 <Key
148 latin:keyLabel="\'"
149 latin:popupCharacters="‘,’,‚,‛" />
150 <!-- Note: DroidSans doesn't have double-high-reversed-quotation
151 '\u201f' glyph. -->
152 <!-- latin:popupCharacters="“,”,„,‟,«,»" -->
153 <Key
154 latin:keyLabel="&quot;"
155 latin:popupCharacters="“,”,«,»" />
156 <Key
157 latin:keyLabel="." />
158 <Key
159 latin:keyLabel="," />
160 </case>
161 <default>
162 <Key
163 latin:keyLabel="," />
164 <Key
165 latin:keyLabel="." />
166 <Key
167 latin:keyLabel="!"
168 latin:popupCharacters="¡" />
169 <Key
170 latin:keyLabel="\?"
171 latin:popupCharacters="¿" />
172 </default>
173 </switch>
174 <Key
175 latin:keyLabel="/"
176 latin:keyWidth="fillRight" />
177 </Row>
178 <!-- This row is intentionally not marked as a bottom row -->
179 <Row
180 latin:keyWidth="8.9%p"
181 >
182 <Key
183 latin:keyStyle="toAlphaKeyStyle"
184 latin:keyLabelOption="alignLeft"
185 latin:keyWidth="13.0%p"
186 latin:keyEdgeFlags="left" />
187 <Key
188 latin:keyStyle="tabKeyStyle" />
189 <Key
190 latin:keyLabel="\@" />
191 <Key
192 latin:keyStyle="spaceKeyStyle"
193 latin:keyXPos="30.750%p"
194 latin:keyWidth="39.750%p" />
195 <switch>
196 <case
197 latin:languageCode="ru"
198 >
199 <Key
200 latin:keyLabel="_"
201 latin:keyWidth="9.750%p" />
202 <Key
203 latin:keyLabel="-"
204 latin:keyWidth="9.750%p" />
205 </case>
206 <default>
207 <!-- Note: DroidSans doesn't have double-high-reversed-quotation
208 '\u201f' glyph. -->
209 <!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" -->
210 <Key
211 latin:keyLabel="&quot;"
212 latin:popupCharacters="“,”,«,»,‘,’,‚,‛"
213 latin:keyWidth="9.750%p" />
214 <Key
215 latin:keyLabel="_"
216 latin:keyWidth="9.750%p" />
217 </default>
218 </switch>
219 <Key
220 latin:keyStyle="micOrSettingsKeyStyle"
221 latin:keyXPos="-10.0%p"
222 latin:keyWidth="fillBoth"
223 latin:keyEdgeFlags="right" />
224 </Row>
225</Keyboard>